Skip to content

ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO

Download glm53-flash-ormandj-sglang-sm120-tp2-499k-adaptive-mtp-recipe.toml

glm53-flash-ormandj-sglang-sm120-tp2-499k-adaptive-mtp-recipe.toml · 7,892 bytes · SHA-256 1536543aa874c91e613db6a275c577f85409d840fe2a09541ee0a48f3eff1d89

A recipe is a reproducible starting point, not a promotion

Status text and notes describe when the recipe was written. Loading a recipe starts a loopback-only container and changes no route; qualify it with eval preflight before use.

Field Value
Status rejected
Family glm-5.3-flash-multimodal-moe
Weights ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO @ c3cbb9891b67c741bcbf6b176dd7af9265b069db
Engine sglang-glm53-sm120-v0.1.1-rc14
Image ghcr.io/ormandj/sglang-glm53-flash-sm120@sha256:0c0637959c3931829f05154087bbefd2c50003fb9b2010200ce0ec82f4d71a53
Quantization ModelOpt mixed W4A16 NVFP4 K32 routed experts plus FP8 weight-only attention/shared experts; FP8 E4M3 KV; BF16 recurrent state; native adaptive EAGLE MTP [3,5]
Context tokens 499712
Hardware 2x NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition · sm_120 · 192 GB
Served model name glm53-flash-ormandj-sglang-sm120-tp2-499k-adaptive-mtp
Suited for qualification, compatibility, text, tool-use, structured-output, multimodal, long-context, concurrency, speculative-decoding
Origin 2026-09-02 full-pool adaptive native-MTP candidate translated from ormandj/sglang-glm53-flash-sm120 v0.1.1-rc.14

Benchmark findings that measured this served model:

Sources:

Use this recipe

anvil-serving models recipes show 'ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO' --registry ./glm53-flash-ormandj-sglang-sm120-tp2-499k-adaptive-mtp-recipe.toml
anvil-serving models recipes load 'ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO' --container my-serve --registry ./glm53-flash-ormandj-sglang-sm120-tp2-499k-adaptive-mtp-recipe.toml --dry-run

Review the dry run, then repeat the load command with --confirm. See model lifecycle for importing a recipe into your own registry.

File

schema = "anvil-serving.serve-recipes/v1"

[[recipe]]
model = "ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO"
status = "rejected"
source = "2026-09-02 full-pool adaptive native-MTP candidate translated from ormandj/sglang-glm53-flash-sm120 v0.1.1-rc.14"
family = "glm-5.3-flash-multimodal-moe"
total_params_b = 744
active_params_b = 40

[recipe.download]
repo = "ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO"
revision = "c3cbb9891b67c741bcbf6b176dd7af9265b069db"
volume = "vllm-hfcache"
require_complete_cache = true

[recipe.hardware]
gpu = "2x NVIDIA RTX PRO 6000 Blackwell Max-Q Workstation Edition"
arch = "sm_120"
vram_total_gb = 192
vram_note = "Aggregate PCIe VRAM without NVLink under WSL2; exclusive TP=2 only. The measured profile left only 49 MiB/card after startup and collapsed to 0.61 aggregate output tok/s at nominal 120K/C4. The model-only reserve waiver does not make that safety and performance envelope acceptable."

[recipe.serve]
engine = "sglang-glm53-sm120-v0.1.1-rc14"
allow_cuda_visible_devices_index = true
image = "ghcr.io/ormandj/sglang-glm53-flash-sm120@sha256:0c0637959c3931829f05154087bbefd2c50003fb9b2010200ce0ec82f4d71a53"
entrypoint = [
  "bash",
  "-lc",
  '''set -e; printf '%s\n' '{"1":{"candidate_steps":[3,5],"up_hysteresis":0.0,"down_hysteresis":-0.25,"ceiling_coeff":0},"4":{"candidate_steps":[3,5],"up_hysteresis":0.0,"down_hysteresis":-0.25,"ceiling_coeff":0}}' > /tmp/glm53-adaptive.json; LP=/opt/sglang-source/python/sglang/srt/layers/logits_processor.py; echo '05cfcbd9c1439af751a22fb03490a2e5a252ea4bf5ad5febdae1eb87dce1e9a7  /opt/sglang-source/python/sglang/srt/layers/logits_processor.py' | sha256sum -c -; test "$(grep -Fc 'enabled=self.do_tensor_parallel_all_gather and not self.use_attn_tp_group,' "$LP")" = 1 || { echo 'anvil patch: logits gatherer anchor drift' >&2; exit 3; }; sed -i 's/enabled=self.do_tensor_parallel_all_gather and not self.use_attn_tp_group,/enabled=False,/' "$LP"; grep -Fq 'enabled=False,' "$LP" || { echo 'anvil patch: logits gatherer postcondition failed' >&2; exit 4; }; SRC=/root/.cache/huggingface/hub/models--ormandj--GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO/snapshots/c3cbb9891b67c741bcbf6b176dd7af9265b069db/chat_template.jinja; DST=/root/.cache/glm53-ormandj-enable-thinking-chat-template.jinja; python3 -c 'import base64,hashlib,os,pathlib,sys; src=pathlib.Path(sys.argv[1]); dst=pathlib.Path(sys.argv[2]); raw=src.read_bytes(); hashlib.sha256(raw).hexdigest()=="34d5ee66b12fa6446cdae131c352b8f68cd85369e0e6fda115583805fada3891" or sys.exit("anvil patch: source chat template hash drift"); old=base64.b64decode(os.environ["GLM53_CHAT_TEMPLATE_OLD_B64"]).decode(); new=base64.b64decode(os.environ["GLM53_CHAT_TEMPLATE_NEW_B64"]).decode(); text=raw.decode(); text.count(old)==1 or sys.exit("anvil patch: generation prompt anchor drift"); out=text.replace(old,new).encode(); hashlib.sha256(out).hexdigest()=="3133af873d620976b1561b76dc20ec2ad2599279ba61b873e872b1250f4f2ec5" or sys.exit("anvil patch: derived chat template hash mismatch"); dst.write_bytes(out)' "$SRC" "$DST"; echo 'anvil patch: WSL2 transport, logits gatherer, and thinking template ready'; exec sglang serve "$@" --chat-template "$DST"''',
  "glm53-adaptive-mtp",
]
model_flag = "--model-path"
model_path = "/root/.cache/huggingface/hub/models--ormandj--GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO/snapshots/c3cbb9891b67c741bcbf6b176dd7af9265b069db"
quantization = "ModelOpt mixed W4A16 NVFP4 K32 routed experts plus FP8 weight-only attention/shared experts; FP8 E4M3 KV; BF16 recurrent state; native adaptive EAGLE MTP [3,5]"
context_tokens = 499712
port = 39118
startup_timeout_seconds = 3600
served_model_name = "glm53-flash-ormandj-sglang-sm120-tp2-499k-adaptive-mtp"
ipc = "host"
shm_size = "64gb"
ulimits = ["memlock=-1", "nofile=1048576:1048576", "stack=67108864:67108864"]
named_volumes = ["glm53-ormandj-sglang-v58-rc14-adaptive-499k-wsl2-cache:/root/.cache"]
env = [
  "CUDA_DEVICE_ORDER=PCI_BUS_ID",
  "CUDA_VISIBLE_DEVICES=0,1",
  "PYTHONHASHSEED=0",
  "PYTORCH_CUDA_ALLOC_CONF=expandable_segments:False",
  "CUBLAS_WORKSPACE_CONFIG=:4096:2:16:8",
  "GLM53_CHAT_TEMPLATE_OLD_B64=eyUtIGlmIGFkZF9nZW5lcmF0aW9uX3Byb21wdCAtJX0KICAgIDx8YXNzaXN0YW50fD57ey0gJzx0aGluaz4nIC19fQp7JS0gZW5kaWYgLSV9",
  "GLM53_CHAT_TEMPLATE_NEW_B64=eyUtIGlmIGFkZF9nZW5lcmF0aW9uX3Byb21wdCAtJX0KICAgIHslLSBpZiBub3QgZW5hYmxlX3RoaW5raW5nIGlzIGRlZmluZWQgLSV9eyUtIHNldCBlbmFibGVfdGhpbmtpbmcgPSB0cnVlIC0lfXslLSBlbmRpZiAtJX0KICAgIDx8YXNzaXN0YW50fD57JS0gaWYgZW5hYmxlX3RoaW5raW5nIC0lfXt7LSAnPHRoaW5rPicgLX19eyUtIGVsc2UgLSV9e3stICc8dGhpbms+PC90aGluaz4nIC19fXslLSBlbmRpZiAtJX0KeyUtIGVuZGlmIC0lfQ==",
  "NCCL_CUMEM_ENABLE=0",
  "NCCL_DEBUG=INFO",
  "SGLANG_ENABLE_HEALTH_ENDPOINT_GENERATION=0",
  "TORCHINDUCTOR_CACHE_DIR=/root/.cache/torchinductor",
  "TILELANG_CACHE_DIR=/root/.cache/tilelang",
  "TRITON_CACHE_DIR=/root/.cache/triton",
]
flags = [
  "--served-model-name glm53-flash-ormandj-sglang-sm120-tp2-499k-adaptive-mtp",
  "--tp-size 2",
  "--quantization modelopt_mixed",
  "--enable-multimodal",
  "--image-processor-backend torchvision",
  "--mm-process-config '{\"image\":{\"max_image_tokens\":3072}}'",
  "--warmups serving_coverage",
  "--moe-runner-backend flashinfer_cutlass",
  "--disable-shared-experts-fusion",
  "--disable-custom-all-reduce",
  "--attention-backend dsa",
  "--linear-attn-backend triton",
  "--dsa-prefill-backend flashinfer_sparse_mla",
  "--dsa-decode-backend flashinfer_sparse_mla",
  "--kv-cache-dtype fp8_e4m3",
  "--mamba-ssm-dtype bfloat16",
  "--context-length 499712",
  "--max-total-tokens 499712",
  "--mem-fraction-static 0.99",
  "--chunked-prefill-size 4096",
  "--max-prefill-tokens 4096",
  "--max-running-requests 4",
  "--max-mamba-cache-size 28",
  "--cuda-graph-max-bs-decode 4",
  "--speculative-algorithm EAGLE",
  "--speculative-num-steps 5",
  "--speculative-eagle-topk 1",
  "--speculative-num-draft-tokens 6",
  "--speculative-adaptive",
  "--speculative-adaptive-config /tmp/glm53-adaptive.json",
  "--reasoning-parser glm45",
  "--tool-call-parser glm47",
  "--enable-metrics",
  "--enable-cache-report",
  "--host 0.0.0.0",
  "--port 39118",
]
note = "Full v0.1.1-rc.14 candidate after the 131K first-boot and matched speculation controls. It carries the locally proven NCCL cuMem and PyTorch allocator controls plus the same hash-gated logits fallback and enable_thinking-aware runtime template; the upstream optional PCIe IPC allreduce remains off after its local boot failure. The 499712-token context and shared token pool, four running requests, twenty-eight recurrent-state slots, batch-size-one-through-four decode graphs, 4096-token prefill ceiling, serving-coverage warmup, torchvision media path, and native adaptive [3,5] MTP otherwise follow the pinned candidate. It left only 49 MiB/card after startup, emitted a late-loaded Triton-kernel OOM warning, and degraded at nominal 120K/C4 to 148.86 seconds median TTFT and 0.61 aggregate output tok/s. It is rejected on measured safety and performance, independent of the model-only reserve waiver."

[recipe.fit]
suited = ["qualification", "compatibility", "text", "tool-use", "structured-output", "multimodal", "long-context", "concurrency", "speculative-decoding"]
rationale = "Rejected: measured near-zero startup headroom, a late-loaded kernel OOM warning, and catastrophic long-context C4 throughput make this envelope unsafe and operationally unusable."

[recipe.sources]
official = [
  "https://huggingface.co/ormandj/GLM-5.3-Flash-W4A16-NVFP4-K32-Experts-FP8-WO/tree/c3cbb9891b67c741bcbf6b176dd7af9265b069db",
]
community = [
  "https://github.com/ormandj/sglang-glm53-flash-sm120/tree/a547c90c74f1363920287eb80adc88a16d1e7005",
]
local = [
  "docs/findings/2026-09-02-glm53-sglang-sm120-qualification-evidence/run-plan.json",
  "docs/findings/2026-09-02-glm53-sglang-sm120-vram-policy-reclassification.json",
]