-
Notifications
You must be signed in to change notification settings - Fork 445
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
Remove threadsafe #2907
base: main
Are you sure you want to change the base?
Remove threadsafe #2907
Conversation
We have users who use pytorch engine in multi-thread env. |
Add WARNING that |
"Better host performance", so what's the performance now? |
llama3-8b, tp=1, 3000 prompt, 256 concurrency
llama3-8b, tp=1, 10000 prompt, 512 concurrency
|
"Note that EOS would be output in this PR." |
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.
LGTM
We need to discuss how EOS/stop_token_ids should be skipped in the async engine. For some models, EOS is part of their chat template we may exclude the token in the reponse but However, for models like vicuna, EOS must be excluded from both response and kv cache (rewind |
Note that EOS would be output in this PR.