Dockerfile 836 B

12345678910111213141516
  1. # syntax=docker/dockerfile:1.7
  2. # DeepSeek-V4-Flash-DSpark — NCCL ABI fix + instanttensor on top of
  3. # aidendle94/sparkrun-vllm-ds4-gb10:production-3.75
  4. #
  5. # The base image ships nvidia-nccl-cu13 2.29.7 but the rest of the
  6. # CUDA 12.1 stack expects the 2.30.4 ABI. This mismatch breaks NCCL
  7. # collectives (AllGather etc.). Re-align and add instanttensor for
  8. # faster model loading (load-format instanttensor).
  9. #
  10. # Build: cd docker-images/deepseek-v4-flash-dspark && docker build -t sparkrun-vllm-ds4-gb10:fixed .
  11. # Tag: docker tag sparkrun-vllm-ds4-gb10:fixed aidendle94/sparkrun-vllm-ds4-gb10:production-3.75
  12. FROM aidendle94/sparkrun-vllm-ds4-gb10:production-3.75
  13. RUN pip install --no-cache-dir --no-deps --force-reinstall nvidia-nccl-cu13==2.30.4 \
  14. && pip install --no-cache-dir --no-deps --force-reinstall instanttensor==0.1.9