Repository navigation
TensorRT-LLM v0.10 update - #1734
Merged
Merged
Conversation
Shixiaowei02
approved these changes
Jun 5, 2024
2 of 4 tasks
1 task done
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.
TensorRT-LLM Release 0.10.0
Announcements
Key Features and Enhancements
executorAPI.trtllm-refitcommand. For more information, refer toexamples/sample_weight_stripping/README.md.docs/source/advanced/weight-streaming.md.--multiple_profilesargument intrtllm-buildcommand builds more optimization profiles now for better performance.applyBiasRopeUpdateKVCachekernel by avoiding re-computation.enqueuecalls of TensorRT engines.--visualize_networkand--dry_run) to thetrtllm-buildcommand to visualize the TensorRT network before engine build.ModelRunnerCppso that it runs with theexecutorAPI for IFB-compatible models.AllReduceby adding a heuristic; fall back to use native NCCL kernel when hardware requirements are not satisfied to get the best performance.gptManagerBenchmark.Time To the First Token (TTFT)latency andInter-Token Latency (ITL)metrics forgptManagerBenchmark.--max_attention_windowoption togptManagerBenchmark.API Changes
tokens_per_blockargument of thetrtllm-buildcommand to 64 for better performance.GptModelConfigtoModelConfig.SchedulerPolicywith the same name inbatch_schedulerandexecutor, and renamed it toCapacitySchedulerPolicy.SchedulerPolicytoSchedulerConfigto enhance extensibility. The latter also introduces a chunk-based configuration calledContextChunkingPolicy.generate()andgenerate_async()APIs. For example, when given a prompt asA 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 toTrue.GptSessionandTrtGptModelV1.Model Updates
Fixed Issues
gather_all_token_logits. (Segmentation fault with pipeline parallelism andgather_all_token_logits#1284)gpt_attention_pluginfor enc-dec models. (Flan t5 xxl result large difference #1343)Infrastructure changes
nvcr.io/nvidia/pytorch:24.03-py3.nvcr.io/nvidia/tritonserver:24.03-py3.