Skip to content

Update TensorRT-LLM - #2755

Merged
DanBlanaru merged 1 commit into
mainfrom
dblanaru/main_preview
Feb 6, 2025
Merged

Update TensorRT-LLM#2755
DanBlanaru merged 1 commit into
mainfrom
dblanaru/main_preview

Conversation

@DanBlanaru

Copy link
Copy Markdown
Collaborator
  • Model Support
    • Added InternLM-XComposer2 support. Refer to “InternLM-XComposer2” section in examples/multimodal/README.md.
  • Features
    • Blackwell support
      • NOTE: pip installation is not supported for TRT-LLM 0.17 on Blackwell platforms only. Instead, it is recommended that the user build from source using NVIDIA NGC 25.01 PyTorch container.
      • Added support for B200.
      • Added support for GeForce RTX 50 series using Windows Subsystem for Linux (WSL) for limited models.
      • Added NVFP4 Gemm support for Llama and Mixtral models.
      • Added NVFP4 support for the LLM API and trtllm-bench command.
      • GB200 NVL is not fully supported.
      • Added benchmark script to measure perf benefits of KV cache host offload with expected runtime improvements from GH200.
    • PyTorch workflow
      • The PyTorch workflow is an experimental feature in tensorrt_llm._torch. The following is a list of supported infrastructure, models, and features that can be used with the PyTorch workflow.
      • Added support for H100/H200/B200.
      • Added support for Llama models, Mixtral, QWen, Vila.
      • Added support for FP16/BF16/FP8/NVFP4 Gemm and fused Mixture-Of-Experts (MOE), FP16/BF16/FP8 KVCache.
      • Added custom context and decoding attention kernels support via PyTorch custom op.
      • Added support for chunked context (default off).
      • Added CudaGraph support for decoding only.
      • Added overlap scheduler support to overlap prepare inputs and model forward by decoding 1 extra token.
    • Added FP8 context FMHA support for the W4A8 quantization workflow.
    • Added ModelOpt quantized checkpoint support for the LLM API.
    • Added support for min_p. Refer to https://arxiv.org/pdf/2407.01082.
    • Thanks for the contribution from @pathorn in Use first bad_words as extra parameters, and implement min-p #1536.
    • This also addresses Feature Request: Add Min-P sampling layer #1154 and Any chance to adopt min_p sampling? #1683.
    • Added FP8 support for encoder-decoder models. Refer to the “FP8 Post-Training Quantization” section in examples/enc_dec/README.md.
    • Added up and gate projection fusion support for LoRA modules.
    • Support for DoRA. See examples/dora/README.md.
    • Fall back to normal generation, if numDraftTokens == 0 in Target-Draft model speculative decoding.
  • API
    • [BREAKING CHANGE] paged_context_fmha and fp8_context_fmha are enabled by default.
    • [BREAKING CHANGE] KV cache reuse is enabled automatically when paged_context_fmha is enabled.
    • [BREAKING CHANGE] tokens_per_block is set to 32 by default.
    • Added --concurrency support for the throughput subcommand of trtllm-bench.
    • Responses with errors now show the error text.
    • Extended the details reported in the Speculative Decoding metrics. See SpeculativeDecodingMetrics.
  • Bug fixes
  • Infrastructure changes
    • The base Docker image for TensorRT-LLM is updated to nvcr.io/nvidia/pytorch:25.01-py3.
    • The base Docker image for TensorRT-LLM Backend is updated to nvcr.io/nvidia/tritonserver:25.01-py3.
    • The dependent TensorRT version is updated to 10.8.0.
    • The dependent CUDA version is updated to 12.8.0.
    • The dependent ModelOpt version is updated to 0.23 for Linux platform, while 0.17 is still used on Windows platform.
    • Consolidated the tensorrt_llm version from various examples’ requirements.txt into a single constraints.txt file.
  • Known Issues
    • Need --extra-index-url https://pypi.nvidia.com when running pip install tensorrt-llm due to new third-party dependencies.
    • The PYPI SBSA wheel is incompatible with PyTorch 2.5.1 due to a break in the PyTorch ABI/API, as detailed in the related GitHub issue.

@DanBlanaru
DanBlanaru requested a review from kaiyux February 6, 2025 12:40
@DanBlanaru DanBlanaru self-assigned this Feb 6, 2025
@DanBlanaru
DanBlanaru merged commit 5573a38 into main Feb 6, 2025
@DanBlanaru
DanBlanaru deleted the dblanaru/main_preview branch February 6, 2025 13:01
kaiyux pushed a commit that referenced this pull request Feb 11, 2025
* Update TensorRT-LLM

---------

Co-authored-by: Denis Kayshev <topenkoff@gmail.com>
Co-authored-by: akhoroshev <arthoroshev@gmail.com>
Co-authored-by: Patrick Reiter Horn <patrick.horn@gmail.com>

Update
wu1du2 pushed a commit to wu1du2/TensorRT-LLM that referenced this pull request May 11, 2025
* Update TensorRT-LLM

---------

Co-authored-by: Denis Kayshev <topenkoff@gmail.com>
Co-authored-by: akhoroshev <arthoroshev@gmail.com>
Co-authored-by: Patrick Reiter Horn <patrick.horn@gmail.com>

Update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants