Skip to content

SSM

10 ops, 62 workloads.

One table per op, one row per workload. Ratio is the fastest other implementation's device time divided by ours, so green is faster than it, plain is level with it, red is slower. Times are in ms. How these numbers are taken.

Mamba2Fwd

x: [Bsz, S, H, P]dt: [Bsz, S, H], f32A: [H], f32B, C: [Bsz, S, G, N]

  • mamba2-2p7bx: [1, 2048, 80, 64]dt: [1, 2048, 80], f32A: [80], f32B, C: [1, 2048, 1, 128]dtype=bf16
  • mamba2-1p3bx: [1, 8192, 64, 64]dt: [1, 8192, 64], f32A: [64], f32B, C: [1, 8192, 1, 128]dtype=f16

x: [Bsz, S, H, P]dt: [Bsz, S, H], f32A, dt_bias: [H], f32B, C: [Bsz, S, G, N]

  • mamba2-2p7b-dt-biasx: [1, 2048, 80, 64]dt: [1, 2048, 80], f32A, dt_bias: [80], f32B, C: [1, 2048, 1, 128]dtype=bf16
  • mamba2-1p3b-dt-biasx: [1, 8192, 64, 64]dt: [1, 8192, 64], f32A, dt_bias: [64], f32B, C: [1, 8192, 1, 128]dtype=f16

x: [Bsz, S, H, P]dt: [Bsz, S, H], f32A: [H], f32B, C: [Bsz, S, G, N]initial_states: [Bsz, H, P, N], f32

  • mamba2-2p7b-initx: [1, 2048, 80, 64]dt: [1, 2048, 80], f32A: [80], f32B, C: [1, 2048, 1, 128]initial_states: [1, 80, 64, 128], f32dtype=bf16
  • mamba2-1p3b-initx: [1, 8192, 64, 64]dt: [1, 8192, 64], f32A: [64], f32B, C: [1, 8192, 1, 128]initial_states: [1, 64, 64, 128], f32dtype=f16

x: [Bsz, S, H, P]dt: [Bsz, S, H], f32A, dt_bias: [H], f32B, C: [Bsz, S, G, N]initial_states: [Bsz, H, P, N], f32

  • mamba2-2p7b-dt-bias-initx: [1, 2048, 80, 64]dt: [1, 2048, 80], f32A, dt_bias: [80], f32B, C: [1, 2048, 1, 128]initial_states: [1, 80, 64, 128], f32dtype=bf16
  • mamba2-1p3b-dt-bias-initx: [1, 8192, 64, 64]dt: [1, 8192, 64], f32A, dt_bias: [64], f32B, C: [1, 8192, 1, 128]initial_states: [1, 64, 64, 128], f32dtype=f16
Workload dtype Ratio Device time Alternatives Throughput SOL Bound
alt / ours ms name ms TFLOP/s of ceiling by
mamba2-2p7bbf161.39×0.1030vllm
torch-compile
torch-ref
0.1436
0.7572
2.2689
79.1··
mamba2-1p3bf161.45×0.2785vllm
torch-compile
torch-ref
0.4033
2.3332
6.9081
93.8··
mamba2-2p7b-dt-biasbf161.40×0.1031vllm
torch-compile
torch-ref
0.1443
0.7579
2.2712
79··
mamba2-1p3b-dt-biasf161.45×0.2785vllm
torch-compile
torch-ref
0.4035
2.3358
6.9127
93.8··
mamba2-2p7b-initbf161.41×0.1040vllm
torch-compile
torch-ref
0.1468
0.7557
2.2678
78.3··
mamba2-1p3b-initf161.45×0.2787vllm
torch-compile
torch-ref
0.4031
2.3326
6.9068
93.7··
mamba2-2p7b-dt-bias-initbf161.42×0.1040vllm
torch-compile
torch-ref
0.1471
0.7565
2.2698
78.3··
mamba2-1p3b-dt-bias-initf161.45×0.2786vllm
torch-compile
torch-ref
0.4033
2.3337
6.9086
93.7··

SelectiveScanFwd

u, delta, z: [Bsz, Di, S]A: [Di, N], f32B, C: [Bsz, G, N, S]D, delta_bias: [Di], f32

dtype=bf16

  • mamba-2.8b-prefillu, delta, z: [1, 5120, 4096]A: [5120, 16], f32B, C: [1, 1, 16, 4096]D, delta_bias: [5120], f32
  • mamba-1.4b-prefillu, delta, z: [1, 4096, 4096]A: [4096, 16], f32B, C: [1, 1, 16, 4096]D, delta_bias: [4096], f32
  • grouped-stateu, delta, z: [8, 4096, 2048]A: [4096, 32], f32B, C: [8, 8, 32, 2048]D, delta_bias: [4096], f32

u, delta, z: [Bsz, Di, S]A: [Di, N], f32B, C: [Bsz, G, N, S]D, delta_bias: [Di], f32initial_states: [Bsz, Di, N], f32

dtype=bf16

  • mamba-2.8b-decodeu, delta, z: [1, 5120, 1]A: [5120, 16], f32B, C: [1, 1, 16, 1]D, delta_bias: [5120], f32initial_states: [1, 5120, 16], f32
  • mamba-2.8b-decode-b64u, delta, z: [64, 5120, 1]A: [5120, 16], f32B, C: [64, 1, 16, 1]D, delta_bias: [5120], f32initial_states: [64, 5120, 16], f32

u, delta: [Bsz, Di, S]A: [Di, N]B, C: [Bsz, G, N, S]D, delta_bias: [Di]

  • mamba-130m-no-gateu, delta: [1, 1536, 4096]A: [1536, 16]B, C: [1, 1, 16, 4096]D, delta_bias: [1536]dtype=f32

u, delta, z: [Bsz, Di, S]A: [Di, N], f32B, C: [Bsz, G, N, S]D, delta_bias: [Di], f32seq_idx: [Bsz, S], i32

  • mamba-2.8b-packedu, delta, z: [1, 5120, 4096]A: [5120, 16], f32B, C: [1, 1, 16, 4096]D, delta_bias: [5120], f32seq_idx: [1, 4096], i32dtype=bf16

u, delta, z: [Bsz, Di, S]A: [Di, N], f32B, C: [Bsz, G, N, S]

  • bare-scanu, delta, z: [4, 2048, 1024]A: [2048, 16], f32B, C: [4, 1, 16, 1024]dtype=bf16
Workload dtype Ratio Device time Alternatives Throughput SOL Bound
alt / ours ms name ms TFLOP/s of ceiling by
mamba-2.8b-prefillbf162.41×0.3020vllm0.72887.5··
mamba-1.4b-prefillbf162.54×0.2344vllm0.59437.73··
grouped-statebf162.47×1.6439vllm4.06028.33··
mamba-2.8b-decodebf161.44×0.00195vllm-state-update
vllm
0.00282
0.0538
0.283··
mamba-2.8b-decode-b64bf161.37×0.0135vllm-state-update
vllm
0.0185
2.5382
2.63··
mamba-130m-no-gatef321.41×0.2321vllm0.32672.79··
mamba-2.8b-packedbf166.88×0.3478vllm2.39416.51··
bare-scanbf162.56×0.1169vllm0.29867.54··

CausalConv1dFwd

x: [Tt, D]weight: [D, W]conv_state: [B, D, L]cu_seqlens: [B + 1], i32bias: [D]has_initial_state: [B], bool

dtype=bf16/bf16

  • mamba2-2.7b-prefill-4kx: [4096, 5376]weight: [5376, 4]conv_state: [4, 5376, 3]cu_seqlens: [5], i32bias: [5376]has_initial_state: [4], boolseq_lens=repeat(1024, 4)
  • mamba2-2.7b-prefill-32kx: [32768, 5376]weight: [5376, 4]conv_state: [8, 5376, 3]cu_seqlens: [9], i32bias: [5376]has_initial_state: [8], boolseq_lens=repeat(4096, 8)

x: [Tt, D]weight: [D, W]conv_state: [B, D, L]cu_seqlens: [B + 1], i32bias: [D]

  • mamba2-2.7b-pf4k-nostx: [4096, 5376]weight: [5376, 4]conv_state: [4, 5376, 3]cu_seqlens: [5], i32bias: [5376]seq_lens=repeat(1024, 4)dtype=bf16/bf16

x: [Tt, D]weight: [D, W]conv_state: [B, D, L]cu_seqlens: [B + 1], i32has_initial_state: [B], bool

bias=None

  • qwen3-next-pf4k-raggedx: [4096, 8192]weight: [8192, 4]conv_state: [4, 8192, 3]cu_seqlens: [5], i32has_initial_state: [4], boolseq_lens=[2500,1000,500,96]dtype=f16/f16
  • qwen3-next-prefill-32kx: [32768, 8192]weight: [8192, 4]conv_state: [4, 8192, 3]cu_seqlens: [5], i32has_initial_state: [4], boolseq_lens=repeat(8192, 4)dtype=f16/f16
  • qwen3.8-flash-ple-pfx: [4096, 10240]weight: [10240, 4]conv_state: [4, 10240, 9]cu_seqlens: [5], i32has_initial_state: [4], boolseq_lens=repeat(1024, 4)dilation=3dtype=bf16/bf16

x: [Tt, D]weight: [D, W]conv_state: [P, D, L]cu_seqlens: [B + 1], i32has_initial_state: [B], boolcache_indices: [B], i32

bias=Nonedtype=bf16/bf16

  • qwen3.6-27b-pf-poolx: [4096, 10240]weight: [10240, 4]conv_state: [256, 10240, 3]cu_seqlens: [5], i32has_initial_state: [4], boolcache_indices: [4], i32seq_lens=repeat(1024, 4)
  • qwen3.6-27b-pf-spec-poolx: [4096, 10240]weight: [10240, 4]conv_state: [256, 10240, 6]cu_seqlens: [4], i32has_initial_state: [3], boolcache_indices: [3], i32seq_lens=[3000,1000,96]
  • qwen3.6-35b-a3b-pf-poolx: [4096, 8192]weight: [8192, 4]conv_state: [256, 8192, 3]cu_seqlens: [5], i32has_initial_state: [4], boolcache_indices: [4], i32seq_lens=repeat(1024, 4)
  • qwen3.8-flash-ple-poolx: [4096, 10240]weight: [10240, 4]conv_state: [256, 10240, 9]cu_seqlens: [5], i32has_initial_state: [4], boolcache_indices: [4], i32seq_lens=repeat(1024, 4)dilation=3

x: [Tt, D]weight: [D, W], f32conv_state: [B, D, L]cu_seqlens: [B + 1], i32has_initial_state: [B], bool

  • glm-5.3-flash-pfx: [4096, 24576]weight: [24576, 4], f32conv_state: [4, 24576, 3]cu_seqlens: [5], i32has_initial_state: [4], boolseq_lens=repeat(1024, 4)bias=Nonedtype=bf16/f32

x: [Tt, D]weight: [D, W], f32conv_state: [P, D, L]cu_seqlens: [B + 1], i32has_initial_state: [B], boolcache_indices: [B], i32

  • glm-5.3-flash-pf-poolx: [4096, 24576]weight: [24576, 4], f32conv_state: [256, 24576, 3]cu_seqlens: [5], i32has_initial_state: [4], boolcache_indices: [4], i32seq_lens=repeat(1024, 4)bias=Nonedtype=bf16/f32
Workload dtype Ratio Device time Alternatives Throughput SOL Bound
alt / ours ms name ms TFLOP/s of ceiling by
mamba2-2.7b-prefill-4kbf16/bf162.27×0.0274vllm0.06226.42··
mamba2-2.7b-prefill-32kbf16/bf162.47×0.1798vllm0.44467.84··
mamba2-2.7b-pf4k-nostbf16/bf162.31×0.0269vllm0.06226.54··
qwen3-next-pf4k-raggedf16/f162.19×0.0392vllm0.08596.85··
qwen3-next-prefill-32kf16/f162.44×0.2608vllm0.63718.23··
qwen3.8-flash-ple-pfbf16/bf161.75×0.0647vllm0.11355.18··
qwen3.6-27b-pf-poolbf16/bf162.48×0.0458vllm0.11357.33··
qwen3.6-27b-pf-spec-poolbf16/bf162.32×0.0491vllm0.11396.83··
qwen3.6-35b-a3b-pf-poolbf16/bf162.44×0.0378vllm0.09227.11··
qwen3.8-flash-ple-poolbf16/bf161.85×0.0614vllm0.11365.46··
glm-5.3-flash-pfbf16/f322.12×0.1074vllm0.22747.5··
glm-5.3-flash-pf-poolbf16/f322.08×0.1094vllm0.22737.36··

SSDChunkCumsumFwd

dt: [B, S, H], f32A: [H], f32

chunk_size=256dt_softplus=true

  • mamba2-780mdt: [1, 4096, 48], f32A: [48], f32dtype=f16
  • mamba2-1p3bdt: [8, 2048, 64], f32A: [64], f32dtype=bf16

dt: [B, S, H], f32A, dt_bias: [H], f32

chunk_size=256dt_softplus=true

  • mamba2-780m-dt-biasdt: [1, 4096, 48], f32A, dt_bias: [48], f32dtype=f16
  • mamba2-1p3b-dt-biasdt: [8, 2048, 64], f32A, dt_bias: [64], f32dtype=bf16
  • mamba2-2p7bdt: [2, 32768, 80], f32A, dt_bias: [80], f32dtype=f16
Workload dtype Ratio Device time Alternatives Throughput SOL Bound
alt / ours ms name ms TFLOP/s of ceiling by
mamba2-780mf161.65×0.00282torch-compile
vllm
torch-ref
0.00464
0.00477
0.0735
0.489··
mamba2-1p3bbf161.60×0.00525vllm
torch-compile
torch-ref
0.00842
0.0111
0.0939
1.4··
mamba2-780m-dt-biasf161.69×0.00282torch-compile
vllm
torch-ref
0.00477
0.00483
0.0755
0.559··
mamba2-1p3b-dt-biasbf161.62×0.00531vllm
torch-compile
torch-ref
0.00861
0.0113
0.0990
1.58··
mamba2-2p7bf161.37×0.0203vllm
torch-compile
torch-ref
0.0278
0.0311
0.2436
2.06··

SSDChunkCouplingFwd

C, B: [Bsz, S, G, N]

chunk_size=256

  • mamba2-780mC, B: [1, 4096, 1, 128]dtype=f16
  • mamba2-2p7bC, B: [4, 2048, 1, 128]dtype=bf16
  • mamba2-grouped-prefillC, B: [3, 3072, 8, 128]dtype=f16
Workload dtype Ratio Device time Alternatives Throughput SOL Bound
alt / ours ms name ms TFLOP/s of ceiling by
mamba2-780mf161.53×0.00653vllm
torch
0.00998
0.0370
20.6··
mamba2-2p7bbf161.40×0.0111vllm
torch
0.0156
0.0522
24.2··
mamba2-grouped-prefillf161.75×0.0573vllm
torch
0.1000
0.4687
42.2··

SSDChunkStateFwd

x: [Bsz, NC * Q, H, P]B: [Bsz, NC * Q, G, N]dt, dA_cumsum: [Bsz, H, NC, Q], f32

dtype=bf16/f32

  • mamba2-780mx: [1, 4096, 48, 64]B: [1, 4096, 1, 128]dt, dA_cumsum: [1, 48, 16, 256], f32
  • mamba2-2p7bx: [4, 2048, 80, 64]B: [4, 2048, 1, 128]dt, dA_cumsum: [4, 80, 8, 256], f32

x: [Bsz, NC * Q, H, P]B: [Bsz, NC * Q, G, N]dt, dA_cumsum: [Bsz, H, NC, Q], f32seq_idx: [Bsz, NC * Q], i32

  • mamba2-780m-seq-idxx: [1, 4096, 48, 64]B: [1, 4096, 1, 128]dt, dA_cumsum: [1, 48, 16, 256], f32seq_idx: [1, 4096], i32dtype=bf16/f32
  • mamba2-1p3bx: [2, 32768, 64, 64]B: [2, 32768, 1, 128]dt, dA_cumsum: [2, 64, 128, 256], f32seq_idx: [2, 32768], i32dtype=f16/f32
Workload dtype Ratio Device time Alternatives Throughput SOL Bound
alt / ours ms name ms TFLOP/s of ceiling by
mamba2-780mbf16/f321.43×0.0180vllm
torch-compile
torch-ref
0.0257
0.1629
0.5447
180··
mamba2-2p7bbf16/f321.55×0.0512vllm
torch-compile
torch-ref
0.0794
0.5223
1.7564
210··
mamba2-780m-seq-idxbf16/f329.33×0.0175torch-compile
torch-ref
0.1636
0.5577
184··
mamba2-1p3bf16/f3211.05×0.2992torch-compile
torch-ref
3.3070
11.1752
231··

SSDStatePassingFwd

states: [B, NC, H, N]dA_chunk_cumsum: [B, H, NC], f32

  • mamba2-1p3bstates: [1, 16, 64, 128]dA_chunk_cumsum: [1, 64, 16], f32dtype=bf16
  • mamba2-2p7bstates: [2, 128, 80, 128]dA_chunk_cumsum: [2, 80, 128], f32dtype=f16

states: [B, NC, H, N]dA_chunk_cumsum: [B, H, NC], f32initial_states: [B, H, N], f32

  • mamba2-1p3b-initstates: [1, 16, 64, 128]dA_chunk_cumsum: [1, 64, 16], f32initial_states: [1, 64, 128], f32dtype=bf16

states: [B, NC, H, N]dA_chunk_cumsum: [B, H, NC]initial_states: [B, H, N]

  • mamba2-1p3b-flatstates: [1, 16, 64, 8192]dA_chunk_cumsum: [1, 64, 16]initial_states: [1, 64, 8192]dtype=f32
Workload dtype Ratio Device time Alternatives Throughput SOL Bound
alt / ours ms name ms TFLOP/s of ceiling by
mamba2-1p3bbf161.52×0.00186torch-compile
vllm
torch-ref
0.00282
0.0140
0.1242
0.142··
mamba2-2p7bf169.01×0.00918vllm
torch-compile
torch-ref
0.0827
0.0902
1.1477
0.573··
mamba2-1p3b-initbf161.09×0.00186torch-compile
vllm
torch-ref
0.00202
0.0102
0.1238
0.142··
mamba2-1p3b-flatf321.08×0.0170torch-compile
vllm
torch-ref
0.0184
0.0367
0.1262
0.986··

SSDChunkScanFwd

x: [B, NC * Q, H, P]cb: [B, NC, G, Q, Q]dA_cumsum: [B, H, NC, Q], f32C: [B, NC * Q, G, N]prev_states: [B, NC, H, P, N], f32dt: [B, H, NC, Q]

  • mamba2-780mx: [1, 4096, 48, 64]cb: [1, 16, 1, 256, 256]dA_cumsum: [1, 48, 16, 256], f32C: [1, 4096, 1, 128]prev_states: [1, 16, 48, 64, 128], f32dt: [1, 48, 16, 256]dtype=bf16
  • mamba2-2p7bx: [4, 2048, 80, 64]cb: [4, 8, 1, 256, 256]dA_cumsum: [4, 80, 8, 256], f32C: [4, 2048, 1, 128]prev_states: [4, 8, 80, 64, 128], f32dt: [4, 80, 8, 256]dtype=bf16
  • mamba2-1p3bx: [2, 32768, 64, 64]cb: [2, 128, 1, 256, 256]dA_cumsum: [2, 64, 128, 256], f32C: [2, 32768, 1, 128]prev_states: [2, 128, 64, 64, 128], f32dt: [2, 64, 128, 256]dtype=f16
Workload dtype Ratio Device time Alternatives Throughput SOL Bound
alt / ours ms name ms TFLOP/s of ceiling by
mamba2-780mbf161.45×0.0732vllm
torch-compile
torch-ref
0.1058
0.5067
1.9653
88··
mamba2-2p7bbf161.44×0.2312vllm
torch-compile
torch-ref
0.3339
1.6473
6.5343
92.9··
mamba2-1p3bf161.54×1.4513vllm
torch-compile
torch-ref
2.2346
9.9631
40.2463
94.7··

CausalConv1dUpdateFwd

x: [B, D]weight: [D, W]conv_state: [B, D, L]bias: [D]

dtype=bf16/bf16

  • mamba2-2.7b-decode-b1x: [1, 5376]weight: [5376, 4]conv_state: [1, 5376, 3]bias: [5376]
  • mamba2-2.7b-decode-b64x: [64, 5376]weight: [5376, 4]conv_state: [64, 5376, 3]bias: [5376]
  • mamba2-2.7b-decode-b256x: [256, 5376]weight: [5376, 4]conv_state: [256, 5376, 3]bias: [5376]

x: [B, D]weight: [D, W]conv_state: [B, D, L]

  • qwen3-next-decode-b64x: [64, 8192]weight: [8192, 4]conv_state: [64, 8192, 3]dtype=f16/f16

x: [B, D]weight: [D, W]conv_state: [P, D, L]conv_state_indices: [B], i32

dtype=bf16/bf16

  • qwen3.6-27b-dec-poolx: [64, 10240]weight: [10240, 4]conv_state: [256, 10240, 3]conv_state_indices: [64], i32
  • qwen3.6-35b-a3b-dec-poolx: [64, 8192]weight: [8192, 4]conv_state: [256, 8192, 3]conv_state_indices: [64], i32
  • qwen3.8-flash-ple-decx: [64, 10240]weight: [10240, 4]conv_state: [256, 10240, 9]conv_state_indices: [64], i32dilation=3

x: [Tt, D]weight: [D, W]conv_state: [P, D, L]conv_state_indices, num_accepted_tokens: [B], i32query_start_loc: [B + 1], i32

seq_lens=repeat(4, 64)max_query_len=4dtype=bf16/bf16

  • qwen3.6-27b-spec-verifyx: [256, 10240]weight: [10240, 4]conv_state: [256, 10240, 6]conv_state_indices, num_accepted_tokens: [64], i32query_start_loc: [65], i32
  • qwen3.6-35b-a3b-specx: [256, 8192]weight: [8192, 4]conv_state: [256, 8192, 6]conv_state_indices, num_accepted_tokens: [64], i32query_start_loc: [65], i32
  • qwen3.8-flash-ple-specx: [256, 10240]weight: [10240, 4]conv_state: [256, 10240, 12]conv_state_indices, num_accepted_tokens: [64], i32query_start_loc: [65], i32dilation=3

x: [B, D]weight: [D, W], f32conv_state: [P, D, L]conv_state_indices: [B], i32

  • glm-5.3-flash-dec-poolx: [64, 24576]weight: [24576, 4], f32conv_state: [256, 24576, 3]conv_state_indices: [64], i32dtype=bf16/f32

x: [Tt, D]weight: [D, W], f32conv_state: [P, D, L]conv_state_indices, num_accepted_tokens: [B], i32query_start_loc: [B + 1], i32

  • glm-5.3-flash-specx: [256, 24576]weight: [24576, 4], f32conv_state: [256, 24576, 6]conv_state_indices, num_accepted_tokens: [64], i32query_start_loc: [65], i32seq_lens=repeat(4, 64)max_query_len=4dtype=bf16/f32
Workload dtype Ratio Device time Alternatives Throughput SOL Bound
alt / ours ms name ms TFLOP/s of ceiling by
mamba2-2.7b-decode-b1bf16/bf161.95×0.00163vllm0.003180.0264··
mamba2-2.7b-decode-b64bf16/bf161.85×0.00283vllm0.005250.972··
mamba2-2.7b-decode-b256bf16/bf162.06×0.00656vllm0.01351.68··
qwen3-next-decode-b64f16/f162.02×0.00327vllm0.006591.28··
qwen3.6-27b-dec-poolbf16/bf161.72×0.00461vllm0.00791.14··
qwen3.6-35b-a3b-dec-poolbf16/bf161.85×0.00355vllm0.006561.18··
qwen3.8-flash-ple-decbf16/bf161.34×0.00765vllm0.01030.686··
qwen3.6-27b-spec-verifybf16/bf161.74×0.00867vllm
torch-ref
0.0151
2.1287
2.42··
qwen3.6-35b-a3b-specbf16/bf161.71×0.00755vllm
torch-ref
0.0129
2.1000
2.22··
qwen3.8-flash-ple-specbf16/bf161.49×0.0149vllm
torch-ref
0.0222
2.1782
1.4··
glm-5.3-flash-dec-poolbf16/f322.32×0.008vllm0.01861.57··
glm-5.3-flash-specbf16/f321.79×0.0174vllm
torch-ref
0.0312
2.0896
2.89··

SSDRecurrentFwd

A: [H, P, N], f32dt: [Bsz, H, P], f32x: [Bsz, H, P]B, C: [Bsz, G, N]state: [Bsz, H, P, N], f32

  • mamba2-1p3bA: [64, 64, 128], f32dt: [1, 64, 64], f32x: [1, 64, 64]B, C: [1, 1, 128]state: [1, 64, 64, 128], f32dtype=bf16
  • mamba2-2p7bA: [80, 64, 128], f32dt: [8, 80, 64], f32x: [8, 80, 64]B, C: [8, 1, 128]state: [8, 80, 64, 128], f32dtype=f16
  • mamba2-780mA: [48, 64, 128], f32dt: [32, 48, 64], f32x: [32, 48, 64]B, C: [32, 1, 128]state: [32, 48, 64, 128], f32dtype=f16
Workload dtype Ratio Device time Alternatives Throughput SOL Bound
alt / ours ms name ms TFLOP/s of ceiling by
mamba2-1p3bbf162.50×0.00294vllm
torch-compile
flashinfer
torch-ref
0.00736
0.00848
0.0140
0.0301
1.42··
mamba2-2p7bf161.40×0.0117vllm
flashinfer
torch-compile
torch-ref
0.0164
0.0275
0.0285
0.1119
3.58··
mamba2-780mf161.24×0.0250vllm
flashinfer
torch-compile
torch-ref
0.0309
0.0437
0.0677
0.2413
4.03··