add all arch
This commit is contained in:
@@ -111,6 +111,8 @@ python3 -m pip uninstall -y apex
|
|||||||
EOT
|
EOT
|
||||||
|
|
||||||
# install apex
|
# install apex
|
||||||
|
ARG TORCH_CUDA_ARCH_LIST="6.0;6.1;6.2;7.0;7.5;8.0;8.6;9.0"
|
||||||
|
ENV TORCH_CUDA_ARCH_LIST=${TORCH_CUDA_ARCH_LIST}
|
||||||
RUN <<EOT
|
RUN <<EOT
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source /opt/conda/etc/profile.d/conda.sh
|
source /opt/conda/etc/profile.d/conda.sh
|
||||||
@@ -427,7 +429,6 @@ pip install flash-attn --no-build-isolation -i https://pypi.org/simple/ --truste
|
|||||||
EOT
|
EOT
|
||||||
|
|
||||||
# other packages
|
# other packages
|
||||||
ENV TORCH_CUDA_ARCH_LIST="80;86;89;90"
|
|
||||||
RUN <<EOT
|
RUN <<EOT
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
source /opt/conda/etc/profile.d/conda.sh
|
source /opt/conda/etc/profile.d/conda.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user