File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,11 @@ def add_arguments_for_verb(parser, verb: str) -> None:
86
86
action = "store_true" ,
87
87
help = "Whether to compile the model with torch.compile" ,
88
88
)
89
+ parser .add_argument (
90
+ "--compile-prefill" ,
91
+ action = "store_true" ,
92
+ help = "Whether to compile the prefill. Improves prefill perf, but has higher compile times." ,
93
+ )
89
94
parser .add_argument (
90
95
"--profile" ,
91
96
type = Path ,
@@ -302,11 +307,6 @@ def _add_generation_args(parser) -> None:
302
307
generator_parser .add_argument (
303
308
"--temperature" , type = float , default = 0.8 , help = "Temperature for sampling"
304
309
)
305
- generator_parser .add_argument (
306
- "--compile-prefill" ,
307
- action = "store_true" ,
308
- help = "Whether to compile the prefill. Improves prefill perf, but has higher compile times." ,
309
- )
310
310
generator_parser .add_argument (
311
311
"--sequential-prefill" ,
312
312
action = "store_true" ,
You can’t perform that action at this time.
0 commit comments