|
|
@@ -68,7 +68,7 @@
|
|
|
|
|
|
engine = "vllm"
|
|
|
name = "GLM-5.3-Flash NVFP4-Spark (vLLM, 2x Spark, MTP-5)"
|
|
|
-docker_image = "glm53-flash-nvfp4-lab:local"
|
|
|
+docker_image = "glm53-jovian-r12:local" # r12 fork build (see docker-images/glm53-jovian-r12)
|
|
|
docker_image_dir = "glm53-flash-nvfp4-lab"
|
|
|
model = "local-inference-lab/GLM-5.3-Flash-NVFP4-Spark"
|
|
|
required_nodes = 2
|
|
|
@@ -93,7 +93,13 @@ args = [
|
|
|
# Pinned 10 GiB KV (≈1.16M tokens) — GMU sizing has no headroom at
|
|
|
# 92.72 GiB weights/node; pinning also keeps warmup off the swap path
|
|
|
"--kv-cache-memory-bytes", "10737418240",
|
|
|
- "--kv-cache-dtype", "fp8_ds_mla",
|
|
|
+ # No --kv-cache-dtype: let the r12 fork pick its default (the explicit
|
|
|
+ # fp8 / fp8_ds_mla both failed auto-selection on this build).
|
|
|
+ # The GLM5Next model wires the B12X sparse-MLA backend (sm_120/sm_121)
|
|
|
+ # when the global backend is B12X (glm5next/nvidia/attention.py:
|
|
|
+ # _select_sparse_backend); the sm12x auto-priority list never offers it
|
|
|
+ # (FLASHINFER_MLA_SPARSE_SM120 only supports head 576, not GLM's 512).
|
|
|
+ "--attention-backend", "B12X",
|
|
|
"--block-size", "256",
|
|
|
"--max-model-len", "524288",
|
|
|
"--max-num-seqs", "8",
|
|
|
@@ -106,8 +112,11 @@ args = [
|
|
|
"--kernel-config", """
|
|
|
'{"enable_cutedsl_warmup":false,"enable_flashinfer_autotune":false}'""",
|
|
|
# MTP-5 draft from the embedded NVFP4 MTP shards (lil.yaml mtp_tokens: 5)
|
|
|
+ # The draft model's vllm_config takes its attention backend from the
|
|
|
+ # SPECULATIVE config, not the global flag (eagle/utils.py:
|
|
|
+ # _make_eagle_draft_vllm_config) — B12X here mirrors the main model's.
|
|
|
"--speculative-config", """
|
|
|
-'{"method":"mtp","num_speculative_tokens":3}'""",
|
|
|
+'{"method":"mtp","num_speculative_tokens":3,"attention_backend":"B12X"}'""",
|
|
|
"--language-model-only",
|
|
|
# MTP + CUDA graphs degrades OUTPUT QUALITY on the glm53 day-0 dev build
|
|
|
# (forum #381350/#44, CONFIRMED by A/B bench 2026-08-28: same seed/flags,
|