Repository navigation
Open
Labels
Customized kernels<NV>Specialized/modified CUDA kernels in TRTLLM for LLM ops, beyond standard TRT. Dev & perf.Model optimization<NV>Model-specific performance optimizations and tuning
Description
System Info
- TensorRT-LLM version: 1.3.0rc4 (Docker:
nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc4) - GPU: NVIDIA RTX PRO 6000 Blackwell Server Edition (SM120, 96GB GDDR7) x4
- Driver: 570.211.01
- OS: Ubuntu 24.04 (GCP
g4-standard-192) - Model: Qwen3-Next 80B MoE (~3B active), NVFp4 quantized
Problem
Neither the TRTLLM nor CUTLASS MoE backend works on SM120 GPUs with FP4 MoE models. This model runs fine on B200 (SM100).
Error 1: moe_config.backend: TRTLLM
NotImplementedError: TRTLLMGenFusedMoE does not support SM120 and above.
[TRT-LLM] [E] Failed to initialize executor on rank 0: TRTLLMGenFusedMoE does not support SM120 and above.
Error 2: moe_config.backend: CUTLASS
[TRT-LLM] [W] [Autotuner] Failed when profiling runner=MoERunner, tactic=6
Error: [TensorRT-LLM][ERROR] Assertion failed: Failed to initialize cutlass TMA WS grouped gemm.
Error: Error Internal (cutlass_kernel_file_gemm_grouped_sm120_M128_BS_group2.generated.cu:39)
Total failed profiling tactics: 16 for custom_op=trtllm::fused_moe::gemm2
The CUTLASS backend loads all 1412 weights (~46s), runs the autotuner, but then the executor worker crashes with RuntimeError: Executor worker returned error.
Serving Config
tensor_parallel_size: 1
moe_expert_parallel_size: 1
max_batch_size: 4
max_num_tokens: 32768
max_seq_len: 32768
trust_remote_code: true
moe_config:
backend: CUTLASS # also tried TRTLLM
kv_cache_config:
free_gpu_memory_fraction: 0.85Context
- PR Fix : fix moe regression for sm120 #5823 ("fix moe regression for sm120") was merged in July 2025 and should be in 1.3.0rc4, but the issue persists.
- Issue [Usage]: RuntimeError: Only SM100 is supported by FP4 block scale MOE #7484 reports the same
TRTLLMGenFusedMoEerror on SM120 and remains open with no resolution. - The v0.20.0 release notes mention "Fix MOE FP4 on SM120" and "Add RTX Pro 6000 support on single GPU", but that fix doesn't seem to carry through to 1.3.0rc4 for this model architecture.
Questions
- Is SM120 FP4 MoE expected to work in 1.3.0rc4, or is this a known regression?
- If not yet supported, which upcoming release will include SM120 FP4 MoE support?
- Are there any workarounds (e.g., specific quantization format, env flags, or config changes)?
Steps to Reproduce
# On a g4-standard-192 (4x RTX PRO 6000 SM120)
docker run --gpus '"device=0"' --shm-size=16g \
-v /path/to/nvfp4_checkpoint:/workspace/model:ro \
nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc4 \
trtllm-serve /workspace/model --host 0.0.0.0 --port 8000 \
--extra_llm_api_options serving.yamlWith the serving config above.
Metadata
Metadata
Assignees
Labels
Customized kernels<NV>Specialized/modified CUDA kernels in TRTLLM for LLM ops, beyond standard TRT. Dev & perf.Model optimization<NV>Model-specific performance optimizations and tuning
Activity
CristyNel commentedon Mar 6, 2026
Just try vLLM, it offers better performance without the nightmare of building engine support.
karljang commentedon Mar 12, 2026
@bhaktatejas922, thank you for bringing this issue to our attention.
I wanted to inform you that there is a community PR issue #11997 that is directly related to the issue~
[NVIDIA#11932][fix] Enable FP4 MoE dispatch for SM120/SM121 (DGX Spark)
[NVIDIA#11932][fix] Enable FP4 MoE dispatch for SM120/SM121 (DGX Spark)
[NVIDIA#11932][fix] Add C++ isBlackwellFamily() for SM120/SM121 MoE d…
[NVIDIA#11932][fix] Add C++ isBlackwellFamily() for SM120/SM121 MoE d…
[NVIDIA#11932][fix] Scope SM120/SM121 MoE to CUTLASS backend only
[NVIDIA#11932][fix] Scope SM120/SM121 MoE to CUTLASS backend only
[NVIDIA#11932][fix] Enable FP4 MoE dispatch for SM120/SM121 (DGX Spark)
[NVIDIA#11932][fix] Add C++ isBlackwellFamily() for SM120/SM121 MoE d…
[NVIDIA#11932][fix] Scope SM120/SM121 MoE to CUTLASS backend only
[NVIDIA#11932][fix] Filter CUTLASS MoE GEMM tile configs by device sh…
[NVIDIA#11932][fix] Enable FP4 MoE dispatch for SM120/SM121 (DGX Spark)
[NVIDIA#11932][fix] Filter CUTLASS MoE GEMM tile configs by device sh…
[NVIDIA#11932][fix] Filter CUTLASS MoE GEMM tile configs by device sh…
waynehacking8 commentedon Jun 9, 2026
SM120 Hardware Verification — RTX PRO 6000 (trtllm 1.2.1)
Independent confirmation from an RTX PRO 6000 Blackwell Max-Q Workstation Edition (SM120, 96 GB GDDR7):
Shared memory:
This is the same 99 KiB SMEM as SM121 (DGX Spark GB10). Note: PR #12704's description says "SM120 (B200) has 228 KiB" — this is incorrect. B200 is SM100 (228 KiB), not SM120. SM120 (RTX PRO 6000) has 99 KiB. The code in #12704 is correct though, since it uses the runtime
cudaDevAttrMaxSharedMemoryPerBlockOptinquery.Confirmed on trtllm 1.2.1:
TRTLLMGenFusedMoE: hard-blocked —NotImplementedError: TRTLLMGenFusedMoE does not support SM120 and above.(line 106,fused_moe_trtllm_gen.py)CuteDSL: gated to SM100/103 onlyCUTLASS: instantiation succeeds (no Python-side SM gate), but TMA WS grouped GEMM tiles (CtaShape128x256x128B,CtaShape256x128x128B) exceed the 99 KiB SMEM limit → matches the autotuner crash in the original reportAssessment of the two open PRs:
CtaShape128x128x64B) would survive the filter.Happy to test a patched build if someone can point me at the right branch.
[NVIDIA#11932][doc] Correct SM family labels in the SMEM-filter comment
[NVIDIA#11932][fix] Preserve SM120 mixed MoE low-SMEM candidates
[NVIDIA#11932][fix] Check current-device SMEM for MoE tactics
[NVIDIA#11932][chore] Clarify MoE SMEM guard comment
[NVIDIA#11932][fix] Preserve SM120 mixed FP8-FP4 MoE tactic
[#11932][fix] Filter CUTLASS MoE GEMM tile configs by device shared m…
Merge branch 'main' of https://github.com/NVIDIA/TensorRT-LLM into ha…
[NVIDIA#11932][fix] Filter CUTLASS MoE GEMM tile configs by device sh…
perlowja commentedon Jul 28, 2026
Adding a data point on this from 1.3.0rc22, because the failure mode appears to have changed shape between rc4 and rc22 rather than being fixed — and the newer shape is harder to notice.
Setup
nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc22)quant_algo: NVFP4,kv_cache_quant_algo: FP8), 128 experts / 8 activetrtllm-serve, PyTorch backend, TP1, ISL/OSL 1024/256Same kernel failure, but the executor no longer dies
I get the identical assertion reported here:
The difference: on rc4 you saw 16 failed tactics and the executor worker died. On rc22 with this checkpoint exactly one tactic fails, the autotuner falls back, and the server comes up and serves correct output. So from the outside it looks fixed.
It isn't. The fallback path has a severe, reproducible concurrency-dependent cost.
The measurement
Throughput and TPOT against concurrency, same server instance,
sglang.bench_serving, 8 requests per concurrency level:From c=1 to c=8, TPOT grows very nearly proportionally with concurrency (9.82 → 21.78 → 37.41 ms) — the signature of requests being served almost serially. 8× the concurrency buys 2.1× the throughput. Then between c=8 and c=16 something engages: throughput jumps 6× and TPOT drops 3×.
The c=8 point has five independent reproductions across separate server instances: 212.0, 211.5, 215.5, 213.7, 212.2 tok/s.
Not a warmup artifact
The c=8 distribution is tight — Mean 37.27 / Median 37.43 / P99 37.87 ms TPOT, Max ITL 75 ms. A warmup or autotuning spike would skew the mean away from the median and blow out Max ITL. This is steady state.
Not
max_num_tokensThe obvious explanation is that ISL 1024 against a small
max_num_tokensleaves only ~2 prefills per iteration. Ruled out — sweeping it 8× at fixed c=8 changes nothing:max_num_tokensUnder 2% spread, inside run-to-run noise. (This issue's original report used 32768, so it's worth stating explicitly that the value doesn't matter here.)
What I have not established
I have not identified the mechanism, and I am not asserting the tactic-6 failure is the cause — only that both are present on SM120 and that the fallback is where the cost would land if it is. Other candidates I could not eliminate: a scheduler threshold between 8 and 16, or the MoE backend switching implementation above a token count.
enable_chunked_prefillwasFalsein these runs. CUDA-graph batch sizes are dense over 1–32 (then 64, 128), so the graph list seems an unlikely explanation.I also have not tested another SM120 card or another MoE checkpoint, so I can't say whether this is specific to Qwen3-30B-A3B or general to NVFP4 MoE on SM120.
Why it may be worth separating from the crash
Everything currently filed for SM120 — this issue, #14154, #12411, #15853 — describes a hard failure. A silent 6× throughput loss below c≈16 presents very differently: the service is healthy, output is correct, and nothing in the logs beyond one autotuner warning suggests a problem. Anyone benchmarking at high concurrency, or serving at low concurrency without a comparison point, would not see it.
Happy to run additional configurations if that would help narrow it.