Skip to content

[Bug] TRTLLMGenFusedMoE + CUTLASS MoE both fail on SM120 (RTX PRO 6000) with FP4 Qwen3-Next MoE in v1.3.0rc4 #11932

Open

Description

@bhaktatejas922

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.85

Context

Questions

  1. Is SM120 FP4 MoE expected to work in 1.3.0rc4, or is this a known regression?
  2. If not yet supported, which upcoming release will include SM120 FP4 MoE support?
  3. 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.yaml

With the serving config above.

Activity

  1. added
    Customized kernels
    Model optimization
    on Mar 5, 2026
  2. CristyNel commented on Mar 6, 2026

    @CristyNel

    Just try vLLM, it offers better performance without the nightmare of building engine support.

  3. karljang commented on Mar 12, 2026

    @karljang
    Collaborator

    @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~

  4. added 9 commits that reference this issue on Mar 18, 2026
  5. added 4 commits that reference this issue on Apr 2, 2026
  6. waynehacking8 commented on Jun 9, 2026

    @waynehacking8

    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:

    Max shared memory per block optin: 101,376 bytes (99.0 KiB)
    Shared memory per multiprocessor:  102,400 bytes (100.0 KiB)
    

    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 cudaDevAttrMaxSharedMemoryPerBlockOptin query.

    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 only
    • CUTLASS: 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 report

    Assessment of the two open PRs:

    Happy to test a patched build if someone can point me at the right branch.

  7. added a commit that references this issue on Jun 11, 2026
  8. added 2 commits that reference this issue on Jun 29, 2026
  9. added 2 commits that reference this issue on Jul 14, 2026
  10. added a commit that references this issue on Jul 23, 2026
  11. added a commit that references this issue on Jul 26, 2026
  12. perlowja commented on Jul 28, 2026

    @perlowja

    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

    • TensorRT-LLM: 1.3.0rc22 (nvcr.io/nvidia/tensorrt-llm/release:1.3.0rc22)
    • GPU: RTX PRO 6000 Blackwell Max-Q Workstation Edition (SM120, 96GB), single GPU
    • Model: Qwen3-30B-A3B, NVFP4 (modelopt, quant_algo: NVFP4, kv_cache_quant_algo: FP8), 128 experts / 8 active
    • Serving: trtllm-serve, PyTorch backend, TP1, ISL/OSL 1024/256

    Same kernel failure, but the executor no longer dies

    I get the identical assertion reported here:

    [Autotuner] Failed when profiling runner=<MoERunner>, tactic=6
    Assertion failed: Failed to initialize cutlass TMA WS grouped gemm.
    Error Internal (cutlass_kernel_file_gemm_grouped_sm120_M128_BS_group2.generated.cu:39)
    

    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:

    Concurrency Output tok/s Mean TPOT (ms) tok/s per request
    1 99.6 9.82 99.6
    4 180.7 21.78 45.2
    8 211.5 37.41 26.4
    16 1272.8 11.93 79.6
    32 1994.1 15.19 62.3

    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_tokens

    The obvious explanation is that ISL 1024 against a small max_num_tokens leaves only ~2 prefills per iteration. Ruled out — sweeping it 8× at fixed c=8 changes nothing:

    max_num_tokens Output tok/s Mean TPOT (ms)
    2048 215.5 36.56
    8192 213.7 36.94
    16384 212.2 37.19

    Under 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_prefill was False in 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.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Customized kernelsModel optimization

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions