-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address several NeuronModelForCausalLM and TGI fixes issues (#454)
* feat(decoder): use only the required number of cores This will allow to load multiple models on the same host. * fix(tgi): give explicit calculation for max-prefill-tokens * feat(decoder): support custom stopping criteria * fix(decoder): allow updating checkpoint dir when saving * fix(tgi): improve err if the model is sharded * fix(tgi): do not return inputs in generation * Apply suggestions from code review Co-authored-by: Jingya HUANG <44135271+JingyaHuang@users.noreply.github.com> * fix(decoder): only use available cores * feat(decoder): ignore inconsistent num_cores variables --------- Co-authored-by: Jingya HUANG <44135271+JingyaHuang@users.noreply.github.com>
- Loading branch information
1 parent
c345de4
commit eb2a93f
Showing
7 changed files
with
103 additions
and
17 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
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
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