recipe.toml 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  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. 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. #entrypoint = ["vllm", "serve"]
  12. args = [
  13. # "--kv-cache-dtype", "fp8",
  14. "--gpu-memory-utilization", "0.85",
  15. "--load-format", "safetensors",
  16. "--enable-prefix-caching",
  17. # "--speculative-config", """
  18. #'{"method":"mtp","num_speculative_tokens":5}'""",
  19. "--tool-call-parser", "glm47",
  20. "--reasoning-parser", "glm45",
  21. "--enable-auto-tool-choice",
  22. # "--enable-expert-parallel",
  23. "--trust-remote-code",
  24. "--served-model-name", "glm52",
  25. ]
  26. [env]
  27. # Fast safetensors loading (GPU‑side decompress)
  28. SAFETENSORS_FAST_GPU = "1"
  29. # Allow long context lengths
  30. VLLM_ALLOW_LONG_MAX_MODEL_LEN = "1"
  31. # Blackwell MoE kernels
  32. #VLLM_USE_B12X_MOE = "1"