Repository navigation
Update TensorRT-LLM - #1598
Merged
Merged
Update TensorRT-LLM#1598
Conversation
Shixiaowei02
approved these changes
May 14, 2024
wu1du2
pushed a commit
to wu1du2/TensorRT-LLM
that referenced
this pull request
May 11, 2025
* Update TensorRT-LLM
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
trtllm-refitis addedexamples/sample_weight_stripping/README.mddocs/source/advanced/weight-streaming.mdexecutorAPIModelRunnerCppso that it runs with theexecutorAPI for IFB-compatible modelsSchedulerPolicywith the same name inbatch_schedulerandexecutor, and rename it toCapacitySchedulerPolicy.SchedulerPolicytoSchedulerConfigto enhance extensibility. The latter also introduces a chunk-based configuration calledContextChunkingPolicy.use_context_fmha_for_generationargument fromtrtllm-buildcommand since it’s not used anymoregenerate()andgenerate_async()APIs.A B, the original generation result could be<s>A B C D Ewhere onlyC D Eis the actual output, and now the result isC D E.add_special_tokenin the TensorRT-LLM backend toTruemake add_special_tokens/skip_special_tokens default value is true which align with hf setting triton-inference-server/tensorrtllm_backend#446, thanks to the contribution from @XiaobingSuper , the changes are integrated in Update TensorRT-LLM backend triton-inference-server/tensorrtllm_backend#454.GptSessionandTrtGptModelV1are marked as deprecatedtokens_per_blockargument oftrtllm-buildcommand to 64 for better performancemultiple_profilesargument intrtllm-buildcommand builds more optimization profiles now for better performancedocs/source/kv_cache_reuse.md