-
Notifications
You must be signed in to change notification settings - Fork 179
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Feat] Add streaming to chatbot (#1272)
* Add changes needed on parent class side * Add stream mode to chatbot Clean functions * Update sampling temperature to temperature * Update src/deepsparse/transformers/infer.py * Rebase and fix streaming * Fix broken data pathway * Add stream to data mode update arg name to prompt * Update prompt prefill tok/s --------- Co-authored-by: Michael Goin <michael@neuralmagic.com>
- Loading branch information
1 parent
3dfc256
commit e7ec235
Showing
2 changed files
with
65 additions
and
36 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