Skip to content
Preview

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

Preview — unsigned Coming soon: no signed .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.

45 layers: 11 sparse attention (DSA), 34 linear attention

The interactive 3D view needs JavaScript; the layer sequence and its templates are below.

Loading the architecture…

    Templates and layer sequence

    Layer templates
    TemplateBlocksNodesEdgesFused groupsUsed by
    embedembed210once
    dsa+moedsa + moe3951811 layers
    kda+mlpkda + mlp324363 layers
    kda+moekda + moe3954931 layers
    headhead430once

    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.

    Kernels the plan launches
    Kernel (module::func)FamilyCompute unitGroups
    causal_conv1d::causal_conv1d_update_l2normcausal_conv1d_l2normcuda_core34
    dsa_indexer::dsa_indexer_storedsa_indexercuda_core11
    dsa_indexer_rows::dsa_expand_selection_rowsdsa_indexercuda_core11
    dsa_scores_warp::dsa_index_scores_heads_pageddsa_indexercuda_core11
    dsa_scores_warp::dsa_pool_keys_store_rowsdsa_indexercuda_core11
    dsa_topk_mc::dsa_topk_mc_collectdsa_indexercuda_core11
    dsa_topk_mc::dsa_topk_mc_passdsa_indexercuda_core11
    gemv::dense_gemv_bf16dense_bf16cuda_core12
    gemv::dense_gemv_bf16_fp32outdense_bf16cuda_core64
    glm5next_dsa_mla_decode::glm5next_dsa_mla_decode_fp8glm_mla_decodecuda_core11
    glm5next_ffn::glm5next_moe_combineglm_moe_combinememory42
    glm5next_ffn::glm5next_router_topk_rankglm_router_topkmemory42
    glm5next_ffn::glm5next_swiglu_clampglm_swiglu_clampcuda_core memory87
    glm5next_mhc::glm5next_hc_expandglm_mhcmemory1
    glm5next_mhc::glm5next_hc_headglm_mhcmemory1
    glm5next_mhc::glm5next_hc_postglm_mhcmemory90
    glm5next_mhc_c1::glm5next_hc_pre_norm_c1glm_mhccuda_core90
    glm5next_mla_latent_write::glm5next_mla_latent_write_fp8glm_mla_latent_writememory11
    kda_gates_w8a8::kda_gates_w8a8_k128_rowskda_gates_w8a8tensor_core:mma.sync.m16n8k32.e4m334
    kda_layer_ops::kda_o_norm_gated_bf16kda_o_normmemory34
    kda_layer_ops::kda_pack_qkv_bf16kda_packmemory34
    kda_recurrent::kda_recurrent_decode_bf16_seq_regkda_recurrentcuda_core34
    nllb_encoder::nllb_layernorm_bf16layer_normmemory11
    norm::rms_normrms_normmemory1
    rms_norm_vanilla::rms_norm_vanillarms_normmemory11
    w4a16_gemv::w4a16_gemvw4a16_gemvcuda_core34
    w4a16_gemv_pipe::w4a16_gemv_pipe_m1w4a16_gemvcuda_core76
    w4a4_gemv_mx::w4a4_gemv_mx8w4a4_mxtensor_core:mma.sync.m16n8k64.mxf4nvf4.block_scale6
    w4a4_gemv_mx::w4a4_quant_rowsw4a4_mxmemory6
    w4a4_gemv_mx_moe::w4a4_gemv_mx8_moe_slots_sweep_csw4a4_mx_statictensor_core:mma.sync.m16n8k64.mxf4nvf4.block_scale84
    w4a4_gemv_mx_moe::w4a4_quant_rows_staticw4a4_mx_statictensor_core:mma.sync.m16n8k64.mxf4nvf4.block_scale84
    w8a8_act_quant::w8a8_act_quant_roww8a8_act_quantmemory33
    w8a8_gemv::w8a8_gemv_rowscale_mb1_ku8wxaytensor_core:mma.sync.m16n8k32.e4m333
    w8a8_gemv::w8a8_gemv_rowscale_mb1_ku8_split4wxaytensor_core:mma.sync.m16n8k32.e4m311

    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 and activation formats of the weighted nodes
    WeightActivationNodes
    nvfp4/g16bf16322
    fp8/channelfp8/token123
    bf16f3290
    nvfp4/g16nvfp4/g1690
    bf16bf1687

    Node outputs

    Output formats of every node
    Output formatNodes
    bf16904
    f32411
    fp8/token101
    bf16,f32,f3290
    nvfp4/g1690
    f32,i3242
    f32,f3234
    i3212

    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.

    Plan arms
    ModeRowsGroupsLaunchesFused edgesMaterializedDigest
    decode19091,1555821,3580798f9f10364
    multi_seq28221,3406581,2826735153b6d3e
    multi_seq48561,6606581,282ab45c5a2d5a7
    multi_seq88562,2326581,282826adabf0033
    multi_seq121,0142,9965561,3844915a2b8d8b5
    multi_seq161,0143,5685561,384bf0bd2fbd829
    multi_seq241,672295341,906d242da1f6372route gdn_state_slots_fragmented: 1672 groups, f2d841d37452
    multi_seq321,672295341,906415a2b942fc2route gdn_state_slots_fragmented: 1672 groups, 501954598eb5
    multi_seq481,672196341,9065ed8f0301f4eroute gdn_state_slots_fragmented: 1672 groups, 0466e915dcab
    multi_seq641,672196341,906ae9c63121d47route gdn_state_slots_fragmented: 1672 groups, b1a28ab12a54
    multi_seq961,672196341,906e908fdfdccb6route gdn_state_slots_fragmented: 1672 groups, e90a27d394bf
    multi_seq1281,672196341,9062a6b51a59e1froute gdn_state_slots_fragmented: 1672 groups, 30d2adaf1482
    verify28331,4546581,2824986415bf15d
    verify38671,6996581,282624ebf83b599
    verify48671,9106581,282edf5dc573b39
    verify88672,9506581,2823f2a7a9691be
    draft137120388969b4c107e7

    Performance

    Serve throughput

    Measured serve throughput with fingerprints
    MeasureValueRunsStatusConditions and sourceFingerprint
    C=1 decode, 1k context50.52 tok/s50.12 · 50.52 · 50.8preliminarymedian of runs p1-p3 (recipe defaults); single harness, bring-up ctxsweep, C=1, OSL 512
    profile glm53-tp3-512k-fast12/PROVENANCE.txt
    record9e928d609746git6d845c0eebinary377d5214f286argve17fe83b2704env07768e9f8fd7
    C=1 decode, 16k context49.43 tok/s49.07 · 49.43 · 49.52preliminarymedian of runs p1-p3 (recipe defaults); single harness, bring-up ctxsweep, C=1, OSL 512
    profile glm53-tp3-512k-fast12/PROVENANCE.txt
    record9e928d609746git6d845c0eebinary377d5214f286argve17fe83b2704env07768e9f8fd7
    C=1 decode, 64k context47.96 tok/s47.7 · 47.96 · 48.11preliminarymedian of runs p1-p3 (recipe defaults); single harness, bring-up ctxsweep, C=1, OSL 512
    profile glm53-tp3-512k-fast12/PROVENANCE.txt
    record9e928d609746git6d845c0eebinary377d5214f286argve17fe83b2704env07768e9f8fd7
    C=1 decode, 128k context47.96 tok/s47.67 · 47.96 · 47.98preliminarymedian 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
    record9e928d609746git6d845c0eebinary377d5214f286argve17fe83b2704env07768e9f8fd7

    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 1
    • met 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 2
    • met 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 4
    • met 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 8
    • met 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 12
    • met 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 16
    • met 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 24
    • met 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 32
    • met 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 48
    • met 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 64
    • met 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 96
    • met 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 128
    • met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode verify --rows 2
    • met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode verify --rows 3
    • met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode verify --rows 4
    • met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode verify --rows 8
    • met circuit plan --root <tree> --checkpoint glm-5.3/glm-5.3-flash-nvfp4-tp3-512k --hardware gb10 --precision recipe --format plan --mode draft --rows 1
    • met 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
    Engine files read
    FileSHA-256
    kernels/circuits/INSTANCES.toml2267a2a3ac7f
    recipes/glm-5.3/glm-5.3-flash-nvfp4-tp3-512k.yaml6e639ddb73e5
    kernels/gb10/HARDWARE.toml8b45b443f05f
    kernels/DEVICES.toml256d85840f0e
    kernels/circuits/glm5_next.toml047893d2422d
    kernels/circuits/blocks/glm5_next_kda.toml9486bdea4533
    kernels/circuits/blocks/glm5_next_dsa.tomlfdb3145558a6
    kernels/circuits/blocks/glm5_next_ffn.toml4738cd396a11
    kernels/gb10/common/KERNEL_FAMILIES.tomlfa570a7b011e
    kernels/circuits/precision/glm-5.3-flash-nvfp4-tp3.tomlf1e299043e34

    The documents themselves: card.json (kbp-card/v1) and graph.json (kbp-graph/v1).