Conversation
Provide a minimal devel image that installs the NCCL floor and builds DeepEP with install.sh, plus short docker/ docs and a README pointer. Uses pytorch/pytorch:2.14.1-cuda13.2-cudnn9-devel so nvcc remains available for DeepJIT at runtime. Addresses deepseek-ai#615
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Addresses #615: add a minimal official Dockerfile based on the PyTorch CUDA devel image, plus short usage docs.
What
docker/Dockerfile—pytorch/pytorch:2.14.1-cuda13.2-cudnn9-devel, installnvidia-nccl-cu13>=2.32.3 --no-deps, build DeepEP withinstall.shdocker/README.md— build/run instructions and limits.dockerignore— keep the context small; exclude.gitsosetup.py's dirty-tree assert cannot fail in the image buildWhy devel (not runtime)
DeepEP compiles kernels at runtime via DeepJIT, which needs
nvccfrom a CUDA 13.1+ toolkit. A runtime-only base would build the host extension and then fail JIT at import/first use.Testing
On this contributor machine (macOS, no NVIDIA GPU / Docker daemon unavailable for a full CUDA build):
.dockerignoredocker buildagainst an NVIDIA hostPlease run on a Linux NVIDIA box:
Notes
third-party/deep_jit(submodule init).docker/README.md.+localbecause.gitis dockerignored.