recipe.toml 1014 B

12345678910111213141516171819202122232425262728293031323334
  1. engine = "vllm"
  2. name = "GLM-5.2 NVFP4 (vLLM)"
  3. docker_image = "ghcr.io/timothystewart6/vllm-gb10:v0.23.0-gb10.1"
  4. model = "Mapika/GLM-5.2-NVFP4"
  5. required_nodes = 4
  6. tensor_parallel_size = 4
  7. pipeline_parallel_size = 1
  8. distributed_backend = "mp"
  9. # 410B NVFP4 model on 4× DGX Spark (GB10 Blackwell), 128 GB shared each.
  10. # TP=4 → ~103 GB/GPU for weights, ~25 GB for KV cache at 0.90 util.
  11. args = [
  12. "--kv-cache-dtype", "fp8",
  13. "--gpu-memory-utilization", "0.90",
  14. "--load-format", "safetensors",
  15. "--enable-prefix-caching",
  16. "--speculative-config", """
  17. '{"method":"mtp","num_speculative_tokens":5}'""",
  18. "--tool-call-parser", "glm47",
  19. "--reasoning-parser", "glm45",
  20. "--enable-auto-tool-choice",
  21. "--enable-expert-parallel",
  22. "--trust-remote-code",
  23. "--served-model-name", "glm52",
  24. ]
  25. [env]
  26. # Fast safetensors loading (GPU‑side decompress)
  27. SAFETENSORS_FAST_GPU = "1"
  28. # Allow long context lengths
  29. VLLM_ALLOW_LONG_MAX_MODEL_LEN = "1"
  30. # Blackwell MoE kernels
  31. VLLM_USE_B12X_MOE = "1"