Skip to content

Commit

Permalink
Minor fix for generate.py (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
Artyom17 authored and Chillee committed Mar 11, 2024
1 parent 1f945ab commit fe84d5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ def main(
decode_one_token = torch.compile(decode_one_token, mode="reduce-overhead", fullgraph=True)

# Uncomment to squeeze more perf out of prefill
if args.compile_prefill:
if compile_prefill:
prefill = torch.compile(prefill, fullgraph=True, dynamic=True)


Expand Down

0 comments on commit fe84d5b

Please sign in to comment.