-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Tgi correct clear implementation (#609)
* fix(tgi): allow wrapper script to catch SIGTERM * fix(tgi): bogus max_new_tokens with static batching * fix(tgi): allow clearing requests from a single batch When all requests from a prefill batch are cancelled, the router will not send a filter request, but rather a clear cache request with the batch_id. We previously ignored that value and cleared everything.
- Loading branch information
Showing
4 changed files
with
36 additions
and
21 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ ${SCRIPT_DIR}/tgi_env.py $@ | |
|
||
source $ENV_FILEPATH | ||
|
||
text-generation-launcher $@ | ||
exec text-generation-launcher $@ |