-
Notifications
You must be signed in to change notification settings - Fork 503
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
The
get_ppl
missed the last token of each iteration during multi-it…
…er prefill (#2499) * fix get_ppl * update * update * remove get_ppl from engine.py * fix according to reviewer comments * fix * update * keep logits.device unchanged * require input_ids have the same length * rollback user guide * update * split batch dim * apply torch.cuda.empty_cache()
- Loading branch information
Showing
4 changed files
with
174 additions
and
182 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.