vllm - 💡(How to fix) Fix [Bug]: Benchmark tuning MoE kernel config fails ; NVIDIA GH200, Qwen3-Coder-Next, vLLM 0.17.1 [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
vllm-project/vllm#37191Fetched 2026-04-08 00:48:44
View on GitHub
Comments
0
Participants
1
Timeline
5
Reactions
1
Participants
Timeline (top)
renamed ×2subscribed ×2labeled ×1

Error Message

python3 benchmark_moe.py -tp 1 --tune --model "Qwen/Qwen3-Coder-Next-FP8" Namespace(model='Qwen/Qwen3-Coder-Next-FP8', tp_size=1, enable_expert_parallel=False, dtype='auto', use_deep_gemm=False, save_dir='/mnt/fused_moe_configs/', seed=0, batch_size=None, tune=True, trust_remote_code=False, model_prefix=None) 2026-03-16 12:35:25,013 INFO worker.py:2013 -- Started a local Ray instance. /usr/local/lib/python3.12/dist-packages/ray/_private/worker.py:2052: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0 warnings.warn( Start tuning over 1920 configurations... (BenchmarkWorker pid=726) Mon Mar 16 12:49:04 2026] Completed tuning for batch_size=1 (BenchmarkWorker pid=796) Mon Mar 16 12:49:04 2026] Completed tuning for batch_size=2 (BenchmarkWorker pid=726) Mon Mar 16 12:50:29 2026] Completed tuning for batch_size=4 (pid=726) : 85%|██████████████████████████████████████████████████████████████████████████████████████████████████▏ | 1.63k/1.92k [11:56<01:02, 4.73it/s]Traceback (most recent call last):██████████████████████████████████████████████████████████████████████████████████████████████▏ | 1.84k/1.92k [13:15<02:00, 1.52s/it] File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 1041, in <module> main(args) File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 951, in main configs = _distribute( ^^^^^^^^^^^^ File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 927, in _distribute return ray.get(outputs) ^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/ray/_private/auto_init_hook.py", line 22, in auto_init_wrapper return fn(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/ray/_private/client_mode_hook.py", line 104, in wrapper return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/ray/_private/worker.py", line 2981, in get values, debugger_breakpoint = worker.get_objects( ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/ray/_private/worker.py", line 1012, in get_objects raise value.as_instanceof_cause() ray.exceptions.RayTaskError(RuntimeError): ray::BenchmarkWorker.tune() (pid=726, ip=XXX, actor_id=5f66c1327f7a25a3b8fd359101000000, repr=<benchmark_moe.BenchmarkWorker object at 0xfc7a5e152750>) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 632, in tune kernel_time = benchmark_config( ^^^^^^^^^^^^^^^^^ File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 306, in benchmark_config run() File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 295, in run return fused_experts( ^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1578, in fused_experts return dispatch_fused_experts_func(inplace)( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1548, in torch_vllm_outplace_fused_experts return torch.ops.vllm.outplace_fused_experts(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/torch/_ops.py", line 1209, in call return self._op(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/torch/utils/_device.py", line 109, in torch_function return func(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/torch/_ops.py", line 1209, in call return self._op(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1476, in outplace_fused_experts return fused_experts_impl( ^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1855, in fused_experts_impl dispatch_fused_moe_kernel( File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 918, in dispatch_fused_moe_kernel invoke_fused_moe_triton_kernel( File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 794, in invoke_fused_moe_triton_kernel fused_moe_kernel[grid]( File "/usr/local/lib/python3.12/dist-packages/triton/runtime/jit.py", line 370, in <lambda> return lambda *args, **kwargs: self.run(grid=grid, warmup=False, *args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/triton/runtime/jit.py", line 720, in run kernel = self._do_compile(key, signature, device, constexprs, options, attrs, warmup) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/triton/runtime/jit.py", line 849, in _do_compile kernel = self.compile(src, target=target, options=options.dict) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/triton/compiler/compiler.py", line 324, in compile next_module = compile_ir(module, metadata) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/triton/backends/nvidia/compiler.py", line 541, in <lambda> stages["ttgir"] = lambda src, metadata: self.make_ttgir(src, metadata, options, capability) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/dist-packages/triton/backends/nvidia/compiler.py", line 316, in make_ttgir pm.run(mod, 'make_ttgir') RuntimeError: PassManager::run failed (BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:574:24: error: operand #0 does not dominate this use (BenchmarkWorker pid=726) c_mask = token_mask[:, None] & (offs_cn[None, :] < N) (BenchmarkWorker pid=726) ^ (BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:508:28: note: operand defined here (op in a child region) (BenchmarkWorker pid=726) mask=token_mask[:, None] & (offs_k[None, :] < K - k * BLOCK_SIZE_K), (BenchmarkWorker pid=726) ^ (BenchmarkWorker pid=726) module { (BenchmarkWorker pid=726) tt.func public @fused_moe_kernel(%arg0: !tt.ptr<bf16> {tt.divisibility = 16 : i32}, %arg1: !tt.ptr<bf16> {tt.divisibility = 16 : i32}, %arg2: !tt.ptr<bf16> {tt.divisibility = 16 : i32}, %arg3: !tt.ptr<f32> {tt.divisibility = 16 : i32}, %arg4: !tt.ptr<i32> {tt.divisibility = 16 : i32}, %arg5: !tt.ptr<i32> {tt.divisibility = 16 : i32}, %arg6: !tt.ptr<i32> {tt.divisibility = 16 : i32}, %arg7: i32 {tt.divisibility = 16 : i32}, %arg8: i32 {tt.divisibility = 16 : i32}, %arg9: i32 {tt.divisibility = 16 : i32}, %arg10: i32 {tt.divisibility = 16 : i32}, %arg11: i32 {tt.divisibility = 16 : i32}, %arg12: i32 {tt.divisibility = 16 : i32}, %arg13: i32 {tt.divisibility = 16 : i32}, %arg14: i32 {tt.divisibility = 16 : i32}, %arg15: i32 {tt.divisibility = 16 : i32}, %arg16: i32 {tt.divisibility = 16 : i32}, %arg17: i32 {tt.divisibility = 16 : i32}, %arg18: i32 {tt.divisibility = 16 : i32}, %arg19: i32 {tt.divisibility = 16 : i32}, %arg20: i32 {tt.divisibility = 16 : i32}, %arg21: i32 {tt.divisibility = 16 : i32}) attributes {noinline = false} { (BenchmarkWorker pid=726) %c63_i32 = arith.constant 63 : i32 (BenchmarkWorker pid=726) %c255_i32 = arith.constant 255 : i32 (BenchmarkWorker pid=726) %cst = arith.constant dense<0.000000e+00> : tensor<64x64xbf16> (BenchmarkWorker pid=726) %cst_0 = arith.constant dense<0.000000e+00> : tensor<256x64xbf16> (BenchmarkWorker pid=726) %c0_i32 = arith.constant 0 : i32 (BenchmarkWorker pid=726) %c-1_i64 = arith.constant -1 : i64 (BenchmarkWorker pid=726) %cst_1 = arith.constant dense<64> : tensor<64x64xi32> (BenchmarkWorker pid=726) %cst_2 = arith.constant dense<64> : tensor<256x64xi32> (BenchmarkWorker pid=726) %cst_3 = arith.constant dense<0.000000e+00> : tensor<256x64xf32> (BenchmarkWorker pid=726) %cst_4 = arith.constant dense<10> : tensor<256x1xi64> (BenchmarkWorker pid=726) %c64_i32 = arith.constant 64 : i32 (BenchmarkWorker pid=726) %c256_i32 = arith.constant 256 : i32 (BenchmarkWorker pid=726) %c1_i32 = arith.constant 1 : i32 (BenchmarkWorker pid=726) %0 = tt.get_program_id x : i32 (BenchmarkWorker pid=726) %1 = arith.addi %arg9, %c255_i32 : i32 (BenchmarkWorker pid=726) %2 = arith.divsi %1, %c256_i32 : i32 (BenchmarkWorker pid=726) %3 = arith.addi %arg7, %c63_i32 : i32 (BenchmarkWorker pid=726) %4 = arith.divsi %3, %c64_i32 : i32 (BenchmarkWorker pid=726) %5 = arith.divsi %0, %4 : i32 (BenchmarkWorker pid=726) %6 = arith.subi %2, %5 : i32 (BenchmarkWorker pid=726) %7 = arith.minsi %6, %c1_i32 : i32 (BenchmarkWorker pid=726) %8 = arith.remsi %0, %4 : i32 (BenchmarkWorker pid=726) %9 = arith.remsi %8, %7 : i32 (BenchmarkWorker pid=726) %10 = arith.addi %5, %9 : i32 (BenchmarkWorker pid=726) %11 = arith.divsi %8, %7 : i32 (BenchmarkWorker pid=726) %12 = tt.make_range {end = 256 : i32, start = 0 : i32} : tensor<256xi32> (BenchmarkWorker pid=726) %13 = arith.extsi %12 : tensor<256xi32> to tensor<256xi64> (BenchmarkWorker pid=726) %14 = tt.load %arg6 : !tt.ptr<i32> (BenchmarkWorker pid=726) %15 = arith.muli %10, %c256_i32 : i32 (BenchmarkWorker pid=726) %16 = arith.cmpi sge, %15, %14 : i32 (BenchmarkWorker pid=726) cf.cond_br %16, ^bb1, ^bb2 (BenchmarkWorker pid=726) ^bb1: // pred: ^bb0 (BenchmarkWorker pid=726) tt.return (BenchmarkWorker pid=726) ^bb2: // pred: ^bb0 (BenchmarkWorker pid=726) %17 = arith.extsi %15 : i32 to i64 (BenchmarkWorker pid=726) %18 = tt.splat %17 : i64 -> tensor<256xi64> (BenchmarkWorker pid=726) %19 = arith.addi %18, %13 : tensor<256xi64> (BenchmarkWorker pid=726) %20 = tt.splat %arg4 : !tt.ptr<i32> -> tensor<256x!tt.ptr<i32>> (BenchmarkWorker pid=726) %21 = tt.addptr %20, %19 : tensor<256x!tt.ptr<i32>>, tensor<256xi64> (BenchmarkWorker pid=726) %22 = tt.load %21 : tensor<256x!tt.ptr<i32>> (BenchmarkWorker pid=726) %23 = arith.extsi %22 : tensor<256xi32> to tensor<256xi64> (BenchmarkWorker pid=726) %24 = arith.extsi %arg10 : i32 to i64 (BenchmarkWorker pid=726) %25 = tt.splat %24 : i64 -> tensor<256xi64> (BenchmarkWorker pid=726) %26 = arith.cmpi slt, %23, %25 : tensor<256xi64> (BenchmarkWorker pid=726) %27 = tt.addptr %arg5, %10 : !tt.ptr<i32>, i32 (BenchmarkWorker pid=726) %28 = tt.load %27 : !tt.ptr<i32> (BenchmarkWorker pid=726) %29 = arith.extsi %28 : i32 to i64 (BenchmarkWorker pid=726) %30 = arith.cmpi eq, %29, %c-1_i64 : i64 (BenchmarkWorker pid=726) cf.cond_br %30, ^bb3, ^bb4 (BenchmarkWorker pid=726) ^bb3: // pred: ^bb2 (BenchmarkWorker pid=726) %31 = arith.muli %11, %c64_i32 : i32 (BenchmarkWorker pid=726) %32 = tt.make_range {end = 64 : i32, start = 0 : i32} : tensor<64xi32> (BenchmarkWorker pid=726) %33 = tt.splat %31 : i32 -> tensor<64xi32> (BenchmarkWorker pid=726) %34 = arith.addi %33, %32 : tensor<64xi32> (BenchmarkWorker pid=726) %35 = tt.expand_dims %23 {axis = 1 : i32} : tensor<256xi64> -> tensor<256x1xi64> (BenchmarkWorker pid=726) %36 = arith.extsi %arg14 : i32 to i64 (BenchmarkWorker pid=726) %37 = tt.splat %36 : i64 -> tensor<256x1xi64> (BenchmarkWorker pid=726) %38 = arith.muli %37, %35 : tensor<256x1xi64> (BenchmarkWorker pid=726) %39 = tt.splat %arg2 : !tt.ptr<bf16> -> tensor<256x1x!tt.ptr<bf16>> (BenchmarkWorker pid=726) %40 = tt.addptr %39, %38 : tensor<256x1x!tt.ptr<bf16>>, tensor<256x1xi64> (BenchmarkWorker pid=726) %41 = tt.expand_dims %34 {axis = 0 : i32} : tensor<64xi32> -> tensor<1x64xi32> (BenchmarkWorker pid=726) %42 = tt.broadcast %40 : tensor<256x1x!tt.ptr<bf16>> -> tensor<256x64x!tt.ptr<bf16>> (BenchmarkWorker pid=726) %43 = tt.broadcast %41 : tensor<1x64xi32> -> tensor<256x64xi32> (BenchmarkWorker pid=726) %44 = tt.addptr %42, %43 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi32> (BenchmarkWorker pid=726) %45 = tt.expand_dims %26 {axis = 1 : i32} : tensor<256xi1> -> tensor<256x1xi1> (BenchmarkWorker pid=726) %46 = tt.splat %arg7 : i32 -> tensor<1x64xi32> (BenchmarkWorker pid=726) %47 = arith.cmpi slt, %41, %46 : tensor<1x64xi32> (BenchmarkWorker pid=726) %48 = tt.broadcast %45 : tensor<256x1xi1> -> tensor<256x64xi1> (BenchmarkWorker pid=726) %49 = tt.broadcast %47 : tensor<1x64xi1> -> tensor<256x64xi1> (BenchmarkWorker pid=726) %50 = arith.andi %48, %49 : tensor<256x64xi1> (BenchmarkWorker pid=726) tt.store %44, %cst_0, %50 : tensor<256x64x!tt.ptr<bf16>> (BenchmarkWorker pid=726) tt.return (BenchmarkWorker pid=726) ^bb4: // pred: ^bb2 (BenchmarkWorker pid=726) %51 = arith.muli %11, %c64_i32 : i32 (BenchmarkWorker pid=726) %52 = tt.make_range {end = 64 : i32, start = 0 : i32} : tensor<64xi32> (BenchmarkWorker pid=726) %53 = arith.extsi %52 : tensor<64xi32> to tensor<64xi64> (BenchmarkWorker pid=726) %54 = arith.extsi %51 : i32 to i64 (BenchmarkWorker pid=726) %55 = tt.splat %54 : i64 -> tensor<64xi64> (BenchmarkWorker pid=726) %56 = arith.addi %55, %53 : tensor<64xi64> (BenchmarkWorker pid=726) %57 = arith.extsi %arg7 : i32 to i64 (BenchmarkWorker pid=726) %58 = tt.splat %57 : i64 -> tensor<64xi64> (BenchmarkWorker pid=726) %59 = arith.remsi %56, %58 : tensor<64xi64> (BenchmarkWorker pid=726) %60 = tt.expand_dims %23 {axis = 1 : i32} : tensor<256xi64> -> tensor<256x1xi64> (BenchmarkWorker pid=726) %61 = arith.divsi %60, %cst_4 : tensor<256x1xi64> (BenchmarkWorker pid=726) %62 = arith.extsi %arg11 : i32 to i64 (BenchmarkWorker pid=726) %63 = tt.splat %62 : i64 -> tensor<256x1xi64> (BenchmarkWorker pid=726) %64 = arith.muli %61, %63 : tensor<256x1xi64> (BenchmarkWorker pid=726) %65 = tt.expand_dims %52 {axis = 0 : i32} : tensor<64xi32> -> tensor<1x64xi32> (BenchmarkWorker pid=726) %66 = arith.extsi %65 : tensor<1x64xi32> to tensor<1x64xi64> (BenchmarkWorker pid=726) %67 = tt.broadcast %64 : tensor<256x1xi64> -> tensor<256x64xi64> (BenchmarkWorker pid=726) %68 = tt.broadcast %66 : tensor<1x64xi64> -> tensor<256x64xi64> (BenchmarkWorker pid=726) %69 = arith.addi %67, %68 : tensor<256x64xi64> (BenchmarkWorker pid=726) %70 = tt.splat %arg0 : !tt.ptr<bf16> -> tensor<256x64x!tt.ptr<bf16>> (BenchmarkWorker pid=726) %71 = tt.addptr %70, %69 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi64> (BenchmarkWorker pid=726) %72 = arith.extsi %arg12 : i32 to i64 (BenchmarkWorker pid=726) %73 = arith.muli %29, %72 : i64 (BenchmarkWorker pid=726) %74 = tt.addptr %arg1, %73 : !tt.ptr<bf16>, i64 (BenchmarkWorker pid=726) %75 = tt.expand_dims %52 {axis = 1 : i32} : tensor<64xi32> -> tensor<64x1xi32> (BenchmarkWorker pid=726) %76 = tt.expand_dims %59 {axis = 0 : i32} : tensor<64xi64> -> tensor<1x64xi64> (BenchmarkWorker pid=726) %77 = arith.extsi %arg13 : i32 to i64 (BenchmarkWorker pid=726) %78 = tt.splat %77 : i64 -> tensor<1x64xi64> (BenchmarkWorker pid=726) %79 = arith.muli %76, %78 : tensor<1x64xi64> (BenchmarkWorker pid=726) %80 = arith.extsi %75 : tensor<64x1xi32> to tensor<64x1xi64> (BenchmarkWorker pid=726) %81 = tt.broadcast %80 : tensor<64x1xi64> -> tensor<64x64xi64> (BenchmarkWorker pid=726) %82 = tt.broadcast %79 : tensor<1x64xi64> -> tensor<64x64xi64> (BenchmarkWorker pid=726) %83 = arith.addi %81, %82 : tensor<64x64xi64> (BenchmarkWorker pid=726) %84 = tt.splat %74 : !tt.ptr<bf16> -> tensor<64x64x!tt.ptr<bf16>> (BenchmarkWorker pid=726) %85 = tt.addptr %84, %83 : tensor<64x64x!tt.ptr<bf16>>, tensor<64x64xi64> (BenchmarkWorker pid=726) %86 = arith.addi %arg8, %c63_i32 : i32 (BenchmarkWorker pid=726) %87 = arith.divsi %86, %c64_i32 : i32 (BenchmarkWorker pid=726) %88:3 = scf.for %arg22 = %c0_i32 to %87 step %c1_i32 iter_args(%arg23 = %71, %arg24 = %85, %arg25 = %cst_3) -> (tensor<256x64x!tt.ptr<bf16>>, tensor<64x64x!tt.ptr<bf16>>, tensor<256x64xf32>) : i32 { (BenchmarkWorker pid=726) %107 = tt.expand_dims %26 {axis = 1 : i32} : tensor<256xi1> -> tensor<256x1xi1> (BenchmarkWorker pid=726) %108 = arith.muli %arg22, %c64_i32 : i32 (BenchmarkWorker pid=726) %109 = arith.subi %arg8, %108 : i32 (BenchmarkWorker pid=726) %110 = tt.splat %109 : i32 -> tensor<1x64xi32> (BenchmarkWorker pid=726) %111 = arith.cmpi slt, %65, %110 : tensor<1x64xi32> (BenchmarkWorker pid=726) %112 = tt.broadcast %107 : tensor<256x1xi1> -> tensor<256x64xi1> (BenchmarkWorker pid=726) %113 = tt.broadcast %111 : tensor<1x64xi1> -> tensor<256x64xi1> (BenchmarkWorker pid=726) %114 = arith.andi %112, %113 : tensor<256x64xi1> (BenchmarkWorker pid=726) %115 = tt.load %arg23, %114, %cst_0 : tensor<256x64x!tt.ptr<bf16>> (BenchmarkWorker pid=726) %116 = tt.splat %109 : i32 -> tensor<64x1xi32> (BenchmarkWorker pid=726) %117 = arith.cmpi slt, %75, %116 : tensor<64x1xi32> (BenchmarkWorker pid=726) %118 = tt.broadcast %117 : tensor<64x1xi1> -> tensor<64x64xi1> (BenchmarkWorker pid=726) %119 = tt.load %arg24, %118, %cst : tensor<64x64x!tt.ptr<bf16>> (BenchmarkWorker pid=726) %120 = tt.dot %115, %119, %arg25, inputPrecision = tf32 : tensor<256x64xbf16> * tensor<64x64xbf16> -> tensor<256x64xf32> (BenchmarkWorker pid=726) %121 = tt.addptr %arg23, %cst_2 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi32> (BenchmarkWorker pid=726) %122 = tt.addptr %arg24, %cst_1 : tensor<64x64x!tt.ptr<bf16>>, tensor<64x64xi32> (BenchmarkWorker pid=726) scf.yield %121, %122, %120 : tensor<256x64x!tt.ptr<bf16>>, tensor<64x64x!tt.ptr<bf16>>, tensor<256x64xf32> (BenchmarkWorker pid=726) } (BenchmarkWorker pid=726) %89 = arith.truncf %88#2 : tensor<256x64xf32> to tensor<256x64xbf16> (BenchmarkWorker pid=726) %90 = tt.splat %51 : i32 -> tensor<64xi32> (BenchmarkWorker pid=726) %91 = arith.addi %90, %52 : tensor<64xi32> (BenchmarkWorker pid=726) %92 = arith.extsi %arg14 : i32 to i64 (BenchmarkWorker pid=726) %93 = tt.splat %92 : i64 -> tensor<256x1xi64> (BenchmarkWorker pid=726) %94 = arith.muli %93, %60 : tensor<256x1xi64> (BenchmarkWorker pid=726) %95 = tt.splat %arg2 : !tt.ptr<bf16> -> tensor<256x1x!tt.ptr<bf16>> (BenchmarkWorker pid=726) %96 = tt.addptr %95, %94 : tensor<256x1x!tt.ptr<bf16>>, tensor<256x1xi64> (BenchmarkWorker pid=726) %97 = tt.expand_dims %91 {axis = 0 : i32} : tensor<64xi32> -> tensor<1x64xi32> (BenchmarkWorker pid=726) %98 = tt.broadcast %96 : tensor<256x1x!tt.ptr<bf16>> -> tensor<256x64x!tt.ptr<bf16>> (BenchmarkWorker pid=726) %99 = tt.broadcast %97 : tensor<1x64xi32> -> tensor<256x64xi32> (BenchmarkWorker pid=726) %100 = tt.addptr %98, %99 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi32> (BenchmarkWorker pid=726) %101 = tt.expand_dims %26 {axis = 1 : i32} : tensor<256xi1> -> tensor<256x1xi1> (BenchmarkWorker pid=726) %102 = tt.splat %arg7 : i32 -> tensor<1x64xi32> (BenchmarkWorker pid=726) %103 = arith.cmpi slt, %97, %102 : tensor<1x64xi32> (BenchmarkWorker pid=726) %104 = tt.broadcast %101 : tensor<256x1xi1> -> tensor<256x64xi1> (BenchmarkWorker pid=726) %105 = tt.broadcast %103 : tensor<1x64xi1> -> tensor<256x64xi1> (BenchmarkWorker pid=726) %106 = arith.andi %104, %105 : tensor<256x64xi1> (BenchmarkWorker pid=726) tt.store %100, %89, %106 : tensor<256x64x!tt.ptr<bf16>> (BenchmarkWorker pid=726) tt.return (BenchmarkWorker pid=726) } (BenchmarkWorker pid=726) } (BenchmarkWorker pid=726) (BenchmarkWorker pid=726) {-# (BenchmarkWorker pid=726) external_resources: { (BenchmarkWorker pid=726) mlir_reproducer: { (BenchmarkWorker pid=726) pipeline: "builtin.module(convert-triton-to-tritongpu{enable-source-remat=false num-ctas=1 num-warps=4 target=cuda:90 threads-per-warp=32}, tritongpu-coalesce, tritongpu-F32DotTC{emu-tf32=true}, triton-nvidia-gpu-plan-cta, tritongpu-remove-layout-conversions, tritongpu-optimize-thread-locality, tritongpu-accelerate-matmul, tritongpu-remove-layout-conversions, tritongpu-optimize-dot-operands{hoist-layout-conversion=true}, triton-nvidia-optimize-descriptor-encoding, triton-loop-aware-cse, tritongpu-fuse-nested-loops, canonicalize{ max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}, triton-licm, canonicalize{ max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}, tritongpu-combine-tensor-select-and-if, nvgpu-warp-specialization{dump-intermediate-steps=false num-stages=2}, tritongpu-assign-latencies{num-stages=2}, tritongpu-schedule-loops, tritongpu-pipeline{dump-intermediate-steps=false num-stages=2}, canonicalize{ max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}, triton-loop-aware-cse, tritongpu-prefetch, tritongpu-optimize-dot-operands{hoist-layout-conversion=true}, tritongpu-coalesce-async-copy, triton-nvidia-optimize-tmem-layouts, triton-nvidia-tma-lowering, tritongpu-remove-layout-conversions, triton-nvidia-interleave-tmem, tritongpu-reduce-data-duplication, tritongpu-reorder-instructions, triton-loop-aware-cse, symbol-dce, triton-nvidia-gpu-fence-insertion{compute-capability=90}, triton-nvidia-mma-lowering, sccp, cse, canonicalize{ max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true})", (BenchmarkWorker pid=726) disable_threading: true, (BenchmarkWorker pid=726) verify_each: true (BenchmarkWorker pid=726) } (BenchmarkWorker pid=726) } (BenchmarkWorker pid=726) #-} (BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:315:0: error: Failures have been detected while processing an MLIR pass pipeline (BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:315:0: note: Pipeline failed while executing [TritonGPURemoveLayoutConversions on 'builtin.module' operation]: reproducer generated at std::errs, please share the reproducer above with Triton project. (pid=726) : 98%|█████████▊| 1.89k/1.92k [26:58<00:26, 1.17it/s] (pid=726) : 97%|█████████▋| 1.85k/1.92k [13:24<00:28, 2.31it/s] (pid=726) : 85%|████████▍ | 1.63k/1.92k [11:59<02:10, 2.26it/s] (pid=726) : 0%| | 1.00/1.92k [00:02<1:23:09, 2.60s/it] (pid=796) : 98%|█████████▊| 1.89k/1.92k [26:57<00:26, 1.17it/s] (pid=796) : 96%|█████████▌| 1.84k/1.92k [13:24<00:34, 2.29it/s]

Fix Action

Fix / Workaround

============================== CPU Info

Architecture: aarch64 CPU op-mode(s): 64-bit Byte Order: Little Endian CPU(s): 144 On-line CPU(s) list: 0-143 Vendor ID: ARM Model name: Neoverse-V2 Model: 0 Thread(s) per core: 1 Core(s) per cluster: 72 Socket(s): - Cluster(s): 2 Stepping: r0p0 Frequency boost: disabled CPU max MHz: 3474.0000 CPU min MHz: 81.0000 BogoMIPS: 2000.00 Flags: fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti L1d cache: 9 MiB (144 instances) L1i cache: 9 MiB (144 instances) L2 cache: 144 MiB (144 instances) L3 cache: 228 MiB (2 instances) NUMA node(s): 18 NUMA node0 CPU(s): 0-71 NUMA node1 CPU(s): 72-143 NUMA node2 CPU(s): NUMA node3 CPU(s): NUMA node4 CPU(s): NUMA node5 CPU(s): NUMA node6 CPU(s): NUMA node7 CPU(s): NUMA node8 CPU(s): NUMA node9 CPU(s): NUMA node10 CPU(s): NUMA node11 CPU(s): NUMA node12 CPU(s): NUMA node13 CPU(s): NUMA node14 CPU(s): NUMA node15 CPU(s): NUMA node16 CPU(s): NUMA node17 CPU(s): Vulnerability Gather data sampling: Not affected Vulnerability Indirect target selection: Not affected Vulnerability Itlb multihit: Not affected Vulnerability L1tf: Not affected Vulnerability Mds: Not affected Vulnerability Meltdown: Not affected Vulnerability Mmio stale data: Not affected Vulnerability Reg file data sampling: Not affected Vulnerability Retbleed: Not affected Vulnerability Spec rstack overflow: Not affected Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl Vulnerability Spectre v1: Mitigation; __user pointer sanitization Vulnerability Spectre v2: Mitigation; CSV2, BHB Vulnerability Srbds: Not affected Vulnerability Tsa: Not affected Vulnerability Tsx async abort: Not affected Vulnerability Vmscape: Not affected

python3 benchmark_moe.py -tp 1 --tune --model "Qwen/Qwen3-Coder-Next-FP8"
Namespace(model='Qwen/Qwen3-Coder-Next-FP8', tp_size=1, enable_expert_parallel=False, dtype='auto', use_deep_gemm=False, save_dir='/mnt/fused_moe_configs/', seed=0, batch_size=None, tune=True, trust_remote_code=False, model_prefix=None)
2026-03-16 12:35:25,013 INFO worker.py:2013 -- Started a local Ray instance.
/usr/local/lib/python3.12/dist-packages/ray/_private/worker.py:2052: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0
  warnings.warn(
Start tuning over 1920 configurations...
(BenchmarkWorker pid=726) Mon Mar 16 12:49:04 2026] Completed tuning for batch_size=1
(BenchmarkWorker pid=796) Mon Mar 16 12:49:04 2026] Completed tuning for batch_size=2
(BenchmarkWorker pid=726) Mon Mar 16 12:50:29 2026] Completed tuning for batch_size=4
(pid=726) :  85%|██████████████████████████████████████████████████████████████████████████████████████████████████▏                 | 1.63k/1.92k [11:56<01:02, 4.73it/s]Traceback (most recent call last):██████████████████████████████████████████████████████████████████████████████████████████████▏    | 1.84k/1.92k [13:15<02:00, 1.52s/it]
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 1041, in <module>
    main(args)
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 951, in main
    configs = _distribute(
              ^^^^^^^^^^^^
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 927, in _distribute
    return ray.get(outputs)
           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/ray/_private/auto_init_hook.py", line 22, in auto_init_wrapper
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/ray/_private/client_mode_hook.py", line 104, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/ray/_private/worker.py", line 2981, in get
    values, debugger_breakpoint = worker.get_objects(
                                  ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/ray/_private/worker.py", line 1012, in get_objects
    raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(RuntimeError): ray::BenchmarkWorker.tune() (pid=726, ip=XXX, actor_id=5f66c1327f7a25a3b8fd359101000000, repr=<benchmark_moe.BenchmarkWorker object at 0xfc7a5e152750>)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 632, in tune
    kernel_time = benchmark_config(
                  ^^^^^^^^^^^^^^^^^
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 306, in benchmark_config
    run()
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 295, in run
    return fused_experts(
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1578, in fused_experts
    return dispatch_fused_experts_func(inplace)(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1548, in torch_vllm_outplace_fused_experts
    return torch.ops.vllm.outplace_fused_experts(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/_ops.py", line 1209, in __call__
    return self._op(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/utils/_device.py", line 109, in __torch_function__
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/_ops.py", line 1209, in __call__
    return self._op(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1476, in outplace_fused_experts
    return fused_experts_impl(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1855, in fused_experts_impl
    dispatch_fused_moe_kernel(
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 918, in dispatch_fused_moe_kernel
    invoke_fused_moe_triton_kernel(
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 794, in invoke_fused_moe_triton_kernel
    fused_moe_kernel[grid](
  File "/usr/local/lib/python3.12/dist-packages/triton/runtime/jit.py", line 370, in <lambda>
    return lambda *args, **kwargs: self.run(grid=grid, warmup=False, *args, **kwargs)
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/runtime/jit.py", line 720, in run
    kernel = self._do_compile(key, signature, device, constexprs, options, attrs, warmup)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/runtime/jit.py", line 849, in _do_compile
    kernel = self.compile(src, target=target, options=options.__dict__)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/compiler/compiler.py", line 324, in compile
    next_module = compile_ir(module, metadata)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/backends/nvidia/compiler.py", line 541, in <lambda>
    stages["ttgir"] = lambda src, metadata: self.make_ttgir(src, metadata, options, capability)
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/backends/nvidia/compiler.py", line 316, in make_ttgir
    pm.run(mod, 'make_ttgir')
RuntimeError: PassManager::run failed
(BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:574:24: error: operand #0 does not dominate this use
(BenchmarkWorker pid=726)     c_mask = token_mask[:, None] & (offs_cn[None, :] < N)
(BenchmarkWorker pid=726)                        ^
(BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:508:28: note: operand defined here (op in a child region)
(BenchmarkWorker pid=726)             mask=token_mask[:, None] & (offs_k[None, :] < K - k * BLOCK_SIZE_K),
(BenchmarkWorker pid=726)                            ^
(BenchmarkWorker pid=726) module {
(BenchmarkWorker pid=726)   tt.func public @fused_moe_kernel(%arg0: !tt.ptr<bf16> {tt.divisibility = 16 : i32}, %arg1: !tt.ptr<bf16> {tt.divisibility = 16 : i32}, %arg2: !tt.ptr<bf16> {tt.divisibility = 16 : i32}, %arg3: !tt.ptr<f32> {tt.divisibility = 16 : i32}, %arg4: !tt.ptr<i32> {tt.divisibility = 16 : i32}, %arg5: !tt.ptr<i32> {tt.divisibility = 16 : i32}, %arg6: !tt.ptr<i32> {tt.divisibility = 16 : i32}, %arg7: i32 {tt.divisibility = 16 : i32}, %arg8: i32 {tt.divisibility = 16 : i32}, %arg9: i32 {tt.divisibility = 16 : i32}, %arg10: i32 {tt.divisibility = 16 : i32}, %arg11: i32 {tt.divisibility = 16 : i32}, %arg12: i32 {tt.divisibility = 16 : i32}, %arg13: i32 {tt.divisibility = 16 : i32}, %arg14: i32 {tt.divisibility = 16 : i32}, %arg15: i32 {tt.divisibility = 16 : i32}, %arg16: i32 {tt.divisibility = 16 : i32}, %arg17: i32 {tt.divisibility = 16 : i32}, %arg18: i32 {tt.divisibility = 16 : i32}, %arg19: i32 {tt.divisibility = 16 : i32}, %arg20: i32 {tt.divisibility = 16 : i32}, %arg21: i32 {tt.divisibility = 16 : i32}) attributes {noinline = false} {
(BenchmarkWorker pid=726)     %c63_i32 = arith.constant 63 : i32
(BenchmarkWorker pid=726)     %c255_i32 = arith.constant 255 : i32
(BenchmarkWorker pid=726)     %cst = arith.constant dense<0.000000e+00> : tensor<64x64xbf16>
(BenchmarkWorker pid=726)     %cst_0 = arith.constant dense<0.000000e+00> : tensor<256x64xbf16>
(BenchmarkWorker pid=726)     %c0_i32 = arith.constant 0 : i32
(BenchmarkWorker pid=726)     %c-1_i64 = arith.constant -1 : i64
(BenchmarkWorker pid=726)     %cst_1 = arith.constant dense<64> : tensor<64x64xi32>
(BenchmarkWorker pid=726)     %cst_2 = arith.constant dense<64> : tensor<256x64xi32>
(BenchmarkWorker pid=726)     %cst_3 = arith.constant dense<0.000000e+00> : tensor<256x64xf32>
(BenchmarkWorker pid=726)     %cst_4 = arith.constant dense<10> : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %c64_i32 = arith.constant 64 : i32
(BenchmarkWorker pid=726)     %c256_i32 = arith.constant 256 : i32
(BenchmarkWorker pid=726)     %c1_i32 = arith.constant 1 : i32
(BenchmarkWorker pid=726)     %0 = tt.get_program_id x : i32
(BenchmarkWorker pid=726)     %1 = arith.addi %arg9, %c255_i32 : i32
(BenchmarkWorker pid=726)     %2 = arith.divsi %1, %c256_i32 : i32
(BenchmarkWorker pid=726)     %3 = arith.addi %arg7, %c63_i32 : i32
(BenchmarkWorker pid=726)     %4 = arith.divsi %3, %c64_i32 : i32
(BenchmarkWorker pid=726)     %5 = arith.divsi %0, %4 : i32
(BenchmarkWorker pid=726)     %6 = arith.subi %2, %5 : i32
(BenchmarkWorker pid=726)     %7 = arith.minsi %6, %c1_i32 : i32
(BenchmarkWorker pid=726)     %8 = arith.remsi %0, %4 : i32
(BenchmarkWorker pid=726)     %9 = arith.remsi %8, %7 : i32
(BenchmarkWorker pid=726)     %10 = arith.addi %5, %9 : i32
(BenchmarkWorker pid=726)     %11 = arith.divsi %8, %7 : i32
(BenchmarkWorker pid=726)     %12 = tt.make_range {end = 256 : i32, start = 0 : i32} : tensor<256xi32>
(BenchmarkWorker pid=726)     %13 = arith.extsi %12 : tensor<256xi32> to tensor<256xi64>
(BenchmarkWorker pid=726)     %14 = tt.load %arg6 : !tt.ptr<i32>
(BenchmarkWorker pid=726)     %15 = arith.muli %10, %c256_i32 : i32
(BenchmarkWorker pid=726)     %16 = arith.cmpi sge, %15, %14 : i32
(BenchmarkWorker pid=726)     cf.cond_br %16, ^bb1, ^bb2
(BenchmarkWorker pid=726)   ^bb1:  // pred: ^bb0
(BenchmarkWorker pid=726)     tt.return
(BenchmarkWorker pid=726)   ^bb2:  // pred: ^bb0
(BenchmarkWorker pid=726)     %17 = arith.extsi %15 : i32 to i64
(BenchmarkWorker pid=726)     %18 = tt.splat %17 : i64 -> tensor<256xi64>
(BenchmarkWorker pid=726)     %19 = arith.addi %18, %13 : tensor<256xi64>
(BenchmarkWorker pid=726)     %20 = tt.splat %arg4 : !tt.ptr<i32> -> tensor<256x!tt.ptr<i32>>
(BenchmarkWorker pid=726)     %21 = tt.addptr %20, %19 : tensor<256x!tt.ptr<i32>>, tensor<256xi64>
(BenchmarkWorker pid=726)     %22 = tt.load %21 : tensor<256x!tt.ptr<i32>>
(BenchmarkWorker pid=726)     %23 = arith.extsi %22 : tensor<256xi32> to tensor<256xi64>
(BenchmarkWorker pid=726)     %24 = arith.extsi %arg10 : i32 to i64
(BenchmarkWorker pid=726)     %25 = tt.splat %24 : i64 -> tensor<256xi64>
(BenchmarkWorker pid=726)     %26 = arith.cmpi slt, %23, %25 : tensor<256xi64>
(BenchmarkWorker pid=726)     %27 = tt.addptr %arg5, %10 : !tt.ptr<i32>, i32
(BenchmarkWorker pid=726)     %28 = tt.load %27 : !tt.ptr<i32>
(BenchmarkWorker pid=726)     %29 = arith.extsi %28 : i32 to i64
(BenchmarkWorker pid=726)     %30 = arith.cmpi eq, %29, %c-1_i64 : i64
(BenchmarkWorker pid=726)     cf.cond_br %30, ^bb3, ^bb4
(BenchmarkWorker pid=726)   ^bb3:  // pred: ^bb2
(BenchmarkWorker pid=726)     %31 = arith.muli %11, %c64_i32 : i32
(BenchmarkWorker pid=726)     %32 = tt.make_range {end = 64 : i32, start = 0 : i32} : tensor<64xi32>
(BenchmarkWorker pid=726)     %33 = tt.splat %31 : i32 -> tensor<64xi32>
(BenchmarkWorker pid=726)     %34 = arith.addi %33, %32 : tensor<64xi32>
(BenchmarkWorker pid=726)     %35 = tt.expand_dims %23 {axis = 1 : i32} : tensor<256xi64> -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %36 = arith.extsi %arg14 : i32 to i64
(BenchmarkWorker pid=726)     %37 = tt.splat %36 : i64 -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %38 = arith.muli %37, %35 : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %39 = tt.splat %arg2 : !tt.ptr<bf16> -> tensor<256x1x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %40 = tt.addptr %39, %38 : tensor<256x1x!tt.ptr<bf16>>, tensor<256x1xi64>
(BenchmarkWorker pid=726)     %41 = tt.expand_dims %34 {axis = 0 : i32} : tensor<64xi32> -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %42 = tt.broadcast %40 : tensor<256x1x!tt.ptr<bf16>> -> tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %43 = tt.broadcast %41 : tensor<1x64xi32> -> tensor<256x64xi32>
(BenchmarkWorker pid=726)     %44 = tt.addptr %42, %43 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi32>
(BenchmarkWorker pid=726)     %45 = tt.expand_dims %26 {axis = 1 : i32} : tensor<256xi1> -> tensor<256x1xi1>
(BenchmarkWorker pid=726)     %46 = tt.splat %arg7 : i32 -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %47 = arith.cmpi slt, %41, %46 : tensor<1x64xi32>
(BenchmarkWorker pid=726)     %48 = tt.broadcast %45 : tensor<256x1xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)     %49 = tt.broadcast %47 : tensor<1x64xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)     %50 = arith.andi %48, %49 : tensor<256x64xi1>
(BenchmarkWorker pid=726)     tt.store %44, %cst_0, %50 : tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     tt.return
(BenchmarkWorker pid=726)   ^bb4:  // pred: ^bb2
(BenchmarkWorker pid=726)     %51 = arith.muli %11, %c64_i32 : i32
(BenchmarkWorker pid=726)     %52 = tt.make_range {end = 64 : i32, start = 0 : i32} : tensor<64xi32>
(BenchmarkWorker pid=726)     %53 = arith.extsi %52 : tensor<64xi32> to tensor<64xi64>
(BenchmarkWorker pid=726)     %54 = arith.extsi %51 : i32 to i64
(BenchmarkWorker pid=726)     %55 = tt.splat %54 : i64 -> tensor<64xi64>
(BenchmarkWorker pid=726)     %56 = arith.addi %55, %53 : tensor<64xi64>
(BenchmarkWorker pid=726)     %57 = arith.extsi %arg7 : i32 to i64
(BenchmarkWorker pid=726)     %58 = tt.splat %57 : i64 -> tensor<64xi64>
(BenchmarkWorker pid=726)     %59 = arith.remsi %56, %58 : tensor<64xi64>
(BenchmarkWorker pid=726)     %60 = tt.expand_dims %23 {axis = 1 : i32} : tensor<256xi64> -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %61 = arith.divsi %60, %cst_4 : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %62 = arith.extsi %arg11 : i32 to i64
(BenchmarkWorker pid=726)     %63 = tt.splat %62 : i64 -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %64 = arith.muli %61, %63 : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %65 = tt.expand_dims %52 {axis = 0 : i32} : tensor<64xi32> -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %66 = arith.extsi %65 : tensor<1x64xi32> to tensor<1x64xi64>
(BenchmarkWorker pid=726)     %67 = tt.broadcast %64 : tensor<256x1xi64> -> tensor<256x64xi64>
(BenchmarkWorker pid=726)     %68 = tt.broadcast %66 : tensor<1x64xi64> -> tensor<256x64xi64>
(BenchmarkWorker pid=726)     %69 = arith.addi %67, %68 : tensor<256x64xi64>
(BenchmarkWorker pid=726)     %70 = tt.splat %arg0 : !tt.ptr<bf16> -> tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %71 = tt.addptr %70, %69 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi64>
(BenchmarkWorker pid=726)     %72 = arith.extsi %arg12 : i32 to i64
(BenchmarkWorker pid=726)     %73 = arith.muli %29, %72 : i64
(BenchmarkWorker pid=726)     %74 = tt.addptr %arg1, %73 : !tt.ptr<bf16>, i64
(BenchmarkWorker pid=726)     %75 = tt.expand_dims %52 {axis = 1 : i32} : tensor<64xi32> -> tensor<64x1xi32>
(BenchmarkWorker pid=726)     %76 = tt.expand_dims %59 {axis = 0 : i32} : tensor<64xi64> -> tensor<1x64xi64>
(BenchmarkWorker pid=726)     %77 = arith.extsi %arg13 : i32 to i64
(BenchmarkWorker pid=726)     %78 = tt.splat %77 : i64 -> tensor<1x64xi64>
(BenchmarkWorker pid=726)     %79 = arith.muli %76, %78 : tensor<1x64xi64>
(BenchmarkWorker pid=726)     %80 = arith.extsi %75 : tensor<64x1xi32> to tensor<64x1xi64>
(BenchmarkWorker pid=726)     %81 = tt.broadcast %80 : tensor<64x1xi64> -> tensor<64x64xi64>
(BenchmarkWorker pid=726)     %82 = tt.broadcast %79 : tensor<1x64xi64> -> tensor<64x64xi64>
(BenchmarkWorker pid=726)     %83 = arith.addi %81, %82 : tensor<64x64xi64>
(BenchmarkWorker pid=726)     %84 = tt.splat %74 : !tt.ptr<bf16> -> tensor<64x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %85 = tt.addptr %84, %83 : tensor<64x64x!tt.ptr<bf16>>, tensor<64x64xi64>
(BenchmarkWorker pid=726)     %86 = arith.addi %arg8, %c63_i32 : i32
(BenchmarkWorker pid=726)     %87 = arith.divsi %86, %c64_i32 : i32
(BenchmarkWorker pid=726)     %88:3 = scf.for %arg22 = %c0_i32 to %87 step %c1_i32 iter_args(%arg23 = %71, %arg24 = %85, %arg25 = %cst_3) -> (tensor<256x64x!tt.ptr<bf16>>, tensor<64x64x!tt.ptr<bf16>>, tensor<256x64xf32>)  : i32 {
(BenchmarkWorker pid=726)       %107 = tt.expand_dims %26 {axis = 1 : i32} : tensor<256xi1> -> tensor<256x1xi1>
(BenchmarkWorker pid=726)       %108 = arith.muli %arg22, %c64_i32 : i32
(BenchmarkWorker pid=726)       %109 = arith.subi %arg8, %108 : i32
(BenchmarkWorker pid=726)       %110 = tt.splat %109 : i32 -> tensor<1x64xi32>
(BenchmarkWorker pid=726)       %111 = arith.cmpi slt, %65, %110 : tensor<1x64xi32>
(BenchmarkWorker pid=726)       %112 = tt.broadcast %107 : tensor<256x1xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)       %113 = tt.broadcast %111 : tensor<1x64xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)       %114 = arith.andi %112, %113 : tensor<256x64xi1>
(BenchmarkWorker pid=726)       %115 = tt.load %arg23, %114, %cst_0 : tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)       %116 = tt.splat %109 : i32 -> tensor<64x1xi32>
(BenchmarkWorker pid=726)       %117 = arith.cmpi slt, %75, %116 : tensor<64x1xi32>
(BenchmarkWorker pid=726)       %118 = tt.broadcast %117 : tensor<64x1xi1> -> tensor<64x64xi1>
(BenchmarkWorker pid=726)       %119 = tt.load %arg24, %118, %cst : tensor<64x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)       %120 = tt.dot %115, %119, %arg25, inputPrecision = tf32 : tensor<256x64xbf16> * tensor<64x64xbf16> -> tensor<256x64xf32>
(BenchmarkWorker pid=726)       %121 = tt.addptr %arg23, %cst_2 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi32>
(BenchmarkWorker pid=726)       %122 = tt.addptr %arg24, %cst_1 : tensor<64x64x!tt.ptr<bf16>>, tensor<64x64xi32>
(BenchmarkWorker pid=726)       scf.yield %121, %122, %120 : tensor<256x64x!tt.ptr<bf16>>, tensor<64x64x!tt.ptr<bf16>>, tensor<256x64xf32>
(BenchmarkWorker pid=726)     }
(BenchmarkWorker pid=726)     %89 = arith.truncf %88#2 : tensor<256x64xf32> to tensor<256x64xbf16>
(BenchmarkWorker pid=726)     %90 = tt.splat %51 : i32 -> tensor<64xi32>
(BenchmarkWorker pid=726)     %91 = arith.addi %90, %52 : tensor<64xi32>
(BenchmarkWorker pid=726)     %92 = arith.extsi %arg14 : i32 to i64
(BenchmarkWorker pid=726)     %93 = tt.splat %92 : i64 -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %94 = arith.muli %93, %60 : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %95 = tt.splat %arg2 : !tt.ptr<bf16> -> tensor<256x1x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %96 = tt.addptr %95, %94 : tensor<256x1x!tt.ptr<bf16>>, tensor<256x1xi64>
(BenchmarkWorker pid=726)     %97 = tt.expand_dims %91 {axis = 0 : i32} : tensor<64xi32> -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %98 = tt.broadcast %96 : tensor<256x1x!tt.ptr<bf16>> -> tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %99 = tt.broadcast %97 : tensor<1x64xi32> -> tensor<256x64xi32>
(BenchmarkWorker pid=726)     %100 = tt.addptr %98, %99 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi32>
(BenchmarkWorker pid=726)     %101 = tt.expand_dims %26 {axis = 1 : i32} : tensor<256xi1> -> tensor<256x1xi1>
(BenchmarkWorker pid=726)     %102 = tt.splat %arg7 : i32 -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %103 = arith.cmpi slt, %97, %102 : tensor<1x64xi32>
(BenchmarkWorker pid=726)     %104 = tt.broadcast %101 : tensor<256x1xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)     %105 = tt.broadcast %103 : tensor<1x64xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)     %106 = arith.andi %104, %105 : tensor<256x64xi1>
(BenchmarkWorker pid=726)     tt.store %100, %89, %106 : tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     tt.return
(BenchmarkWorker pid=726)   }
(BenchmarkWorker pid=726) }
(BenchmarkWorker pid=726)
(BenchmarkWorker pid=726) {-#
(BenchmarkWorker pid=726)   external_resources: {
(BenchmarkWorker pid=726)     mlir_reproducer: {
(BenchmarkWorker pid=726)       pipeline: "builtin.module(convert-triton-to-tritongpu{enable-source-remat=false num-ctas=1 num-warps=4 target=cuda:90 threads-per-warp=32}, tritongpu-coalesce, tritongpu-F32DotTC{emu-tf32=true}, triton-nvidia-gpu-plan-cta, tritongpu-remove-layout-conversions, tritongpu-optimize-thread-locality, tritongpu-accelerate-matmul, tritongpu-remove-layout-conversions, tritongpu-optimize-dot-operands{hoist-layout-conversion=true}, triton-nvidia-optimize-descriptor-encoding, triton-loop-aware-cse, tritongpu-fuse-nested-loops, canonicalize{  max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}, triton-licm, canonicalize{  max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}, tritongpu-combine-tensor-select-and-if, nvgpu-warp-specialization{dump-intermediate-steps=false num-stages=2}, tritongpu-assign-latencies{num-stages=2}, tritongpu-schedule-loops, tritongpu-pipeline{dump-intermediate-steps=false num-stages=2}, canonicalize{  max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}, triton-loop-aware-cse, tritongpu-prefetch, tritongpu-optimize-dot-operands{hoist-layout-conversion=true}, tritongpu-coalesce-async-copy, triton-nvidia-optimize-tmem-layouts, triton-nvidia-tma-lowering, tritongpu-remove-layout-conversions, triton-nvidia-interleave-tmem, tritongpu-reduce-data-duplication, tritongpu-reorder-instructions, triton-loop-aware-cse, symbol-dce, triton-nvidia-gpu-fence-insertion{compute-capability=90}, triton-nvidia-mma-lowering, sccp, cse, canonicalize{  max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true})",
(BenchmarkWorker pid=726)       disable_threading: true,
(BenchmarkWorker pid=726)       verify_each: true
(BenchmarkWorker pid=726)     }
(BenchmarkWorker pid=726)   }
(BenchmarkWorker pid=726) #-}
(BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:315:0: error: Failures have been detected while processing an MLIR pass pipeline
(BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:315:0: note: Pipeline failed while executing [`TritonGPURemoveLayoutConversions` on 'builtin.module' operation]: reproducer generated at `std::errs, please share the reproducer above with Triton project.`
(pid=726) :  98%|█████████▊| 1.89k/1.92k [26:58<00:26, 1.17it/s]
(pid=726) :  97%|█████████▋| 1.85k/1.92k [13:24<00:28, 2.31it/s]
(pid=726) :  85%|████████▍ | 1.63k/1.92k [11:59<02:10, 2.26it/s]
(pid=726) :   0%|          | 1.00/1.92k [00:02<1:23:09, 2.60s/it]
(pid=796) :  98%|█████████▊| 1.89k/1.92k [26:57<00:26, 1.17it/s]
(pid=796) :  96%|█████████▌| 1.84k/1.92k [13:24<00:34, 2.29it/s]

Code Example

==============================
        System Info
==============================
OS                           : Ubuntu 22.04.5 LTS (aarch64)
GCC version                  : (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0
Clang version                : Could not collect
CMake version                : Could not collect
Libc version                 : glibc-2.35

==============================
       PyTorch Info
==============================
PyTorch version              : 2.10.0+cu129
Is debug build               : False
CUDA used to build PyTorch   : 12.9
ROCM used to build PyTorch   : N/A

==============================
      Python Environment
==============================
Python version               : 3.12.13 (main, Mar  4 2026, 09:23:07) [GCC 11.4.0] (64-bit runtime)
Python platform              : Linux-6.8.0-1047-nvidia-64k-aarch64-with-glibc2.35

==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : 12.9.86
CUDA_MODULE_LOADING set to   :
GPU models and configuration :
GPU 0: NVIDIA GH200 144G HBM3e
GPU 1: NVIDIA GH200 144G HBM3e

Nvidia driver version        : 595.45.04
cuDNN version                : Could not collect
HIP runtime version          : N/A
MIOpen runtime version       : N/A
Is XNNPACK available         : True

==============================
          CPU Info
==============================
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  144
On-line CPU(s) list:                     0-143
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   0
Thread(s) per core:                      1
Core(s) per cluster:                     72
Socket(s):                               -
Cluster(s):                              2
Stepping:                                r0p0
Frequency boost:                         disabled
CPU max MHz:                             3474.0000
CPU min MHz:                             81.0000
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti
L1d cache:                               9 MiB (144 instances)
L1i cache:                               9 MiB (144 instances)
L2 cache:                                144 MiB (144 instances)
L3 cache:                                228 MiB (2 instances)
NUMA node(s):                            18
NUMA node0 CPU(s):                       0-71
NUMA node1 CPU(s):                       72-143
NUMA node2 CPU(s):
NUMA node3 CPU(s):
NUMA node4 CPU(s):
NUMA node5 CPU(s):
NUMA node6 CPU(s):
NUMA node7 CPU(s):
NUMA node8 CPU(s):
NUMA node9 CPU(s):
NUMA node10 CPU(s):
NUMA node11 CPU(s):
NUMA node12 CPU(s):
NUMA node13 CPU(s):
NUMA node14 CPU(s):
NUMA node15 CPU(s):
NUMA node16 CPU(s):
NUMA node17 CPU(s):
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.4
[pip3] numpy==2.2.6
[pip3] nvidia-cublas-cu12==12.9.1.4
[pip3] nvidia-cuda-cupti-cu12==12.9.79
[pip3] nvidia-cuda-nvrtc-cu12==12.9.86
[pip3] nvidia-cuda-runtime-cu12==12.9.79
[pip3] nvidia-cudnn-cu12==9.10.2.21
[pip3] nvidia-cudnn-frontend==1.18.0
[pip3] nvidia-cufft-cu12==11.4.1.4
[pip3] nvidia-cufile-cu12==1.14.1.1
[pip3] nvidia-curand-cu12==10.3.10.19
[pip3] nvidia-cusolver-cu12==11.7.5.82
[pip3] nvidia-cusparse-cu12==12.5.10.65
[pip3] nvidia-cusparselt-cu12==0.7.1
[pip3] nvidia-cutlass-dsl==4.4.1
[pip3] nvidia-cutlass-dsl-libs-base==4.4.1
[pip3] nvidia-ml-py==13.590.48
[pip3] nvidia-nccl-cu12==2.27.5
[pip3] nvidia-nvjitlink-cu12==12.9.86
[pip3] nvidia-nvshmem-cu12==3.4.5
[pip3] nvidia-nvtx-cu12==12.9.79
[pip3] pyzmq==27.1.0
[pip3] torch==2.10.0+cu129
[pip3] torch_c_dlpack_ext==0.1.5
[pip3] torchaudio==2.10.0+cu129
[pip3] torchvision==0.25.0+cu129
[pip3] transformers==4.57.6
[pip3] triton==3.6.0
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : Could not collect
vLLM Version                 : 0.17.1
vLLM Build Flags:
  CUDA Archs: 8.7 8.9 9.0 10.0+PTX 12.0; ROCm: Disabled
GPU Topology:
        GPU0    GPU1    NIC0    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      NV18    NODE    0-71    0               2
GPU1    NV18     X      SYS     72-143  1               10
NIC0    NODE    SYS      X

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

NIC Legend:

  NIC0: roceP2p1s0f0

==============================
     Environment Variables
==============================
NVIDIA_VISIBLE_DEVICES=void
NVIDIA_REQUIRE_CUDA=cuda>=12.9 brand=unknown,driver>=535,driver<536 brand=grid,driver>=535,driver<536 brand=tesla,driver>=535,driver<536 brand=nvidia,driver>=535,driver<536 brand=quadro,driver>=535,driver<536 brand=quadrortx,driver>=535,driver<536 brand=nvidiartx,driver>=535,driver<536 brand=vapps,driver>=535,driver<536 brand=vpc,driver>=535,driver<536 brand=vcs,driver>=535,driver<536 brand=vws,driver>=535,driver<536 brand=cloudgaming,driver>=535,driver<536 brand=unknown,driver>=550,driver<551 brand=grid,driver>=550,driver<551 brand=tesla,driver>=550,driver<551 brand=nvidia,driver>=550,driver<551 brand=quadro,driver>=550,driver<551 brand=quadrortx,driver>=550,driver<551 brand=nvidiartx,driver>=550,driver<551 brand=vapps,driver>=550,driver<551 brand=vpc,driver>=550,driver<551 brand=vcs,driver>=550,driver<551 brand=vws,driver>=550,driver<551 brand=cloudgaming,driver>=550,driver<551 brand=unknown,driver>=560,driver<561 brand=grid,driver>=560,driver<561 brand=tesla,driver>=560,driver<561 brand=nvidia,driver>=560,driver<561 brand=quadro,driver>=560,driver<561 brand=quadrortx,driver>=560,driver<561 brand=nvidiartx,driver>=560,driver<561 brand=vapps,driver>=560,driver<561 brand=vpc,driver>=560,driver<561 brand=vcs,driver>=560,driver<561 brand=vws,driver>=560,driver<561 brand=cloudgaming,driver>=560,driver<561 brand=unknown,driver>=565,driver<566 brand=grid,driver>=565,driver<566 brand=tesla,driver>=565,driver<566 brand=nvidia,driver>=565,driver<566 brand=quadro,driver>=565,driver<566 brand=quadrortx,driver>=565,driver<566 brand=nvidiartx,driver>=565,driver<566 brand=vapps,driver>=565,driver<566 brand=vpc,driver>=565,driver<566 brand=vcs,driver>=565,driver<566 brand=vws,driver>=565,driver<566 brand=cloudgaming,driver>=565,driver<566 brand=unknown,driver>=570,driver<571 brand=grid,driver>=570,driver<571 brand=tesla,driver>=570,driver<571 brand=nvidia,driver>=570,driver<571 brand=quadro,driver>=570,driver<571 brand=quadrortx,driver>=570,driver<571 brand=nvidiartx,driver>=570,driver<571 brand=vapps,driver>=570,driver<571 brand=vpc,driver>=570,driver<571 brand=vcs,driver>=570,driver<571 brand=vws,driver>=570,driver<571 brand=cloudgaming,driver>=570,driver<571
TORCH_CUDA_ARCH_LIST=8.7 8.9 9.0 10.0+PTX 12.0
NVIDIA_DRIVER_CAPABILITIES=compute,utility
VLLM_USAGE_SOURCE=production-docker-image
CUDA_VERSION=12.9.1
VLLM_ENABLE_CUDA_COMPATIBILITY=0
LD_LIBRARY_PATH=/usr/local/nvidia/lib64:/usr/local/cuda/lib64:/usr/local/cuda/lib64
NVIDIA_CTK_LIBCUDA_DIR=/usr/lib/aarch64-linux-gnu
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
TORCHINDUCTOR_CACHE_DIR=/tmp/torchinductor_root

---

docker run --gpus all --ipc=host \
  --entrypoint /bin/bash \
  -it vllm/vllm-openai:v0.17.1-aarch64

---

docker run --gpus all --ipc=host \
  --entrypoint /bin/bash \
  -it vllm/vllm-openai:v0.17.1-aarch64-cu130

---

python3 benchmark_moe.py -tp 1 --tune --model "Qwen/Qwen3-Coder-Next-FP8"
Namespace(model='Qwen/Qwen3-Coder-Next-FP8', tp_size=1, enable_expert_parallel=False, dtype='auto', use_deep_gemm=False, save_dir='/mnt/fused_moe_configs/', seed=0, batch_size=None, tune=True, trust_remote_code=False, model_prefix=None)
2026-03-16 12:35:25,013 INFO worker.py:2013 -- Started a local Ray instance.
/usr/local/lib/python3.12/dist-packages/ray/_private/worker.py:2052: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0
  warnings.warn(
Start tuning over 1920 configurations...
(BenchmarkWorker pid=726) Mon Mar 16 12:49:04 2026] Completed tuning for batch_size=1
(BenchmarkWorker pid=796) Mon Mar 16 12:49:04 2026] Completed tuning for batch_size=2
(BenchmarkWorker pid=726) Mon Mar 16 12:50:29 2026] Completed tuning for batch_size=4
(pid=726) :  85%|██████████████████████████████████████████████████████████████████████████████████████████████████▏                 | 1.63k/1.92k [11:56<01:02, 4.73it/s]Traceback (most recent call last):██████████████████████████████████████████████████████████████████████████████████████████████▏    | 1.84k/1.92k [13:15<02:00, 1.52s/it]
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 1041, in <module>
    main(args)
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 951, in main
    configs = _distribute(
              ^^^^^^^^^^^^
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 927, in _distribute
    return ray.get(outputs)
           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/ray/_private/auto_init_hook.py", line 22, in auto_init_wrapper
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/ray/_private/client_mode_hook.py", line 104, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/ray/_private/worker.py", line 2981, in get
    values, debugger_breakpoint = worker.get_objects(
                                  ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/ray/_private/worker.py", line 1012, in get_objects
    raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(RuntimeError): ray::BenchmarkWorker.tune() (pid=726, ip=XXX, actor_id=5f66c1327f7a25a3b8fd359101000000, repr=<benchmark_moe.BenchmarkWorker object at 0xfc7a5e152750>)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 632, in tune
    kernel_time = benchmark_config(
                  ^^^^^^^^^^^^^^^^^
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 306, in benchmark_config
    run()
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 295, in run
    return fused_experts(
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1578, in fused_experts
    return dispatch_fused_experts_func(inplace)(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1548, in torch_vllm_outplace_fused_experts
    return torch.ops.vllm.outplace_fused_experts(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/_ops.py", line 1209, in __call__
    return self._op(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/utils/_device.py", line 109, in __torch_function__
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/_ops.py", line 1209, in __call__
    return self._op(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1476, in outplace_fused_experts
    return fused_experts_impl(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1855, in fused_experts_impl
    dispatch_fused_moe_kernel(
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 918, in dispatch_fused_moe_kernel
    invoke_fused_moe_triton_kernel(
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 794, in invoke_fused_moe_triton_kernel
    fused_moe_kernel[grid](
  File "/usr/local/lib/python3.12/dist-packages/triton/runtime/jit.py", line 370, in <lambda>
    return lambda *args, **kwargs: self.run(grid=grid, warmup=False, *args, **kwargs)
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/runtime/jit.py", line 720, in run
    kernel = self._do_compile(key, signature, device, constexprs, options, attrs, warmup)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/runtime/jit.py", line 849, in _do_compile
    kernel = self.compile(src, target=target, options=options.__dict__)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/compiler/compiler.py", line 324, in compile
    next_module = compile_ir(module, metadata)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/backends/nvidia/compiler.py", line 541, in <lambda>
    stages["ttgir"] = lambda src, metadata: self.make_ttgir(src, metadata, options, capability)
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/backends/nvidia/compiler.py", line 316, in make_ttgir
    pm.run(mod, 'make_ttgir')
RuntimeError: PassManager::run failed
(BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:574:24: error: operand #0 does not dominate this use
(BenchmarkWorker pid=726)     c_mask = token_mask[:, None] & (offs_cn[None, :] < N)
(BenchmarkWorker pid=726)                        ^
(BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:508:28: note: operand defined here (op in a child region)
(BenchmarkWorker pid=726)             mask=token_mask[:, None] & (offs_k[None, :] < K - k * BLOCK_SIZE_K),
(BenchmarkWorker pid=726)                            ^
(BenchmarkWorker pid=726) module {
(BenchmarkWorker pid=726)   tt.func public @fused_moe_kernel(%arg0: !tt.ptr<bf16> {tt.divisibility = 16 : i32}, %arg1: !tt.ptr<bf16> {tt.divisibility = 16 : i32}, %arg2: !tt.ptr<bf16> {tt.divisibility = 16 : i32}, %arg3: !tt.ptr<f32> {tt.divisibility = 16 : i32}, %arg4: !tt.ptr<i32> {tt.divisibility = 16 : i32}, %arg5: !tt.ptr<i32> {tt.divisibility = 16 : i32}, %arg6: !tt.ptr<i32> {tt.divisibility = 16 : i32}, %arg7: i32 {tt.divisibility = 16 : i32}, %arg8: i32 {tt.divisibility = 16 : i32}, %arg9: i32 {tt.divisibility = 16 : i32}, %arg10: i32 {tt.divisibility = 16 : i32}, %arg11: i32 {tt.divisibility = 16 : i32}, %arg12: i32 {tt.divisibility = 16 : i32}, %arg13: i32 {tt.divisibility = 16 : i32}, %arg14: i32 {tt.divisibility = 16 : i32}, %arg15: i32 {tt.divisibility = 16 : i32}, %arg16: i32 {tt.divisibility = 16 : i32}, %arg17: i32 {tt.divisibility = 16 : i32}, %arg18: i32 {tt.divisibility = 16 : i32}, %arg19: i32 {tt.divisibility = 16 : i32}, %arg20: i32 {tt.divisibility = 16 : i32}, %arg21: i32 {tt.divisibility = 16 : i32}) attributes {noinline = false} {
(BenchmarkWorker pid=726)     %c63_i32 = arith.constant 63 : i32
(BenchmarkWorker pid=726)     %c255_i32 = arith.constant 255 : i32
(BenchmarkWorker pid=726)     %cst = arith.constant dense<0.000000e+00> : tensor<64x64xbf16>
(BenchmarkWorker pid=726)     %cst_0 = arith.constant dense<0.000000e+00> : tensor<256x64xbf16>
(BenchmarkWorker pid=726)     %c0_i32 = arith.constant 0 : i32
(BenchmarkWorker pid=726)     %c-1_i64 = arith.constant -1 : i64
(BenchmarkWorker pid=726)     %cst_1 = arith.constant dense<64> : tensor<64x64xi32>
(BenchmarkWorker pid=726)     %cst_2 = arith.constant dense<64> : tensor<256x64xi32>
(BenchmarkWorker pid=726)     %cst_3 = arith.constant dense<0.000000e+00> : tensor<256x64xf32>
(BenchmarkWorker pid=726)     %cst_4 = arith.constant dense<10> : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %c64_i32 = arith.constant 64 : i32
(BenchmarkWorker pid=726)     %c256_i32 = arith.constant 256 : i32
(BenchmarkWorker pid=726)     %c1_i32 = arith.constant 1 : i32
(BenchmarkWorker pid=726)     %0 = tt.get_program_id x : i32
(BenchmarkWorker pid=726)     %1 = arith.addi %arg9, %c255_i32 : i32
(BenchmarkWorker pid=726)     %2 = arith.divsi %1, %c256_i32 : i32
(BenchmarkWorker pid=726)     %3 = arith.addi %arg7, %c63_i32 : i32
(BenchmarkWorker pid=726)     %4 = arith.divsi %3, %c64_i32 : i32
(BenchmarkWorker pid=726)     %5 = arith.divsi %0, %4 : i32
(BenchmarkWorker pid=726)     %6 = arith.subi %2, %5 : i32
(BenchmarkWorker pid=726)     %7 = arith.minsi %6, %c1_i32 : i32
(BenchmarkWorker pid=726)     %8 = arith.remsi %0, %4 : i32
(BenchmarkWorker pid=726)     %9 = arith.remsi %8, %7 : i32
(BenchmarkWorker pid=726)     %10 = arith.addi %5, %9 : i32
(BenchmarkWorker pid=726)     %11 = arith.divsi %8, %7 : i32
(BenchmarkWorker pid=726)     %12 = tt.make_range {end = 256 : i32, start = 0 : i32} : tensor<256xi32>
(BenchmarkWorker pid=726)     %13 = arith.extsi %12 : tensor<256xi32> to tensor<256xi64>
(BenchmarkWorker pid=726)     %14 = tt.load %arg6 : !tt.ptr<i32>
(BenchmarkWorker pid=726)     %15 = arith.muli %10, %c256_i32 : i32
(BenchmarkWorker pid=726)     %16 = arith.cmpi sge, %15, %14 : i32
(BenchmarkWorker pid=726)     cf.cond_br %16, ^bb1, ^bb2
(BenchmarkWorker pid=726)   ^bb1:  // pred: ^bb0
(BenchmarkWorker pid=726)     tt.return
(BenchmarkWorker pid=726)   ^bb2:  // pred: ^bb0
(BenchmarkWorker pid=726)     %17 = arith.extsi %15 : i32 to i64
(BenchmarkWorker pid=726)     %18 = tt.splat %17 : i64 -> tensor<256xi64>
(BenchmarkWorker pid=726)     %19 = arith.addi %18, %13 : tensor<256xi64>
(BenchmarkWorker pid=726)     %20 = tt.splat %arg4 : !tt.ptr<i32> -> tensor<256x!tt.ptr<i32>>
(BenchmarkWorker pid=726)     %21 = tt.addptr %20, %19 : tensor<256x!tt.ptr<i32>>, tensor<256xi64>
(BenchmarkWorker pid=726)     %22 = tt.load %21 : tensor<256x!tt.ptr<i32>>
(BenchmarkWorker pid=726)     %23 = arith.extsi %22 : tensor<256xi32> to tensor<256xi64>
(BenchmarkWorker pid=726)     %24 = arith.extsi %arg10 : i32 to i64
(BenchmarkWorker pid=726)     %25 = tt.splat %24 : i64 -> tensor<256xi64>
(BenchmarkWorker pid=726)     %26 = arith.cmpi slt, %23, %25 : tensor<256xi64>
(BenchmarkWorker pid=726)     %27 = tt.addptr %arg5, %10 : !tt.ptr<i32>, i32
(BenchmarkWorker pid=726)     %28 = tt.load %27 : !tt.ptr<i32>
(BenchmarkWorker pid=726)     %29 = arith.extsi %28 : i32 to i64
(BenchmarkWorker pid=726)     %30 = arith.cmpi eq, %29, %c-1_i64 : i64
(BenchmarkWorker pid=726)     cf.cond_br %30, ^bb3, ^bb4
(BenchmarkWorker pid=726)   ^bb3:  // pred: ^bb2
(BenchmarkWorker pid=726)     %31 = arith.muli %11, %c64_i32 : i32
(BenchmarkWorker pid=726)     %32 = tt.make_range {end = 64 : i32, start = 0 : i32} : tensor<64xi32>
(BenchmarkWorker pid=726)     %33 = tt.splat %31 : i32 -> tensor<64xi32>
(BenchmarkWorker pid=726)     %34 = arith.addi %33, %32 : tensor<64xi32>
(BenchmarkWorker pid=726)     %35 = tt.expand_dims %23 {axis = 1 : i32} : tensor<256xi64> -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %36 = arith.extsi %arg14 : i32 to i64
(BenchmarkWorker pid=726)     %37 = tt.splat %36 : i64 -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %38 = arith.muli %37, %35 : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %39 = tt.splat %arg2 : !tt.ptr<bf16> -> tensor<256x1x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %40 = tt.addptr %39, %38 : tensor<256x1x!tt.ptr<bf16>>, tensor<256x1xi64>
(BenchmarkWorker pid=726)     %41 = tt.expand_dims %34 {axis = 0 : i32} : tensor<64xi32> -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %42 = tt.broadcast %40 : tensor<256x1x!tt.ptr<bf16>> -> tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %43 = tt.broadcast %41 : tensor<1x64xi32> -> tensor<256x64xi32>
(BenchmarkWorker pid=726)     %44 = tt.addptr %42, %43 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi32>
(BenchmarkWorker pid=726)     %45 = tt.expand_dims %26 {axis = 1 : i32} : tensor<256xi1> -> tensor<256x1xi1>
(BenchmarkWorker pid=726)     %46 = tt.splat %arg7 : i32 -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %47 = arith.cmpi slt, %41, %46 : tensor<1x64xi32>
(BenchmarkWorker pid=726)     %48 = tt.broadcast %45 : tensor<256x1xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)     %49 = tt.broadcast %47 : tensor<1x64xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)     %50 = arith.andi %48, %49 : tensor<256x64xi1>
(BenchmarkWorker pid=726)     tt.store %44, %cst_0, %50 : tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     tt.return
(BenchmarkWorker pid=726)   ^bb4:  // pred: ^bb2
(BenchmarkWorker pid=726)     %51 = arith.muli %11, %c64_i32 : i32
(BenchmarkWorker pid=726)     %52 = tt.make_range {end = 64 : i32, start = 0 : i32} : tensor<64xi32>
(BenchmarkWorker pid=726)     %53 = arith.extsi %52 : tensor<64xi32> to tensor<64xi64>
(BenchmarkWorker pid=726)     %54 = arith.extsi %51 : i32 to i64
(BenchmarkWorker pid=726)     %55 = tt.splat %54 : i64 -> tensor<64xi64>
(BenchmarkWorker pid=726)     %56 = arith.addi %55, %53 : tensor<64xi64>
(BenchmarkWorker pid=726)     %57 = arith.extsi %arg7 : i32 to i64
(BenchmarkWorker pid=726)     %58 = tt.splat %57 : i64 -> tensor<64xi64>
(BenchmarkWorker pid=726)     %59 = arith.remsi %56, %58 : tensor<64xi64>
(BenchmarkWorker pid=726)     %60 = tt.expand_dims %23 {axis = 1 : i32} : tensor<256xi64> -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %61 = arith.divsi %60, %cst_4 : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %62 = arith.extsi %arg11 : i32 to i64
(BenchmarkWorker pid=726)     %63 = tt.splat %62 : i64 -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %64 = arith.muli %61, %63 : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %65 = tt.expand_dims %52 {axis = 0 : i32} : tensor<64xi32> -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %66 = arith.extsi %65 : tensor<1x64xi32> to tensor<1x64xi64>
(BenchmarkWorker pid=726)     %67 = tt.broadcast %64 : tensor<256x1xi64> -> tensor<256x64xi64>
(BenchmarkWorker pid=726)     %68 = tt.broadcast %66 : tensor<1x64xi64> -> tensor<256x64xi64>
(BenchmarkWorker pid=726)     %69 = arith.addi %67, %68 : tensor<256x64xi64>
(BenchmarkWorker pid=726)     %70 = tt.splat %arg0 : !tt.ptr<bf16> -> tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %71 = tt.addptr %70, %69 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi64>
(BenchmarkWorker pid=726)     %72 = arith.extsi %arg12 : i32 to i64
(BenchmarkWorker pid=726)     %73 = arith.muli %29, %72 : i64
(BenchmarkWorker pid=726)     %74 = tt.addptr %arg1, %73 : !tt.ptr<bf16>, i64
(BenchmarkWorker pid=726)     %75 = tt.expand_dims %52 {axis = 1 : i32} : tensor<64xi32> -> tensor<64x1xi32>
(BenchmarkWorker pid=726)     %76 = tt.expand_dims %59 {axis = 0 : i32} : tensor<64xi64> -> tensor<1x64xi64>
(BenchmarkWorker pid=726)     %77 = arith.extsi %arg13 : i32 to i64
(BenchmarkWorker pid=726)     %78 = tt.splat %77 : i64 -> tensor<1x64xi64>
(BenchmarkWorker pid=726)     %79 = arith.muli %76, %78 : tensor<1x64xi64>
(BenchmarkWorker pid=726)     %80 = arith.extsi %75 : tensor<64x1xi32> to tensor<64x1xi64>
(BenchmarkWorker pid=726)     %81 = tt.broadcast %80 : tensor<64x1xi64> -> tensor<64x64xi64>
(BenchmarkWorker pid=726)     %82 = tt.broadcast %79 : tensor<1x64xi64> -> tensor<64x64xi64>
(BenchmarkWorker pid=726)     %83 = arith.addi %81, %82 : tensor<64x64xi64>
(BenchmarkWorker pid=726)     %84 = tt.splat %74 : !tt.ptr<bf16> -> tensor<64x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %85 = tt.addptr %84, %83 : tensor<64x64x!tt.ptr<bf16>>, tensor<64x64xi64>
(BenchmarkWorker pid=726)     %86 = arith.addi %arg8, %c63_i32 : i32
(BenchmarkWorker pid=726)     %87 = arith.divsi %86, %c64_i32 : i32
(BenchmarkWorker pid=726)     %88:3 = scf.for %arg22 = %c0_i32 to %87 step %c1_i32 iter_args(%arg23 = %71, %arg24 = %85, %arg25 = %cst_3) -> (tensor<256x64x!tt.ptr<bf16>>, tensor<64x64x!tt.ptr<bf16>>, tensor<256x64xf32>)  : i32 {
(BenchmarkWorker pid=726)       %107 = tt.expand_dims %26 {axis = 1 : i32} : tensor<256xi1> -> tensor<256x1xi1>
(BenchmarkWorker pid=726)       %108 = arith.muli %arg22, %c64_i32 : i32
(BenchmarkWorker pid=726)       %109 = arith.subi %arg8, %108 : i32
(BenchmarkWorker pid=726)       %110 = tt.splat %109 : i32 -> tensor<1x64xi32>
(BenchmarkWorker pid=726)       %111 = arith.cmpi slt, %65, %110 : tensor<1x64xi32>
(BenchmarkWorker pid=726)       %112 = tt.broadcast %107 : tensor<256x1xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)       %113 = tt.broadcast %111 : tensor<1x64xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)       %114 = arith.andi %112, %113 : tensor<256x64xi1>
(BenchmarkWorker pid=726)       %115 = tt.load %arg23, %114, %cst_0 : tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)       %116 = tt.splat %109 : i32 -> tensor<64x1xi32>
(BenchmarkWorker pid=726)       %117 = arith.cmpi slt, %75, %116 : tensor<64x1xi32>
(BenchmarkWorker pid=726)       %118 = tt.broadcast %117 : tensor<64x1xi1> -> tensor<64x64xi1>
(BenchmarkWorker pid=726)       %119 = tt.load %arg24, %118, %cst : tensor<64x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)       %120 = tt.dot %115, %119, %arg25, inputPrecision = tf32 : tensor<256x64xbf16> * tensor<64x64xbf16> -> tensor<256x64xf32>
(BenchmarkWorker pid=726)       %121 = tt.addptr %arg23, %cst_2 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi32>
(BenchmarkWorker pid=726)       %122 = tt.addptr %arg24, %cst_1 : tensor<64x64x!tt.ptr<bf16>>, tensor<64x64xi32>
(BenchmarkWorker pid=726)       scf.yield %121, %122, %120 : tensor<256x64x!tt.ptr<bf16>>, tensor<64x64x!tt.ptr<bf16>>, tensor<256x64xf32>
(BenchmarkWorker pid=726)     }
(BenchmarkWorker pid=726)     %89 = arith.truncf %88#2 : tensor<256x64xf32> to tensor<256x64xbf16>
(BenchmarkWorker pid=726)     %90 = tt.splat %51 : i32 -> tensor<64xi32>
(BenchmarkWorker pid=726)     %91 = arith.addi %90, %52 : tensor<64xi32>
(BenchmarkWorker pid=726)     %92 = arith.extsi %arg14 : i32 to i64
(BenchmarkWorker pid=726)     %93 = tt.splat %92 : i64 -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %94 = arith.muli %93, %60 : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %95 = tt.splat %arg2 : !tt.ptr<bf16> -> tensor<256x1x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %96 = tt.addptr %95, %94 : tensor<256x1x!tt.ptr<bf16>>, tensor<256x1xi64>
(BenchmarkWorker pid=726)     %97 = tt.expand_dims %91 {axis = 0 : i32} : tensor<64xi32> -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %98 = tt.broadcast %96 : tensor<256x1x!tt.ptr<bf16>> -> tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %99 = tt.broadcast %97 : tensor<1x64xi32> -> tensor<256x64xi32>
(BenchmarkWorker pid=726)     %100 = tt.addptr %98, %99 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi32>
(BenchmarkWorker pid=726)     %101 = tt.expand_dims %26 {axis = 1 : i32} : tensor<256xi1> -> tensor<256x1xi1>
(BenchmarkWorker pid=726)     %102 = tt.splat %arg7 : i32 -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %103 = arith.cmpi slt, %97, %102 : tensor<1x64xi32>
(BenchmarkWorker pid=726)     %104 = tt.broadcast %101 : tensor<256x1xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)     %105 = tt.broadcast %103 : tensor<1x64xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)     %106 = arith.andi %104, %105 : tensor<256x64xi1>
(BenchmarkWorker pid=726)     tt.store %100, %89, %106 : tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     tt.return
(BenchmarkWorker pid=726)   }
(BenchmarkWorker pid=726) }
(BenchmarkWorker pid=726)
(BenchmarkWorker pid=726) {-#
(BenchmarkWorker pid=726)   external_resources: {
(BenchmarkWorker pid=726)     mlir_reproducer: {
(BenchmarkWorker pid=726)       pipeline: "builtin.module(convert-triton-to-tritongpu{enable-source-remat=false num-ctas=1 num-warps=4 target=cuda:90 threads-per-warp=32}, tritongpu-coalesce, tritongpu-F32DotTC{emu-tf32=true}, triton-nvidia-gpu-plan-cta, tritongpu-remove-layout-conversions, tritongpu-optimize-thread-locality, tritongpu-accelerate-matmul, tritongpu-remove-layout-conversions, tritongpu-optimize-dot-operands{hoist-layout-conversion=true}, triton-nvidia-optimize-descriptor-encoding, triton-loop-aware-cse, tritongpu-fuse-nested-loops, canonicalize{  max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}, triton-licm, canonicalize{  max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}, tritongpu-combine-tensor-select-and-if, nvgpu-warp-specialization{dump-intermediate-steps=false num-stages=2}, tritongpu-assign-latencies{num-stages=2}, tritongpu-schedule-loops, tritongpu-pipeline{dump-intermediate-steps=false num-stages=2}, canonicalize{  max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}, triton-loop-aware-cse, tritongpu-prefetch, tritongpu-optimize-dot-operands{hoist-layout-conversion=true}, tritongpu-coalesce-async-copy, triton-nvidia-optimize-tmem-layouts, triton-nvidia-tma-lowering, tritongpu-remove-layout-conversions, triton-nvidia-interleave-tmem, tritongpu-reduce-data-duplication, tritongpu-reorder-instructions, triton-loop-aware-cse, symbol-dce, triton-nvidia-gpu-fence-insertion{compute-capability=90}, triton-nvidia-mma-lowering, sccp, cse, canonicalize{  max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true})",
(BenchmarkWorker pid=726)       disable_threading: true,
(BenchmarkWorker pid=726)       verify_each: true
(BenchmarkWorker pid=726)     }
(BenchmarkWorker pid=726)   }
(BenchmarkWorker pid=726) #-}
(BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:315:0: error: Failures have been detected while processing an MLIR pass pipeline
(BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:315:0: note: Pipeline failed while executing [`TritonGPURemoveLayoutConversions` on 'builtin.module' operation]: reproducer generated at `std::errs, please share the reproducer above with Triton project.`
(pid=726) :  98%|█████████▊| 1.89k/1.92k [26:58<00:26, 1.17it/s]
(pid=726) :  97%|█████████▋| 1.85k/1.92k [13:24<00:28, 2.31it/s]
(pid=726) :  85%|████████▍ | 1.63k/1.92k [11:59<02:10, 2.26it/s]
(pid=726) :   0%|          | 1.00/1.92k [00:02<1:23:09, 2.60s/it]
(pid=796) :  98%|█████████▊| 1.89k/1.92k [26:57<00:26, 1.17it/s]
(pid=796) :  96%|█████████▌| 1.84k/1.92k [13:24<00:34, 2.29it/s]
RAW_BUFFERClick to expand / collapse

Your current environment

<details> <summary>The output of <code>python collect_env.py</code></summary>
==============================
        System Info
==============================
OS                           : Ubuntu 22.04.5 LTS (aarch64)
GCC version                  : (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0
Clang version                : Could not collect
CMake version                : Could not collect
Libc version                 : glibc-2.35

==============================
       PyTorch Info
==============================
PyTorch version              : 2.10.0+cu129
Is debug build               : False
CUDA used to build PyTorch   : 12.9
ROCM used to build PyTorch   : N/A

==============================
      Python Environment
==============================
Python version               : 3.12.13 (main, Mar  4 2026, 09:23:07) [GCC 11.4.0] (64-bit runtime)
Python platform              : Linux-6.8.0-1047-nvidia-64k-aarch64-with-glibc2.35

==============================
       CUDA / GPU Info
==============================
Is CUDA available            : True
CUDA runtime version         : 12.9.86
CUDA_MODULE_LOADING set to   :
GPU models and configuration :
GPU 0: NVIDIA GH200 144G HBM3e
GPU 1: NVIDIA GH200 144G HBM3e

Nvidia driver version        : 595.45.04
cuDNN version                : Could not collect
HIP runtime version          : N/A
MIOpen runtime version       : N/A
Is XNNPACK available         : True

==============================
          CPU Info
==============================
Architecture:                            aarch64
CPU op-mode(s):                          64-bit
Byte Order:                              Little Endian
CPU(s):                                  144
On-line CPU(s) list:                     0-143
Vendor ID:                               ARM
Model name:                              Neoverse-V2
Model:                                   0
Thread(s) per core:                      1
Core(s) per cluster:                     72
Socket(s):                               -
Cluster(s):                              2
Stepping:                                r0p0
Frequency boost:                         disabled
CPU max MHz:                             3474.0000
CPU min MHz:                             81.0000
BogoMIPS:                                2000.00
Flags:                                   fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm jscvt fcma lrcpc dcpop sha3 sm3 sm4 asimddp sha512 sve asimdfhm dit uscat ilrcpc flagm ssbs sb paca pacg dcpodp sve2 sveaes svepmull svebitperm svesha3 svesm4 flagm2 frint svei8mm svebf16 i8mm bf16 dgh bti
L1d cache:                               9 MiB (144 instances)
L1i cache:                               9 MiB (144 instances)
L2 cache:                                144 MiB (144 instances)
L3 cache:                                228 MiB (2 instances)
NUMA node(s):                            18
NUMA node0 CPU(s):                       0-71
NUMA node1 CPU(s):                       72-143
NUMA node2 CPU(s):
NUMA node3 CPU(s):
NUMA node4 CPU(s):
NUMA node5 CPU(s):
NUMA node6 CPU(s):
NUMA node7 CPU(s):
NUMA node8 CPU(s):
NUMA node9 CPU(s):
NUMA node10 CPU(s):
NUMA node11 CPU(s):
NUMA node12 CPU(s):
NUMA node13 CPU(s):
NUMA node14 CPU(s):
NUMA node15 CPU(s):
NUMA node16 CPU(s):
NUMA node17 CPU(s):
Vulnerability Gather data sampling:      Not affected
Vulnerability Indirect target selection: Not affected
Vulnerability Itlb multihit:             Not affected
Vulnerability L1tf:                      Not affected
Vulnerability Mds:                       Not affected
Vulnerability Meltdown:                  Not affected
Vulnerability Mmio stale data:           Not affected
Vulnerability Reg file data sampling:    Not affected
Vulnerability Retbleed:                  Not affected
Vulnerability Spec rstack overflow:      Not affected
Vulnerability Spec store bypass:         Mitigation; Speculative Store Bypass disabled via prctl
Vulnerability Spectre v1:                Mitigation; __user pointer sanitization
Vulnerability Spectre v2:                Mitigation; CSV2, BHB
Vulnerability Srbds:                     Not affected
Vulnerability Tsa:                       Not affected
Vulnerability Tsx async abort:           Not affected
Vulnerability Vmscape:                   Not affected

==============================
Versions of relevant libraries
==============================
[pip3] flashinfer-python==0.6.4
[pip3] numpy==2.2.6
[pip3] nvidia-cublas-cu12==12.9.1.4
[pip3] nvidia-cuda-cupti-cu12==12.9.79
[pip3] nvidia-cuda-nvrtc-cu12==12.9.86
[pip3] nvidia-cuda-runtime-cu12==12.9.79
[pip3] nvidia-cudnn-cu12==9.10.2.21
[pip3] nvidia-cudnn-frontend==1.18.0
[pip3] nvidia-cufft-cu12==11.4.1.4
[pip3] nvidia-cufile-cu12==1.14.1.1
[pip3] nvidia-curand-cu12==10.3.10.19
[pip3] nvidia-cusolver-cu12==11.7.5.82
[pip3] nvidia-cusparse-cu12==12.5.10.65
[pip3] nvidia-cusparselt-cu12==0.7.1
[pip3] nvidia-cutlass-dsl==4.4.1
[pip3] nvidia-cutlass-dsl-libs-base==4.4.1
[pip3] nvidia-ml-py==13.590.48
[pip3] nvidia-nccl-cu12==2.27.5
[pip3] nvidia-nvjitlink-cu12==12.9.86
[pip3] nvidia-nvshmem-cu12==3.4.5
[pip3] nvidia-nvtx-cu12==12.9.79
[pip3] pyzmq==27.1.0
[pip3] torch==2.10.0+cu129
[pip3] torch_c_dlpack_ext==0.1.5
[pip3] torchaudio==2.10.0+cu129
[pip3] torchvision==0.25.0+cu129
[pip3] transformers==4.57.6
[pip3] triton==3.6.0
[conda] Could not collect

==============================
         vLLM Info
==============================
ROCM Version                 : Could not collect
vLLM Version                 : 0.17.1
vLLM Build Flags:
  CUDA Archs: 8.7 8.9 9.0 10.0+PTX 12.0; ROCm: Disabled
GPU Topology:
        GPU0    GPU1    NIC0    CPU Affinity    NUMA Affinity   GPU NUMA ID
GPU0     X      NV18    NODE    0-71    0               2
GPU1    NV18     X      SYS     72-143  1               10
NIC0    NODE    SYS      X

Legend:

  X    = Self
  SYS  = Connection traversing PCIe as well as the SMP interconnect between NUMA nodes (e.g., QPI/UPI)
  NODE = Connection traversing PCIe as well as the interconnect between PCIe Host Bridges within a NUMA node
  PHB  = Connection traversing PCIe as well as a PCIe Host Bridge (typically the CPU)
  PXB  = Connection traversing multiple PCIe bridges (without traversing the PCIe Host Bridge)
  PIX  = Connection traversing at most a single PCIe bridge
  NV#  = Connection traversing a bonded set of # NVLinks

NIC Legend:

  NIC0: roceP2p1s0f0

==============================
     Environment Variables
==============================
NVIDIA_VISIBLE_DEVICES=void
NVIDIA_REQUIRE_CUDA=cuda>=12.9 brand=unknown,driver>=535,driver<536 brand=grid,driver>=535,driver<536 brand=tesla,driver>=535,driver<536 brand=nvidia,driver>=535,driver<536 brand=quadro,driver>=535,driver<536 brand=quadrortx,driver>=535,driver<536 brand=nvidiartx,driver>=535,driver<536 brand=vapps,driver>=535,driver<536 brand=vpc,driver>=535,driver<536 brand=vcs,driver>=535,driver<536 brand=vws,driver>=535,driver<536 brand=cloudgaming,driver>=535,driver<536 brand=unknown,driver>=550,driver<551 brand=grid,driver>=550,driver<551 brand=tesla,driver>=550,driver<551 brand=nvidia,driver>=550,driver<551 brand=quadro,driver>=550,driver<551 brand=quadrortx,driver>=550,driver<551 brand=nvidiartx,driver>=550,driver<551 brand=vapps,driver>=550,driver<551 brand=vpc,driver>=550,driver<551 brand=vcs,driver>=550,driver<551 brand=vws,driver>=550,driver<551 brand=cloudgaming,driver>=550,driver<551 brand=unknown,driver>=560,driver<561 brand=grid,driver>=560,driver<561 brand=tesla,driver>=560,driver<561 brand=nvidia,driver>=560,driver<561 brand=quadro,driver>=560,driver<561 brand=quadrortx,driver>=560,driver<561 brand=nvidiartx,driver>=560,driver<561 brand=vapps,driver>=560,driver<561 brand=vpc,driver>=560,driver<561 brand=vcs,driver>=560,driver<561 brand=vws,driver>=560,driver<561 brand=cloudgaming,driver>=560,driver<561 brand=unknown,driver>=565,driver<566 brand=grid,driver>=565,driver<566 brand=tesla,driver>=565,driver<566 brand=nvidia,driver>=565,driver<566 brand=quadro,driver>=565,driver<566 brand=quadrortx,driver>=565,driver<566 brand=nvidiartx,driver>=565,driver<566 brand=vapps,driver>=565,driver<566 brand=vpc,driver>=565,driver<566 brand=vcs,driver>=565,driver<566 brand=vws,driver>=565,driver<566 brand=cloudgaming,driver>=565,driver<566 brand=unknown,driver>=570,driver<571 brand=grid,driver>=570,driver<571 brand=tesla,driver>=570,driver<571 brand=nvidia,driver>=570,driver<571 brand=quadro,driver>=570,driver<571 brand=quadrortx,driver>=570,driver<571 brand=nvidiartx,driver>=570,driver<571 brand=vapps,driver>=570,driver<571 brand=vpc,driver>=570,driver<571 brand=vcs,driver>=570,driver<571 brand=vws,driver>=570,driver<571 brand=cloudgaming,driver>=570,driver<571
TORCH_CUDA_ARCH_LIST=8.7 8.9 9.0 10.0+PTX 12.0
NVIDIA_DRIVER_CAPABILITIES=compute,utility
VLLM_USAGE_SOURCE=production-docker-image
CUDA_VERSION=12.9.1
VLLM_ENABLE_CUDA_COMPATIBILITY=0
LD_LIBRARY_PATH=/usr/local/nvidia/lib64:/usr/local/cuda/lib64:/usr/local/cuda/lib64
NVIDIA_CTK_LIBCUDA_DIR=/usr/lib/aarch64-linux-gnu
PYTORCH_NVML_BASED_CUDA_CHECK=1
TORCHINDUCTOR_COMPILE_THREADS=1
TORCHINDUCTOR_CACHE_DIR=/tmp/torchinductor_root
</details>

🐛 Describe the bug

To reproduce:

docker run --gpus all --ipc=host \
  --entrypoint /bin/bash \
  -it vllm/vllm-openai:v0.17.1-aarch64

(from which the above environment was collected)

Or


docker run --gpus all --ipc=host \
  --entrypoint /bin/bash \
  -it vllm/vllm-openai:v0.17.1-aarch64-cu130

(both docker images, cu130 or not, result in the exact same error)

Then :

python3 benchmark_moe.py -tp 1 --tune --model "Qwen/Qwen3-Coder-Next-FP8"

Results in:

python3 benchmark_moe.py -tp 1 --tune --model "Qwen/Qwen3-Coder-Next-FP8"
Namespace(model='Qwen/Qwen3-Coder-Next-FP8', tp_size=1, enable_expert_parallel=False, dtype='auto', use_deep_gemm=False, save_dir='/mnt/fused_moe_configs/', seed=0, batch_size=None, tune=True, trust_remote_code=False, model_prefix=None)
2026-03-16 12:35:25,013 INFO worker.py:2013 -- Started a local Ray instance.
/usr/local/lib/python3.12/dist-packages/ray/_private/worker.py:2052: FutureWarning: Tip: In future versions of Ray, Ray will no longer override accelerator visible devices env var if num_gpus=0 or num_gpus=None (default). To enable this behavior and turn off this error message, set RAY_ACCEL_ENV_VAR_OVERRIDE_ON_ZERO=0
  warnings.warn(
Start tuning over 1920 configurations...
(BenchmarkWorker pid=726) Mon Mar 16 12:49:04 2026] Completed tuning for batch_size=1
(BenchmarkWorker pid=796) Mon Mar 16 12:49:04 2026] Completed tuning for batch_size=2
(BenchmarkWorker pid=726) Mon Mar 16 12:50:29 2026] Completed tuning for batch_size=4
(pid=726) :  85%|██████████████████████████████████████████████████████████████████████████████████████████████████▏                 | 1.63k/1.92k [11:56<01:02, 4.73it/s]Traceback (most recent call last):██████████████████████████████████████████████████████████████████████████████████████████████▏    | 1.84k/1.92k [13:15<02:00, 1.52s/it]
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 1041, in <module>
    main(args)
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 951, in main
    configs = _distribute(
              ^^^^^^^^^^^^
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 927, in _distribute
    return ray.get(outputs)
           ^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/ray/_private/auto_init_hook.py", line 22, in auto_init_wrapper
    return fn(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/ray/_private/client_mode_hook.py", line 104, in wrapper
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/ray/_private/worker.py", line 2981, in get
    values, debugger_breakpoint = worker.get_objects(
                                  ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/ray/_private/worker.py", line 1012, in get_objects
    raise value.as_instanceof_cause()
ray.exceptions.RayTaskError(RuntimeError): ray::BenchmarkWorker.tune() (pid=726, ip=XXX, actor_id=5f66c1327f7a25a3b8fd359101000000, repr=<benchmark_moe.BenchmarkWorker object at 0xfc7a5e152750>)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 632, in tune
    kernel_time = benchmark_config(
                  ^^^^^^^^^^^^^^^^^
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 306, in benchmark_config
    run()
  File "/vllm-workspace/benchmarks/kernels/benchmark_moe.py", line 295, in run
    return fused_experts(
           ^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1578, in fused_experts
    return dispatch_fused_experts_func(inplace)(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1548, in torch_vllm_outplace_fused_experts
    return torch.ops.vllm.outplace_fused_experts(**kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/_ops.py", line 1209, in __call__
    return self._op(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/utils/_device.py", line 109, in __torch_function__
    return func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/torch/_ops.py", line 1209, in __call__
    return self._op(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1476, in outplace_fused_experts
    return fused_experts_impl(
           ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 1855, in fused_experts_impl
    dispatch_fused_moe_kernel(
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 918, in dispatch_fused_moe_kernel
    invoke_fused_moe_triton_kernel(
  File "/usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py", line 794, in invoke_fused_moe_triton_kernel
    fused_moe_kernel[grid](
  File "/usr/local/lib/python3.12/dist-packages/triton/runtime/jit.py", line 370, in <lambda>
    return lambda *args, **kwargs: self.run(grid=grid, warmup=False, *args, **kwargs)
                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/runtime/jit.py", line 720, in run
    kernel = self._do_compile(key, signature, device, constexprs, options, attrs, warmup)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/runtime/jit.py", line 849, in _do_compile
    kernel = self.compile(src, target=target, options=options.__dict__)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/compiler/compiler.py", line 324, in compile
    next_module = compile_ir(module, metadata)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/backends/nvidia/compiler.py", line 541, in <lambda>
    stages["ttgir"] = lambda src, metadata: self.make_ttgir(src, metadata, options, capability)
                                            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.12/dist-packages/triton/backends/nvidia/compiler.py", line 316, in make_ttgir
    pm.run(mod, 'make_ttgir')
RuntimeError: PassManager::run failed
(BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:574:24: error: operand #0 does not dominate this use
(BenchmarkWorker pid=726)     c_mask = token_mask[:, None] & (offs_cn[None, :] < N)
(BenchmarkWorker pid=726)                        ^
(BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:508:28: note: operand defined here (op in a child region)
(BenchmarkWorker pid=726)             mask=token_mask[:, None] & (offs_k[None, :] < K - k * BLOCK_SIZE_K),
(BenchmarkWorker pid=726)                            ^
(BenchmarkWorker pid=726) module {
(BenchmarkWorker pid=726)   tt.func public @fused_moe_kernel(%arg0: !tt.ptr<bf16> {tt.divisibility = 16 : i32}, %arg1: !tt.ptr<bf16> {tt.divisibility = 16 : i32}, %arg2: !tt.ptr<bf16> {tt.divisibility = 16 : i32}, %arg3: !tt.ptr<f32> {tt.divisibility = 16 : i32}, %arg4: !tt.ptr<i32> {tt.divisibility = 16 : i32}, %arg5: !tt.ptr<i32> {tt.divisibility = 16 : i32}, %arg6: !tt.ptr<i32> {tt.divisibility = 16 : i32}, %arg7: i32 {tt.divisibility = 16 : i32}, %arg8: i32 {tt.divisibility = 16 : i32}, %arg9: i32 {tt.divisibility = 16 : i32}, %arg10: i32 {tt.divisibility = 16 : i32}, %arg11: i32 {tt.divisibility = 16 : i32}, %arg12: i32 {tt.divisibility = 16 : i32}, %arg13: i32 {tt.divisibility = 16 : i32}, %arg14: i32 {tt.divisibility = 16 : i32}, %arg15: i32 {tt.divisibility = 16 : i32}, %arg16: i32 {tt.divisibility = 16 : i32}, %arg17: i32 {tt.divisibility = 16 : i32}, %arg18: i32 {tt.divisibility = 16 : i32}, %arg19: i32 {tt.divisibility = 16 : i32}, %arg20: i32 {tt.divisibility = 16 : i32}, %arg21: i32 {tt.divisibility = 16 : i32}) attributes {noinline = false} {
(BenchmarkWorker pid=726)     %c63_i32 = arith.constant 63 : i32
(BenchmarkWorker pid=726)     %c255_i32 = arith.constant 255 : i32
(BenchmarkWorker pid=726)     %cst = arith.constant dense<0.000000e+00> : tensor<64x64xbf16>
(BenchmarkWorker pid=726)     %cst_0 = arith.constant dense<0.000000e+00> : tensor<256x64xbf16>
(BenchmarkWorker pid=726)     %c0_i32 = arith.constant 0 : i32
(BenchmarkWorker pid=726)     %c-1_i64 = arith.constant -1 : i64
(BenchmarkWorker pid=726)     %cst_1 = arith.constant dense<64> : tensor<64x64xi32>
(BenchmarkWorker pid=726)     %cst_2 = arith.constant dense<64> : tensor<256x64xi32>
(BenchmarkWorker pid=726)     %cst_3 = arith.constant dense<0.000000e+00> : tensor<256x64xf32>
(BenchmarkWorker pid=726)     %cst_4 = arith.constant dense<10> : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %c64_i32 = arith.constant 64 : i32
(BenchmarkWorker pid=726)     %c256_i32 = arith.constant 256 : i32
(BenchmarkWorker pid=726)     %c1_i32 = arith.constant 1 : i32
(BenchmarkWorker pid=726)     %0 = tt.get_program_id x : i32
(BenchmarkWorker pid=726)     %1 = arith.addi %arg9, %c255_i32 : i32
(BenchmarkWorker pid=726)     %2 = arith.divsi %1, %c256_i32 : i32
(BenchmarkWorker pid=726)     %3 = arith.addi %arg7, %c63_i32 : i32
(BenchmarkWorker pid=726)     %4 = arith.divsi %3, %c64_i32 : i32
(BenchmarkWorker pid=726)     %5 = arith.divsi %0, %4 : i32
(BenchmarkWorker pid=726)     %6 = arith.subi %2, %5 : i32
(BenchmarkWorker pid=726)     %7 = arith.minsi %6, %c1_i32 : i32
(BenchmarkWorker pid=726)     %8 = arith.remsi %0, %4 : i32
(BenchmarkWorker pid=726)     %9 = arith.remsi %8, %7 : i32
(BenchmarkWorker pid=726)     %10 = arith.addi %5, %9 : i32
(BenchmarkWorker pid=726)     %11 = arith.divsi %8, %7 : i32
(BenchmarkWorker pid=726)     %12 = tt.make_range {end = 256 : i32, start = 0 : i32} : tensor<256xi32>
(BenchmarkWorker pid=726)     %13 = arith.extsi %12 : tensor<256xi32> to tensor<256xi64>
(BenchmarkWorker pid=726)     %14 = tt.load %arg6 : !tt.ptr<i32>
(BenchmarkWorker pid=726)     %15 = arith.muli %10, %c256_i32 : i32
(BenchmarkWorker pid=726)     %16 = arith.cmpi sge, %15, %14 : i32
(BenchmarkWorker pid=726)     cf.cond_br %16, ^bb1, ^bb2
(BenchmarkWorker pid=726)   ^bb1:  // pred: ^bb0
(BenchmarkWorker pid=726)     tt.return
(BenchmarkWorker pid=726)   ^bb2:  // pred: ^bb0
(BenchmarkWorker pid=726)     %17 = arith.extsi %15 : i32 to i64
(BenchmarkWorker pid=726)     %18 = tt.splat %17 : i64 -> tensor<256xi64>
(BenchmarkWorker pid=726)     %19 = arith.addi %18, %13 : tensor<256xi64>
(BenchmarkWorker pid=726)     %20 = tt.splat %arg4 : !tt.ptr<i32> -> tensor<256x!tt.ptr<i32>>
(BenchmarkWorker pid=726)     %21 = tt.addptr %20, %19 : tensor<256x!tt.ptr<i32>>, tensor<256xi64>
(BenchmarkWorker pid=726)     %22 = tt.load %21 : tensor<256x!tt.ptr<i32>>
(BenchmarkWorker pid=726)     %23 = arith.extsi %22 : tensor<256xi32> to tensor<256xi64>
(BenchmarkWorker pid=726)     %24 = arith.extsi %arg10 : i32 to i64
(BenchmarkWorker pid=726)     %25 = tt.splat %24 : i64 -> tensor<256xi64>
(BenchmarkWorker pid=726)     %26 = arith.cmpi slt, %23, %25 : tensor<256xi64>
(BenchmarkWorker pid=726)     %27 = tt.addptr %arg5, %10 : !tt.ptr<i32>, i32
(BenchmarkWorker pid=726)     %28 = tt.load %27 : !tt.ptr<i32>
(BenchmarkWorker pid=726)     %29 = arith.extsi %28 : i32 to i64
(BenchmarkWorker pid=726)     %30 = arith.cmpi eq, %29, %c-1_i64 : i64
(BenchmarkWorker pid=726)     cf.cond_br %30, ^bb3, ^bb4
(BenchmarkWorker pid=726)   ^bb3:  // pred: ^bb2
(BenchmarkWorker pid=726)     %31 = arith.muli %11, %c64_i32 : i32
(BenchmarkWorker pid=726)     %32 = tt.make_range {end = 64 : i32, start = 0 : i32} : tensor<64xi32>
(BenchmarkWorker pid=726)     %33 = tt.splat %31 : i32 -> tensor<64xi32>
(BenchmarkWorker pid=726)     %34 = arith.addi %33, %32 : tensor<64xi32>
(BenchmarkWorker pid=726)     %35 = tt.expand_dims %23 {axis = 1 : i32} : tensor<256xi64> -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %36 = arith.extsi %arg14 : i32 to i64
(BenchmarkWorker pid=726)     %37 = tt.splat %36 : i64 -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %38 = arith.muli %37, %35 : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %39 = tt.splat %arg2 : !tt.ptr<bf16> -> tensor<256x1x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %40 = tt.addptr %39, %38 : tensor<256x1x!tt.ptr<bf16>>, tensor<256x1xi64>
(BenchmarkWorker pid=726)     %41 = tt.expand_dims %34 {axis = 0 : i32} : tensor<64xi32> -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %42 = tt.broadcast %40 : tensor<256x1x!tt.ptr<bf16>> -> tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %43 = tt.broadcast %41 : tensor<1x64xi32> -> tensor<256x64xi32>
(BenchmarkWorker pid=726)     %44 = tt.addptr %42, %43 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi32>
(BenchmarkWorker pid=726)     %45 = tt.expand_dims %26 {axis = 1 : i32} : tensor<256xi1> -> tensor<256x1xi1>
(BenchmarkWorker pid=726)     %46 = tt.splat %arg7 : i32 -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %47 = arith.cmpi slt, %41, %46 : tensor<1x64xi32>
(BenchmarkWorker pid=726)     %48 = tt.broadcast %45 : tensor<256x1xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)     %49 = tt.broadcast %47 : tensor<1x64xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)     %50 = arith.andi %48, %49 : tensor<256x64xi1>
(BenchmarkWorker pid=726)     tt.store %44, %cst_0, %50 : tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     tt.return
(BenchmarkWorker pid=726)   ^bb4:  // pred: ^bb2
(BenchmarkWorker pid=726)     %51 = arith.muli %11, %c64_i32 : i32
(BenchmarkWorker pid=726)     %52 = tt.make_range {end = 64 : i32, start = 0 : i32} : tensor<64xi32>
(BenchmarkWorker pid=726)     %53 = arith.extsi %52 : tensor<64xi32> to tensor<64xi64>
(BenchmarkWorker pid=726)     %54 = arith.extsi %51 : i32 to i64
(BenchmarkWorker pid=726)     %55 = tt.splat %54 : i64 -> tensor<64xi64>
(BenchmarkWorker pid=726)     %56 = arith.addi %55, %53 : tensor<64xi64>
(BenchmarkWorker pid=726)     %57 = arith.extsi %arg7 : i32 to i64
(BenchmarkWorker pid=726)     %58 = tt.splat %57 : i64 -> tensor<64xi64>
(BenchmarkWorker pid=726)     %59 = arith.remsi %56, %58 : tensor<64xi64>
(BenchmarkWorker pid=726)     %60 = tt.expand_dims %23 {axis = 1 : i32} : tensor<256xi64> -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %61 = arith.divsi %60, %cst_4 : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %62 = arith.extsi %arg11 : i32 to i64
(BenchmarkWorker pid=726)     %63 = tt.splat %62 : i64 -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %64 = arith.muli %61, %63 : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %65 = tt.expand_dims %52 {axis = 0 : i32} : tensor<64xi32> -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %66 = arith.extsi %65 : tensor<1x64xi32> to tensor<1x64xi64>
(BenchmarkWorker pid=726)     %67 = tt.broadcast %64 : tensor<256x1xi64> -> tensor<256x64xi64>
(BenchmarkWorker pid=726)     %68 = tt.broadcast %66 : tensor<1x64xi64> -> tensor<256x64xi64>
(BenchmarkWorker pid=726)     %69 = arith.addi %67, %68 : tensor<256x64xi64>
(BenchmarkWorker pid=726)     %70 = tt.splat %arg0 : !tt.ptr<bf16> -> tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %71 = tt.addptr %70, %69 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi64>
(BenchmarkWorker pid=726)     %72 = arith.extsi %arg12 : i32 to i64
(BenchmarkWorker pid=726)     %73 = arith.muli %29, %72 : i64
(BenchmarkWorker pid=726)     %74 = tt.addptr %arg1, %73 : !tt.ptr<bf16>, i64
(BenchmarkWorker pid=726)     %75 = tt.expand_dims %52 {axis = 1 : i32} : tensor<64xi32> -> tensor<64x1xi32>
(BenchmarkWorker pid=726)     %76 = tt.expand_dims %59 {axis = 0 : i32} : tensor<64xi64> -> tensor<1x64xi64>
(BenchmarkWorker pid=726)     %77 = arith.extsi %arg13 : i32 to i64
(BenchmarkWorker pid=726)     %78 = tt.splat %77 : i64 -> tensor<1x64xi64>
(BenchmarkWorker pid=726)     %79 = arith.muli %76, %78 : tensor<1x64xi64>
(BenchmarkWorker pid=726)     %80 = arith.extsi %75 : tensor<64x1xi32> to tensor<64x1xi64>
(BenchmarkWorker pid=726)     %81 = tt.broadcast %80 : tensor<64x1xi64> -> tensor<64x64xi64>
(BenchmarkWorker pid=726)     %82 = tt.broadcast %79 : tensor<1x64xi64> -> tensor<64x64xi64>
(BenchmarkWorker pid=726)     %83 = arith.addi %81, %82 : tensor<64x64xi64>
(BenchmarkWorker pid=726)     %84 = tt.splat %74 : !tt.ptr<bf16> -> tensor<64x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %85 = tt.addptr %84, %83 : tensor<64x64x!tt.ptr<bf16>>, tensor<64x64xi64>
(BenchmarkWorker pid=726)     %86 = arith.addi %arg8, %c63_i32 : i32
(BenchmarkWorker pid=726)     %87 = arith.divsi %86, %c64_i32 : i32
(BenchmarkWorker pid=726)     %88:3 = scf.for %arg22 = %c0_i32 to %87 step %c1_i32 iter_args(%arg23 = %71, %arg24 = %85, %arg25 = %cst_3) -> (tensor<256x64x!tt.ptr<bf16>>, tensor<64x64x!tt.ptr<bf16>>, tensor<256x64xf32>)  : i32 {
(BenchmarkWorker pid=726)       %107 = tt.expand_dims %26 {axis = 1 : i32} : tensor<256xi1> -> tensor<256x1xi1>
(BenchmarkWorker pid=726)       %108 = arith.muli %arg22, %c64_i32 : i32
(BenchmarkWorker pid=726)       %109 = arith.subi %arg8, %108 : i32
(BenchmarkWorker pid=726)       %110 = tt.splat %109 : i32 -> tensor<1x64xi32>
(BenchmarkWorker pid=726)       %111 = arith.cmpi slt, %65, %110 : tensor<1x64xi32>
(BenchmarkWorker pid=726)       %112 = tt.broadcast %107 : tensor<256x1xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)       %113 = tt.broadcast %111 : tensor<1x64xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)       %114 = arith.andi %112, %113 : tensor<256x64xi1>
(BenchmarkWorker pid=726)       %115 = tt.load %arg23, %114, %cst_0 : tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)       %116 = tt.splat %109 : i32 -> tensor<64x1xi32>
(BenchmarkWorker pid=726)       %117 = arith.cmpi slt, %75, %116 : tensor<64x1xi32>
(BenchmarkWorker pid=726)       %118 = tt.broadcast %117 : tensor<64x1xi1> -> tensor<64x64xi1>
(BenchmarkWorker pid=726)       %119 = tt.load %arg24, %118, %cst : tensor<64x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)       %120 = tt.dot %115, %119, %arg25, inputPrecision = tf32 : tensor<256x64xbf16> * tensor<64x64xbf16> -> tensor<256x64xf32>
(BenchmarkWorker pid=726)       %121 = tt.addptr %arg23, %cst_2 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi32>
(BenchmarkWorker pid=726)       %122 = tt.addptr %arg24, %cst_1 : tensor<64x64x!tt.ptr<bf16>>, tensor<64x64xi32>
(BenchmarkWorker pid=726)       scf.yield %121, %122, %120 : tensor<256x64x!tt.ptr<bf16>>, tensor<64x64x!tt.ptr<bf16>>, tensor<256x64xf32>
(BenchmarkWorker pid=726)     }
(BenchmarkWorker pid=726)     %89 = arith.truncf %88#2 : tensor<256x64xf32> to tensor<256x64xbf16>
(BenchmarkWorker pid=726)     %90 = tt.splat %51 : i32 -> tensor<64xi32>
(BenchmarkWorker pid=726)     %91 = arith.addi %90, %52 : tensor<64xi32>
(BenchmarkWorker pid=726)     %92 = arith.extsi %arg14 : i32 to i64
(BenchmarkWorker pid=726)     %93 = tt.splat %92 : i64 -> tensor<256x1xi64>
(BenchmarkWorker pid=726)     %94 = arith.muli %93, %60 : tensor<256x1xi64>
(BenchmarkWorker pid=726)     %95 = tt.splat %arg2 : !tt.ptr<bf16> -> tensor<256x1x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %96 = tt.addptr %95, %94 : tensor<256x1x!tt.ptr<bf16>>, tensor<256x1xi64>
(BenchmarkWorker pid=726)     %97 = tt.expand_dims %91 {axis = 0 : i32} : tensor<64xi32> -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %98 = tt.broadcast %96 : tensor<256x1x!tt.ptr<bf16>> -> tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     %99 = tt.broadcast %97 : tensor<1x64xi32> -> tensor<256x64xi32>
(BenchmarkWorker pid=726)     %100 = tt.addptr %98, %99 : tensor<256x64x!tt.ptr<bf16>>, tensor<256x64xi32>
(BenchmarkWorker pid=726)     %101 = tt.expand_dims %26 {axis = 1 : i32} : tensor<256xi1> -> tensor<256x1xi1>
(BenchmarkWorker pid=726)     %102 = tt.splat %arg7 : i32 -> tensor<1x64xi32>
(BenchmarkWorker pid=726)     %103 = arith.cmpi slt, %97, %102 : tensor<1x64xi32>
(BenchmarkWorker pid=726)     %104 = tt.broadcast %101 : tensor<256x1xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)     %105 = tt.broadcast %103 : tensor<1x64xi1> -> tensor<256x64xi1>
(BenchmarkWorker pid=726)     %106 = arith.andi %104, %105 : tensor<256x64xi1>
(BenchmarkWorker pid=726)     tt.store %100, %89, %106 : tensor<256x64x!tt.ptr<bf16>>
(BenchmarkWorker pid=726)     tt.return
(BenchmarkWorker pid=726)   }
(BenchmarkWorker pid=726) }
(BenchmarkWorker pid=726)
(BenchmarkWorker pid=726) {-#
(BenchmarkWorker pid=726)   external_resources: {
(BenchmarkWorker pid=726)     mlir_reproducer: {
(BenchmarkWorker pid=726)       pipeline: "builtin.module(convert-triton-to-tritongpu{enable-source-remat=false num-ctas=1 num-warps=4 target=cuda:90 threads-per-warp=32}, tritongpu-coalesce, tritongpu-F32DotTC{emu-tf32=true}, triton-nvidia-gpu-plan-cta, tritongpu-remove-layout-conversions, tritongpu-optimize-thread-locality, tritongpu-accelerate-matmul, tritongpu-remove-layout-conversions, tritongpu-optimize-dot-operands{hoist-layout-conversion=true}, triton-nvidia-optimize-descriptor-encoding, triton-loop-aware-cse, tritongpu-fuse-nested-loops, canonicalize{  max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}, triton-licm, canonicalize{  max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}, tritongpu-combine-tensor-select-and-if, nvgpu-warp-specialization{dump-intermediate-steps=false num-stages=2}, tritongpu-assign-latencies{num-stages=2}, tritongpu-schedule-loops, tritongpu-pipeline{dump-intermediate-steps=false num-stages=2}, canonicalize{  max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true}, triton-loop-aware-cse, tritongpu-prefetch, tritongpu-optimize-dot-operands{hoist-layout-conversion=true}, tritongpu-coalesce-async-copy, triton-nvidia-optimize-tmem-layouts, triton-nvidia-tma-lowering, tritongpu-remove-layout-conversions, triton-nvidia-interleave-tmem, tritongpu-reduce-data-duplication, tritongpu-reorder-instructions, triton-loop-aware-cse, symbol-dce, triton-nvidia-gpu-fence-insertion{compute-capability=90}, triton-nvidia-mma-lowering, sccp, cse, canonicalize{  max-iterations=10 max-num-rewrites=-1 region-simplify=normal test-convergence=false top-down=true})",
(BenchmarkWorker pid=726)       disable_threading: true,
(BenchmarkWorker pid=726)       verify_each: true
(BenchmarkWorker pid=726)     }
(BenchmarkWorker pid=726)   }
(BenchmarkWorker pid=726) #-}
(BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:315:0: error: Failures have been detected while processing an MLIR pass pipeline
(BenchmarkWorker pid=726) /usr/local/lib/python3.12/dist-packages/vllm/model_executor/layers/fused_moe/fused_moe.py:315:0: note: Pipeline failed while executing [`TritonGPURemoveLayoutConversions` on 'builtin.module' operation]: reproducer generated at `std::errs, please share the reproducer above with Triton project.`
(pid=726) :  98%|█████████▊| 1.89k/1.92k [26:58<00:26, 1.17it/s]
(pid=726) :  97%|█████████▋| 1.85k/1.92k [13:24<00:28, 2.31it/s]
(pid=726) :  85%|████████▍ | 1.63k/1.92k [11:59<02:10, 2.26it/s]
(pid=726) :   0%|          | 1.00/1.92k [00:02<1:23:09, 2.60s/it]
(pid=796) :  98%|█████████▊| 1.89k/1.92k [26:57<00:26, 1.17it/s]
(pid=796) :  96%|█████████▌| 1.84k/1.92k [13:24<00:34, 2.29it/s]

Before submitting a new issue...

  • Make sure you already searched for relevant issues, and asked the chatbot living at the bottom right corner of the documentation page, which can answer lots of frequently asked questions.

extent analysis

Fix Plan

To fix the issue, we need to update the fused_moe.py file to handle the operand dominance error.

  1. Update the fused_moe.py file: Modify the fused_moe.py file to correctly handle the operand dominance error. This can be done by reordering the operations to ensure that the operands are defined before they are used.
# fused_moe.py
def outplace_fused_experts(**kwargs):
    # ... (other code remains the same)

    # Reorder the operations to ensure operand dominance
    c_mask = token_mask[:, None] & (offs_cn[None, :] < N)
    # ... (other code remains the same)
  1. Update the benchmark_moe.py file: Modify the benchmark_moe.py file to handle the updated fused_moe.py file.
# benchmark_moe.py
def tune(self):
    # ... (other code remains the same)

    # Update the kernel invocation to handle the updated fused_moe.py file
    kernel_time = benchmark_config(
        # ... (other code remains the same)
    )
    # ... (other code remains the same)

Verification

To verify that the fix worked, run the benchmark_moe.py script again with the updated fused_moe.py file.

python3 benchmark_moe.py -tp 1 --tune --model "Qwen/Qwen3-Coder-Next-FP8"

If the fix is successful, the script should run without errors and produce the expected output.

Extra Tips

  • Make sure to update the fused_moe.py file correctly to handle the operand dominance error.
  • Verify that the updated fused_moe.py file is being used by the benchmark_moe.py script.
  • If issues persist, try debugging the fused_moe.py file to identify the root cause of the error.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

vllm - 💡(How to fix) Fix [Bug]: Benchmark tuning MoE kernel config fails ; NVIDIA GH200, Qwen3-Coder-Next, vLLM 0.17.1 [1 participants]