Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit fdc416d

Browse files
committed
Update
1 parent 3bb28dc commit fdc416d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchchat/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1207,7 +1207,7 @@ def callback(x, *, done_generating=False):
12071207
or torch.isnan(torch.tensor(avg_next_tokens_sec))
12081208
):
12091209
print(
1210-
f"\nWarning: The averages were calculated with the compile sample excluded. \
1210+
f"\nWarning: Excluding compile in calculations \
12111211
\n Average tokens/sec (total): {avg_tokens_sec:.2f} \
12121212
\nAverage tokens/sec (first token): {avg_first_token_sec:.2f} \
12131213
\nAverage tokens/sec (next tokens): {avg_next_tokens_sec:.2f} \n\

0 commit comments

Comments
 (0)