Blueprint · legacy engine glm5_next
GLM-5.3-Flash-NVFP4
glm-5.3-flash-nvfp4-tp3-512k on NVIDIA GB10 (DGX Spark)
GLM-5 hybrid: KDA and DSA sparse latent attention under 4-stream hyper-connections, dense SwiGLU then 288-expert MoE, MTP draft head
.kbp exists for a preview.
- Hardware
- GB10 ×3NVIDIA GB10 (DGX Spark) · sm_121f
- Layers
- 4511 sparse attention (DSA) / 34 linear attention
- Kernels
- 3423 modules · 20 families
- Decode step
- 1,155launches · 909 kernel groups
- Graph
- 1,740nodes · 2,504 edges
- Context
- 512kmax sequence length
Architecture
Plan arm decode n=1 · digest 0798f9f10364 · 5 templates over 45 layers. Drag to orbit (pan in 2D); zoom with the wheel, a pinch or the zoom buttons; select a node for its kernel and numerics.
The interactive 3D view needs JavaScript; the layer sequence and its templates are below.
Templates and layer sequence
| Template | Blocks | Nodes | Edges | Fused groups | Used by |
|---|---|---|---|---|---|
embed | embed | 2 | 1 | 0 | once |
dsa+moe | dsa + moe | 39 | 51 | 8 | 11 layers |
kda+mlp | kda + mlp | 32 | 43 | 6 | 3 layers |
kda+moe | kda + moe | 39 | 54 | 9 | 31 layers |
head | head | 4 | 3 | 0 | once |
Kernels
34 entries in 23 modules, 20 kernel families (0 outside any family). The decode step launches 1,155 kernels in 907 device groups, plus 2 on the host.
| Kernel (module::func) | Family | Compute unit | Groups |
|---|---|---|---|
causal_conv1d::causal_conv1d_update_l2norm | causal_conv1d_l2norm | cuda_core | 34 |
dsa_indexer::dsa_indexer_store | dsa_indexer | cuda_core | 11 |
dsa_indexer_rows::dsa_expand_selection_rows | dsa_indexer | cuda_core | 11 |
dsa_scores_warp::dsa_index_scores_heads_paged | dsa_indexer | cuda_core | 11 |
dsa_scores_warp::dsa_pool_keys_store_rows | dsa_indexer | cuda_core | 11 |
dsa_topk_mc::dsa_topk_mc_collect | dsa_indexer | cuda_core | 11 |
dsa_topk_mc::dsa_topk_mc_pass | dsa_indexer | cuda_core | 11 |
gemv::dense_gemv_bf16 | dense_bf16 | cuda_core | 12 |
gemv::dense_gemv_bf16_fp32out | dense_bf16 | cuda_core | 64 |
glm5next_dsa_mla_decode::glm5next_dsa_mla_decode_fp8 | glm_mla_decode | cuda_core | 11 |
glm5next_ffn::glm5next_moe_combine | glm_moe_combine | memory | 42 |
glm5next_ffn::glm5next_router_topk_rank | glm_router_topk | memory | 42 |
glm5next_ffn::glm5next_swiglu_clamp | glm_swiglu_clamp | cuda_core memory | 87 |
glm5next_mhc::glm5next_hc_expand | glm_mhc | memory | 1 |
glm5next_mhc::glm5next_hc_head | glm_mhc | memory | 1 |
glm5next_mhc::glm5next_hc_post | glm_mhc | memory | 90 |
glm5next_mhc_c1::glm5next_hc_pre_norm_c1 | glm_mhc | cuda_core | 90 |
glm5next_mla_latent_write::glm5next_mla_latent_write_fp8 | glm_mla_latent_write | memory | 11 |
kda_gates_w8a8::kda_gates_w8a8_k128_rows | kda_gates_w8a8 | tensor_core:mma.sync.m16n8k32.e4m3 | 34 |
kda_layer_ops::kda_o_norm_gated_bf16 | kda_o_norm | memory | 34 |
kda_layer_ops::kda_pack_qkv_bf16 | kda_pack | memory | 34 |
kda_recurrent::kda_recurrent_decode_bf16_seq_reg | kda_recurrent | cuda_core | 34 |
nllb_encoder::nllb_layernorm_bf16 | layer_norm | memory | 11 |
norm::rms_norm | rms_norm | memory | 1 |
rms_norm_vanilla::rms_norm_vanilla | rms_norm | memory | 11 |
w4a16_gemv::w4a16_gemv | w4a16_gemv | cuda_core | 34 |
w4a16_gemv_pipe::w4a16_gemv_pipe_m1 | w4a16_gemv | cuda_core | 76 |
w4a4_gemv_mx::w4a4_gemv_mx8 | w4a4_mx | tensor_core:mma.sync.m16n8k64.mxf4nvf4.block_scale | 6 |
w4a4_gemv_mx::w4a4_quant_rows | w4a4_mx | memory | 6 |
w4a4_gemv_mx_moe::w4a4_gemv_mx8_moe_slots_sweep_cs | w4a4_mx_static | tensor_core:mma.sync.m16n8k64.mxf4nvf4.block_scale | 84 |
w4a4_gemv_mx_moe::w4a4_quant_rows_static | w4a4_mx_static | tensor_core:mma.sync.m16n8k64.mxf4nvf4.block_scale | 84 |
w8a8_act_quant::w8a8_act_quant_row | w8a8_act_quant | memory | 33 |
w8a8_gemv::w8a8_gemv_rowscale_mb1_ku8 | wxay | tensor_core:mma.sync.m16n8k32.e4m3 | 33 |
w8a8_gemv::w8a8_gemv_rowscale_mb1_ku8_split4 | wxay | tensor_core:mma.sync.m16n8k32.e4m3 | 11 |
Precision
Tier recipe, table glm-5.3-flash-nvfp4-tp3 (f1e299043e34). KV cache fp8. Formats are the plan's: weight as stored, activation as the kernel reads it.
Weighted nodes
| Weight | Activation | Nodes |
|---|---|---|
nvfp4/g16 | bf16 | 322 |
fp8/channel | fp8/token | 123 |
bf16 | f32 | 90 |
nvfp4/g16 | nvfp4/g16 | 90 |
bf16 | bf16 | 87 |
Node outputs
| Output format | Nodes |
|---|---|
bf16 | 904 |
f32 | 411 |
fp8/token | 101 |
bf16,f32,f32 | 90 |
nvfp4/g16 | 90 |
f32,i32 | 42 |
f32,f32 | 34 |
i32 | 12 |
Plan arms
Every (mode, rows) arm the instance lists, fused by the planner; a loader with the same rule set re-plans each one and must reproduce its digest.
| Mode | Rows | Groups | Launches | Fused edges | Materialized | Digest |
|---|---|---|---|---|---|---|
decode | 1 | 909 | 1,155 | 582 | 1,358 | 0798f9f10364 |
multi_seq | 2 | 822 | 1,340 | 658 | 1,282 | 6735153b6d3e |
multi_seq | 4 | 856 | 1,660 | 658 | 1,282 | ab45c5a2d5a7 |
multi_seq | 8 | 856 | 2,232 | 658 | 1,282 | 826adabf0033 |
multi_seq | 12 | 1,014 | 2,996 | 556 | 1,384 | 4915a2b8d8b5 |
multi_seq | 16 | 1,014 | 3,568 | 556 | 1,384 | bf0bd2fbd829 |
multi_seq | 24 | 1,672 | 295 | 34 | 1,906 | d242da1f6372route gdn_state_slots_fragmented: 1672 groups, f2d841d37452 |
multi_seq | 32 | 1,672 | 295 | 34 | 1,906 | 415a2b942fc2route gdn_state_slots_fragmented: 1672 groups, 501954598eb5 |
multi_seq | 48 | 1,672 | 196 | 34 | 1,906 | 5ed8f0301f4eroute gdn_state_slots_fragmented: 1672 groups, 0466e915dcab |
multi_seq | 64 | 1,672 | 196 | 34 | 1,906 | ae9c63121d47route gdn_state_slots_fragmented: 1672 groups, b1a28ab12a54 |
multi_seq | 96 | 1,672 | 196 | 34 | 1,906 | e908fdfdccb6route gdn_state_slots_fragmented: 1672 groups, e90a27d394bf |
multi_seq | 128 | 1,672 | 196 | 34 | 1,906 | 2a6b51a59e1froute gdn_state_slots_fragmented: 1672 groups, 30d2adaf1482 |
verify | 2 | 833 | 1,454 | 658 | 1,282 | 4986415bf15d |
verify | 3 | 867 | 1,699 | 658 | 1,282 | 624ebf83b599 |
verify | 4 | 867 | 1,910 | 658 | 1,282 | edf5dc573b39 |
verify | 8 | 867 | 2,950 | 658 | 1,282 | 3f2a7a9691be |
draft | 1 | 37 | 12 | 0 | 38 | 8969b4c107e7 |
Performance
Serve throughput
| Measure | Value | Runs | Status | Conditions and source | Fingerprint |
|---|---|---|---|---|---|
| C=1 decode, 1k context | 50.52 tok/s | 50.12 · 50.52 · 50.8 | preliminary | median of runs p1-p3 (recipe defaults); single harness, bring-up ctxsweep, C=1, OSL 512 profile glm53-tp3-512k-fast12/PROVENANCE.txt | record 9e928d609746git6d845c0eebinary377d5214f286argve17fe83b2704env07768e9f8fd7 |
| C=1 decode, 16k context | 49.43 tok/s | 49.07 · 49.43 · 49.52 | preliminary | median of runs p1-p3 (recipe defaults); single harness, bring-up ctxsweep, C=1, OSL 512 profile glm53-tp3-512k-fast12/PROVENANCE.txt | record 9e928d609746git6d845c0eebinary377d5214f286argve17fe83b2704env07768e9f8fd7 |
| C=1 decode, 64k context | 47.96 tok/s | 47.7 · 47.96 · 48.11 | preliminary | median of runs p1-p3 (recipe defaults); single harness, bring-up ctxsweep, C=1, OSL 512 profile glm53-tp3-512k-fast12/PROVENANCE.txt | record 9e928d609746git6d845c0eebinary377d5214f286argve17fe83b2704env07768e9f8fd7 |
| C=1 decode, 128k context | 47.96 tok/s | 47.67 · 47.96 · 47.98 | preliminary | median of runs p1-p3 (recipe defaults); single harness, bring-up ctxsweep, C=1, OSL 512; runs p2 and p3 at 128k are throttle-flagged in the record profile glm53-tp3-512k-fast12/PROVENANCE.txt | record 9e928d609746git6d845c0eebinary377d5214f286argve17fe83b2704env07768e9f8fd7 |
Kernel measurements
62 per-kernel times (nsys, against the roofline floor): 24 for kernels this plan launches, 38 for kernels outside it. Open the kernel measurements
Signature and sizes
Unverified
This is a preview: no blueprint body has been built or signed, so there is nothing to verify. Its id is a preview: hash of the slug and the plan digest, never a body hash.
- Suite
mldsa65+ed25519(ML-DSA-65 and Ed25519; both must verify)- Key id
- none
- Trust anchor
- none
- Blueprint id
6a8ae702eb15- Lineage
2ed80c3cc566· revision 0
- Body
- not built
- Lite file
- not built
- Full file
- not built
- Download
- No .kbp file exists for a preview: blueprint builds and signing are not available yet.
Provenance
Exported by preview: tools/preview/kbp_preview.py over `met circuit plan` (not `met blueprint export`). Engine tree b604fd98d239, planner binary 7868f0ba0b76 (built from b604fd98d239). Target gb10/glm-5.3-flash/nvfp4.
Planner settings
activation_quantization=adaptivedecode_split_silu=ongemv_sw=onglm_kda_row_reg=onglm_kda_rows_reg=onglm_kda_seq_rows=decodeglm_kda_verify_tokens=onglm_mhc_fused=onglm_moe_expert_layout=tpglm_moe_w4a4_grouped=onglm_router_rows=onglm_router_topk_rank=onglm_w4a16_gemv_rows=2glm_w4a16_gemv_seg=onglm_w4a16_seg=fusekv_cache_dtype=fp8lm_head_dtype=bf16rms_norm_act_quant=offrow_tiers=by_rowsssm_ba_gates_hopper=onssm_batched_recurrent=onssm_h_dtype=f32w4a16_tc=on
The 18 planner commands
met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode decode --rows 1met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode multi_seq --rows 2met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode multi_seq --rows 4met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode multi_seq --rows 8met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode multi_seq --rows 12met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode multi_seq --rows 16met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode multi_seq --rows 24met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode multi_seq --rows 32met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode multi_seq --rows 48met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode multi_seq --rows 64met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode multi_seq --rows 96met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode multi_seq --rows 128met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode verify --rows 2met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode verify --rows 3met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode verify --rows 4met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode verify --rows 8met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode draft --rows 1met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format explain --mode decode --rows 1
The 10 engine files read, with their SHA-256
| File | SHA-256 |
|---|---|
kernels/circuits/INSTANCES.toml | 2267a2a3ac7f |
recipes/glm-5.3/glm-5.3-flash-nvfp4-tp3-512k.yaml | 6e639ddb73e5 |
kernels/gb10/HARDWARE.toml | 8b45b443f05f |
kernels/DEVICES.toml | 256d85840f0e |
kernels/circuits/glm5_next.toml | 047893d2422d |
kernels/circuits/blocks/glm5_next_kda.toml | 9486bdea4533 |
kernels/circuits/blocks/glm5_next_dsa.toml | fdb3145558a6 |
kernels/circuits/blocks/glm5_next_ffn.toml | 4738cd396a11 |
kernels/gb10/common/KERNEL_FAMILIES.toml | fa570a7b011e |
kernels/circuits/precision/glm-5.3-flash-nvfp4-tp3.toml | f1e299043e34 |
The documents themselves: card.json (kbp-card/v1) and graph.json (kbp-graph/v1).