github NVIDIA/TensorRT-LLM v1.4.0rc5

pre-release57 minutes ago

Highlights

  • Known Issues

    • Serving with the default KV cache manager V2 may crash and stop serving all requests when a request outgrows the KV cache capacity with chunked prefill enabled.
    • Large-vocabulary models such as GPT-OSS-120B may run out of memory at startup when served on a single 80 GB GPU with default settings. All deployments also keep less memory for the KV cache.
    • Qwen3.5 MoE models may intermittently hang or produce corrupted output on B200, GB200, B300 and GB300 when served with an FP8 KV cache and 64-token KV cache blocks.
    • Multimodal models such as Qwen3.5-35B-A3B VL may run out of memory at startup when served on a single 80 GB GPU.
    • MTP speculative decoding on 80 GB GPUs may fail the first request when attention DP, pipeline or context parallelism, or a padded vocabulary is used.
    • The MOONCAKE KV cache transfer backend is unsupported in the NGC release container, which does not include Mooncake's transfer engine.
    • Disaggregated serving with etcd service discovery may permanently stop routing to a live worker when its heartbeat is delayed beyond the inactivity timeout.
    • GLM-5.3-Flash NVFP4 may take over 20 minutes to load weights on GB200 when run with TP4 and no expert parallelism.
    • GLM-5.2 NVFP4 with TP8 and MTP on B300 and GB300 may fail to initialize when modeling_v2 is set to 'require'. The default 'auto' setting falls back to the native path.
  • Model Support

    • Add Kimi K3.1 Pro Modeling V2 targets with MXFP4 and NVFP4 for GB300 and Vera Rubin #22660
    • Add Kimi K3 NVFP4 on Rubin (SM107) with four Modeling V2 targets and runtime hooks #21996, #22175, #22247
    • Add the Inkling 2 Modeling V2 family and the Inkling-2-Small target #22627
    • Add GLM-5.3-Flash Modeling V2 targets: NVFP4 and block-FP8 TP4 on SM10x, FP8 on SM103 #21019, #22082, #22621
    • Route GLM-5.3-NVFP4 to the SM103 TP8 low-latency Modeling V2 target #22651
    • Serve Qwen3.8-Flash-Next through Modeling V2 with FP8 on GB300 and NVFP4 on SM107 #21621, #22552
    • Bring the MiniMax-M3.1-Flash Rubin (SM107) optimizations into Modeling V2 #22261
    • Enable the qualified DeepSeek-V4.1 decode paths on SM107 #22694
    • Add static EPLB for the DeepSeek-R1 Modeling V2 target #22282
    • Add Gemma4-E4B MTP using XQA on SM120 #22515
    • Add Mistral-native serving with Tekken tokenizer fixes, guided decoding and mistral-common rendering #22185
    • Add opt-in Modeling V2 pipelines for the MiniMax-H3 and FastH3 video models #22633
    • Qualify DeepSeek-V3 and the Qwen3.5 MoE vision-language model for MX #22136, #22135
  • API

    • Decode images as PIL and videos as uint8 by default; remove media_io_kwargs format and device (BREAKING) #22334
    • Pass the image grid with image embeddings to fix Qwen-VL mRoPE positions in disaggregated serving (BREAKING) #22328
    • Remove the compatibility shims for relocated modules; import from the new module paths (BREAKING) #22257
    • Simplify ModelLoader.load() and move its helpers to models/checkpoints (BREAKING) #20711
    • Move modeling_v2 out of _torch/_experimental #22286
    • Add cuda_graph_config.sampling_variants to choose which sampling variants are captured #21887
    • Expose the coordinator's server list through a public disaggregated Router method #21404
  • Feature

    • Support logits_bias with speculative decoding #22581
    • Add DSpark ancestral draft sampling, block verification and drafter context on prefix hits #21478
    • Enable draft_len_schedule for DSpark speculative decoding #22022
    • Host the MiniMax-M3 DSpark drafter's KV cache in the target's manager, including disaggregated serving #21363
    • Speed up one-model speculative workers with vocab-parallel argmax and sampling and a fused draft head #22007, #22057, #22058
    • Introduce the KDA and GDN MTP replay designs #19848, #19586
    • Support RocketKV sparse attention and skip-softmax attention with KV cache manager V2 #21555, #21553
    • Add opt-in cascade attention for wide beam search on KV cache manager V2 #21738
    • Drop a conversation turn from KV cache manager V2 once a later turn extends it #21829
    • Reuse mixed-precision prefixes whose high-precision last tokens were evicted #21619
    • Add locality domains to the C++ KV cache manager V2 and two-stream attention #20229
    • Let KV cache managers declare their page layouts through a PageTableSpec #21769
    • Support MiniMax-M3 sparse KV offload #22410
    • Cut KV cache manager V2 host cost for agentic traffic and add snapshot restore and cold-tier sizing #21935
    • Enable sliding-window scratch reuse for Gemma3 and Gemma4 with TRTLLM attention #20971
    • Restore DeepSeek-V4.1 encoder checkpoints without shortening prefix reuse #22352
    • Support shared-prefix attention for n-sample requests in FMHA #20841
    • Add PrimTS MLA prefill with MTP and Helix integration and Rubin support #19395
    • Add FP4 MLA dense block reuse and a 4x decode kernel, and enable FP4 MLA on SM100/SM103 #21313, #22078
    • Enable PrimTS NVFP4-FP8RoPE with scale for GLM-5.3 #22080
    • Enable aggregated Helix with measured KV sizing and prefill warmup #21816
    • Enable XQA multi-block mode for INT8 KV cache #22216
    • Speed up PrimTS and QSA sparse attention with a faster decode scorer, warmup precompile and fewer validations #21825, #22274, #22477, #22319
    • Reduce DSA overhead by skipping unread Top-K copies and unused schedules #22645, #22643, #22644
    • Optimize GVR Top-K on Rubin and Hopper and persist compiled kernels across processes #22550, #22001, #22610
    • Speed up fused QK norm and RoPE on long prefills and reduce MLA prefill KV storage #22429, #22337
    • Speed up the trtllm-gen split-KV reduction #22258
    • Add MegaMoE uGPU weight localization, a combine dedup tactic and dummy all-reduce scheduling #21978, #22035, #22462
    • Re-sync the vendored MegaMoE kernels and use SM107 gen-phase defaults on the decode scheduler #22663
    • Add an MXFP8 fused FC1+FC2 CuTe DSL MoE for Rubin with decode optimizations #21589, #21706
    • Run Kimi K3 shared experts through the SM107 MXFP8 FC12 kernel #21959
    • Speed up MoE: wider NVFP4 permute copy, Triton FP8 MoE on Hopper, pooled NCCL-EP dispatch #22602, #21250, #22027
    • Speed up DeepSeek-V4.1 decode attention: CSA2 indexer, Top-K, Reindex selection and L2 prefetch #22361, #22362, #22366, #22465, #22370
    • Speed up DeepSeek-V4.1 mHC, MoE, GEMM, Engram and sampling kernels #22357, #22360, #22367, #22363, #22359, #22364, #22356
    • Cut DeepSeek-V4.1 per-step host work and add SM107 MXFP8 prefill and GVR decode #22355, #22358
    • Add MXFP4 Engram tables for DeepSeek-V4.1 #22414
    • Speed up Qwen3.5 on GB300 with new kernels, a KV cache remote tier and GEN admission #21997
    • Fuse Gemma4 decode norm and RoPE, FP8 quantization, PLE tail and assistant head #22497
    • Speed up Mamba2 and GDN layers with strided decode views, a fused prefill conv and fused norms #22596, #21207, #21209
    • Improve GLM-5.3-Flash FP8 performance on Hopper #21179
    • Store the Qwen4-exp PLE host table once per host and release PDL dependents early #22517, #22518
    • Add multimodal encoder data parallelism, per-encoder attention backends and encoding timing metrics #17330, #20802, #20739
    • Enable breakable prefill CUDA graphs for multimodal text and media requests #21333
    • Reduce Gemma3 image-prefill peak memory with compact masks #22463
    • Add request-level dynamic batching to VisualGen #20931
    • Capture VisualGen transformer blocks as CUDA graphs with Cache-DiT and drop FLUX per-step host syncs #22587, #22657
    • Add DeCo-Attention as a quantized-attention recipe for the VisualGen CuTe DSL backend #22614
    • Add SymmMemPool symmetric memory for VisualGen copy-engine collectives #20308
    • Add WinoVae, an optimized Wan 2.2 VAE with fused norms and Winograd convolutions #21576
    • Add trtllm-eval video generation evaluation with LPIPS #21564
    • Use 50 denoising steps by default for MiniMax-H3 #22486
    • Share JIT kernel builds within a node and tune on per-rank workers to cut startup time #22374
    • Reuse CuTe DSL compile results across processes and prune GEMM tactics with nvMatmulHeuristics #21888, #21185
    • Add opt-in faster startup: skip the warm-up-only graph pass, use more load threads, read fewer draft shards #21886, #21835, #21836
    • Speed up sampling with a vectorized FP32 logits cast and cached embedding biases #21748, #19729, #19412
    • Run the executor loop under a CPython frame-stack reserve #22396
    • Skip unneeded guided-decoding work when a prefill CUDA graph backend is enabled #22513
    • Add opt-in decoder input packing and iteration hooks #22636
    • Route dual-key watermark tokens between the two keys in ordinary decoding #22413
    • Report disaggregated stream failures early and retire timed-out KV receives while idle #22418, #22419
    • Add KV-transfer, executor, KV-pool and memory-monitor metrics and report the profiled KV budget #22083, #19098, #21113, #22795, #21688
    • Report Muse Spark Open's architecture in telemetry #22485
    • Refactor the servers onto shared middleware, staged disaggregated entry points and one serve_cli bind helper #21447, #21442, #21967
    • Move multimodal encoders onto the new ScheduledEncoderExecutor #21904, #22547
    • Move recurrent and family-specific state into the cache managers through a model-declared spec #22500, #22619, #22121
    • Route per-step device copies through a model-declared copy plan #20972
    • Centralize response preparation, output snapshots and response handling #22346, #22682
    • Simplify internals: speculative acceptance events, memory providers, checkpoint hooks, Cosmos3, VisualGen and FP4 MLA code #22760, #22892, #20713, #21368, #21408, #22434, #21705
  • Fix

    • Fix a GEN worker hang by aligning replicated cancellation and admission across TP ranks #22220
    • Recover NIXL agents and fail stalled requests #22530
    • Check stop criteria on the first token a disaggregated GEN server imports #21711
    • Decouple context cancellation from KV retirement #21291
    • Bound streamed disaggregated responses by silence instead of total time #21156
    • Select the UCX interface from the peer node route and backport the UCX timer-wheel fix #22159, #21381
    • Batch attention-DP prompt delivery and keep the prefill backlog and idle stats consistent #22727, #22031
    • Guard conversation KV retention with existing block keys #22245
    • Fix false KV deadlocks and ignored prefill demotion under the multimodal scheduler #19898
    • Key attached multimodal embeddings for KV cache reuse and count encoder replay rows in context logits #22561, #22742
    • Drain captured guided-decoding host functions before multimodal encoders run #20011
    • Make trtllm-gen FMHA wait for the PDL predecessor before reading sequence lengths #22089
    • Fix synchronization races in GLM-5.2, MiniMax-M3, MLA decode and paged MQA-logits kernels #21845, #21846, #21847, #21848, #21849, #21850, #21851, #22712, #22713
    • Wait for dependent grids before SM103 NVFP4 GEMM scale-factor loads #22287
    • Add memory clobbers to the NVLink one-sided all-to-all fences #22388
    • Add a missing __syncthreads() to the group RMSNorm kernels #20104
    • Fix DeepSeek-V4.1 kernels: 64-bit addressing, PDL ordering, mHC alignment and constant zeros #22354
    • Preserve FP32 split-K accumulation for Kimi on SM107 #22322
    • Align MXFP4 FP8 MoE dimensions for TMA descriptors and preserve NVFP4 activation layouts #22340, #21220
    • Build FlashMLA for SM107-only targets #22695
    • Compile gated RMSNorm batch variants up front and bucket eager low-M GEMM row counts #22576, #22571
    • Stop specializing the KDA replay acceptance kernel on batch-view alignment #22811
    • Make dense PrimTS MLA decode opt-in on SM100/SM103 and fix VC-Attention preparation #22806, #22494
    • Restore PrimTS FMHA and MLA task API compatibility #21151
    • Order sparse decode Top-K after the Q projection #22588
    • Compile the Helix NCCL reformat only for CUDA-graph batches #21736
    • Support TRTLLM-Gen BF16 MoE weights in the MoE load balancer and refit BF16 experts in place #19949, #22238
    • Shut the EPLB load balancer down before closing its host weights #22385
    • Key TRTLLM-Gen MoE tactics by EP layout, attention DP and dummy routing #22668
    • Share fused mHC tactics across TP ranks and restore mHC activation ownership in NCCL windows #22777, #22321
    • Match GLM TEP4 routing to the checkpoint layout #22691
    • Tighten GLM-5.3-Flash Modeling V2 routing and the fused MTP step #22088
    • Fix MiniMax-M3 fullgraph context warmup #22479
    • Follow the FP4 MLA backend API in Kimi K3 Modeling V2 and stop skipping its decode prewarm #22545, #22330
    • Update DFlash2 sampled verification hooks and forward sampling_mode through DSpark CUDA-graph padding #23041, #22308
    • Load BF16 PLE tables and native NVFP4 MTP weights, and fill and release host PLE tables correctly #22473, #22785, #22632
    • Map the Nemotron-H backbone embedding key to embed_tokens #22864
    • Tie lm_head for Qwen2-VL and Qwen2.5-VL checkpoints with tied word embeddings #22646
    • Fix model-default fields_set and recurrent-state context promotion #22254
    • Fix tool-call parsing for Kimi K2, Qwen3 and MuseSpark streams and for forced tool calls #22736, #22710, #22711, #22739
    • Discard a complete think tag in the NemotronV3 reasoning parser's finish() #19230
    • Return "prompt is too long" for over-length Anthropic Messages prompts before streaming #21107
    • Bind the first result and record the first-token time in Responses API streaming #21622
    • Take Kimi-K3 chat prompt ids from its renderer so count_tokens matches usage #21111
    • Notify post-processor hooks when a request ends in an error #21147
    • Accept top_logprobs=0 without logprobs and reject an empty stop string #22194, #22237
    • Read raw logprobs before penalties and token bans, and keep the last logits row at end id #22303, #22662
    • Warn when LongRoPE uses the long factors for every request #22873
    • Enqueue a multi-input embedding request all or nothing #22134
    • Register RPC response futures before sending requests #22151
    • Resolve file:// URIs and special characters in load_image and apply one local media policy #22193, #21528
    • Stop trtllm-serve launchers from mutating caller-owned config dicts #21394
    • Report the resolved KV cache dtype and stop busy-polling in trtllm-bench #22767, #22791
    • Release executor host tables, suffix automaton buffers and JIT probe tensors after failures or shutdown #22878, #22677, #22848
    • Count reclaimable page cache as available memory in the rank-striped memory check #22139
    • Preserve shared-storage parameter views during GMS migration #22563
    • Keep each weight-mapper skip module only once across loads #22240
    • Signal the checkpoint watcher when its done file cannot be created #22199
    • Fix staging-buffer allocation for CUDA object collectives in the communicator #22318
    • Keep the VisualGen rendezvous port bound #22430
    • Log the MXFP8 tactic choice's per-call tuning bounds at debug level #22794
    • Merge release/1.3 fixes back to main (batch 3) #21944
    • Require patched certifi and fsspec versions to address security advisories #22039
  • Documentation

    • Describe Modeling V2 as the recommended way to write models and add its tech blog #23047, #22875
    • Add the NVFP4 MLA tech blog and align it with the final paper #21181, #22338, #22504
    • Add the RL MLPerf v6.1 tech blog #22704
    • Add Muse Spark Open deployment guides, examples and GB300 AgentX serving recipes #22166, #22498
    • Add Qwen3.5 GB300 AgentX serving with the remote KV cache #22883
    • Update the MoE performance guide and dashboard for Vera Rubin #21420
    • Qualify Rubin NVFP4 KV cache support and correct chunked attention generation support #22765, #21897
    • Fix benchmark, LoRA and MTP docs: commands, dataset paths, layer counts and adapter capacity #22764, #22763, #22766, #20882, #22835
    • Correct the FlashInfer per-row seed note in speculative metadata #22326
    • Publish agent skills for trtllm-serve configuration and Modeling V2 onboarding #22672, #22123
    • Organize test guidance by scope and document waive rules, CBTS rules and bot-command options #22427, #22688, #22613, #22805
  • Test & Infra

What's Changed

New Contributors

Full Changelog: v1.4.0rc4...v1.4.0rc5

Don't miss a new TensorRT-LLM release

NewReleases is sending notifications on new releases.