-
Notifications
You must be signed in to change notification settings - Fork 248
Remove tokens per sec in aggregate_metrics when jit_compile #1378
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/torchchat/1378
Note: Links to docs will display an error until the docs builds have been completed. ❗ 1 Active SEVsThere are 1 currently active SEVs. If your PR is affected, please view them below: ✅ No FailuresAs of commit fdc416d with merge base 5da240a ( This comment was automatically generated by Dr. CI and updates every 15 minutes. |
|
Hi @Jack-Khuu, could you please take a look? Thanks! |
|
Can you add a print near around line ~1210 that tells the user that the averages were calculated with the compile sample excluded? |
Updated. Please take a look again. @Jack-Khuu |
|
Thanks for the comment Just one last nit: Let's only print the "excluding compile in calculations" message if the user is actually compiling, to not confuse users Once that's ready give me a ping and I'll merge this in |
|
@Jack-Khuu Thanks for the merging! |
* Remove tokens per sec in aggregate_metrics when jit_compile * Add warning to user * Update --------- Co-authored-by: Jack-Khuu <[email protected]>
This PR is to remove tokens per sec in aggregate_metrics when jit_compile, to make the average of tokens per sec more precise. The tokens per sec is too low when jit_compile, which should not be included in aggregate_metrics.