recipe.toml 1.0 KB

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