Unverified Commit 8229280a authored by Simon Mo's avatar Simon Mo Committed by GitHub
Browse files

[Misc] Define EP kernel arch list in Dockerfile (#25635)


Signed-off-by: default avatarSimon Mo <simon.mo@hey.com>
parent f77df946
...@@ -461,7 +461,7 @@ RUN set -eux; \ ...@@ -461,7 +461,7 @@ RUN set -eux; \
# Install EP kernels(pplx-kernels and DeepEP) # Install EP kernels(pplx-kernels and DeepEP)
COPY tools/ep_kernels/install_python_libraries.sh install_python_libraries.sh COPY tools/ep_kernels/install_python_libraries.sh install_python_libraries.sh
ENV CUDA_HOME=/usr/local/cuda ENV CUDA_HOME=/usr/local/cuda
RUN export TORCH_CUDA_ARCH_LIST="${TORCH_CUDA_ARCH_LIST:-9.0a+PTX}" \ RUN export TORCH_CUDA_ARCH_LIST="${TORCH_CUDA_ARCH_LIST:-9.0a 10.0a+PTX}" \
&& bash install_python_libraries.sh && bash install_python_libraries.sh
# CUDA image changed from /usr/local/nvidia to /usr/local/cuda in 12.8 but will # CUDA image changed from /usr/local/nvidia to /usr/local/cuda in 12.8 but will
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment