-
Notifications
You must be signed in to change notification settings - Fork 165
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add CB naive chat #644
Merged
Wovchena
merged 37 commits into
openvinotoolkit:releases/2024/3
from
Wovchena:cb-naive-chat
Jul 24, 2024
Merged
Add CB naive chat #644
Changes from 36 commits
Commits
Show all changes
37 commits
Select commit
Hold shift + click to select a range
d2ccfe0
Add ContinuousBatchingPipeline constructor similar to LLMPipeline
Wovchena ab0f43c
Use CB as backend
Wovchena 05cf5d3
Update bindings
Wovchena 96fcf77
comma
Wovchena e5c2631
Merge branch 'add-ContinuousBatchingPipeline-constructor-similar-to-L…
Wovchena 967da3a
Merge branch 'master' into add-ContinuousBatchingPipeline-constructor…
Wovchena c13d623
Merge branch 'add-ContinuousBatchingPipeline-constructor-similar-to-L…
Wovchena e278a14
pass
Wovchena 47fa22c
conflict
Wovchena 2094ba6
conflict
Wovchena 78361a9
clean
Wovchena 691fefc
verify status
Wovchena 1825328
conflict
Wovchena 6a3275e
args
Wovchena a5f2cd6
test
Wovchena 771fc29
tests
Wovchena 5c615bf
tests
Wovchena 3afc16d
test
Wovchena 67f4717
remove caching
Wovchena d26723f
Clear beam search info.
popovaan c28a023
Merge remote-tracking branch 'popovaan/clear_beam_info' into use-CB-a…
Wovchena d223d68
-am cache
Wovchena 238ea8b
updte
Wovchena 5a4c878
Revert "Merge remote-tracking branch 'popovaan/clear_beam_info' into …
Wovchena cf35f19
revert spelling
Wovchena 12061af
relax abs_tol
Wovchena cad13dc
Merge branch 'releases/2024/3' into use-CB-as-backend
Wovchena 0ffdd6f
Merge branch 'releases/2024/3' into use-CB-as-backend
Wovchena 6d7a468
lru_cache
Wovchena 036111c
Merge branch 'releases/2024/3' into cb-streaming
Wovchena c6d345a
Add CB streaming
Wovchena bc56ca6
use StreamerVariant
Wovchena c70b909
Add CB naive chat
Wovchena 5468439
correct tests
Wovchena 4f77aa9
correct test_continuous_batching_vs_stateful
Wovchena b45d038
Merge branch 'releases/2024/3' into cb-naive-chat
Wovchena 6884d04
Merge branch 'releases/2024/3' into cb-naive-chat
Wovchena File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do we continue to execute this function when streamer is used? Output has already been read and pushed to streamer in above while loop.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That's just API. We document that end() is called in the end. One possible use case to let the streamer to flush the output.