Dockerfile 1.1 KB

1234567891011121314151617181920212223
  1. # syntax=docker/dockerfile:1.7
  2. # DeepSeek-V4-Flash-0731 — eugr/spark-vllm-b12x overlay with the
  3. # instanttensor-hybrid-draft-loader mod baked in.
  4. #
  5. # Base: eugr/spark-vllm-b12x — the prebuilt b12x-branch image published in
  6. # NVIDIA forum comment #28 (https://forums.developer.nvidia.com/t/376220/28).
  7. # Ubuntu 24.04 + system Python 3.12; vLLM is installed into the system
  8. # site-packages (the mod's default /usr/local/lib/python3.12/dist-packages,
  9. # but the path is resolved dynamically below so this is robust to a moved
  10. # install).
  11. #
  12. # eugr's recipe applies `mods/instanttensor-hybrid-draft-loader` at
  13. # run-recipe.sh time (it patches vLLM's model_loader get_model() to keep
  14. # InstantTensor for the target while letting an embedded MTP/dspark draft
  15. # use lazy safetensors). sm121 has no runtime mod-upload step for Docker
  16. # recipes, so this overlay bakes the patch in at build time instead: the
  17. # running container already has the hybrid loader, and the recipe carries
  18. # no [mods] block.
  19. #
  20. # Build: cd docker-images/deepseek-v4-flash-eugr && bash build.sh
  21. # (the sm121 launcher builds on demand and stamps sm121.checksum)
  22. FROM eugr/spark-vllm-b12x:nightly-20260823