Minor fix docker container DeepEP on multi platforms (#9205)
This commit is contained in:
@@ -102,7 +102,18 @@ RUN cd /sgl-workspace/nvshmem && \
|
|||||||
|
|
||||||
# Install DeepEP
|
# Install DeepEP
|
||||||
RUN cd /sgl-workspace/DeepEP && \
|
RUN cd /sgl-workspace/DeepEP && \
|
||||||
TORCH_CUDA_ARCH_LIST='9.0;10.0' NVSHMEM_DIR=${NVSHMEM_DIR} pip install .
|
case "$CUDA_VERSION" in \
|
||||||
|
12.6.1) \
|
||||||
|
CHOSEN_TORCH_CUDA_ARCH_LIST='9.0' \
|
||||||
|
;; \
|
||||||
|
12.8.1|12.9.1) \
|
||||||
|
CHOSEN_TORCH_CUDA_ARCH_LIST='9.0;10.0' \
|
||||||
|
;; \
|
||||||
|
*) \
|
||||||
|
echo "Unsupported CUDA version: $CUDA_VERSION" && exit 1 \
|
||||||
|
;; \
|
||||||
|
esac && \
|
||||||
|
NVSHMEM_DIR=${NVSHMEM_DIR} TORCH_CUDA_ARCH_LIST="${CHOSEN_TORCH_CUDA_ARCH_LIST}" pip install .
|
||||||
|
|
||||||
# Python tools
|
# Python tools
|
||||||
RUN python3 -m pip install --no-cache-dir \
|
RUN python3 -m pip install --no-cache-dir \
|
||||||
|
|||||||
Reference in New Issue
Block a user