Skip to content

Commit fe84d5b

Browse files
Artyom17Chillee
authored andcommitted
Minor fix for generate.py (#117)
1 parent 1f945ab commit fe84d5b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def main(
310310
decode_one_token = torch.compile(decode_one_token, mode="reduce-overhead", fullgraph=True)
311311

312312
# Uncomment to squeeze more perf out of prefill
313-
if args.compile_prefill:
313+
if compile_prefill:
314314
prefill = torch.compile(prefill, fullgraph=True, dynamic=True)
315315

316316

0 commit comments

Comments
 (0)