Skip to content

Commit c2439d5

Browse files
committed
modify and add more setup and clean up for optimized space
1 parent feffbd0 commit c2439d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build-wheels-cuda.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
env:
1717
CIBW_BUILD: "cp312-manylinux_x86_64"
1818
CIBW_BEFORE_ALL: >
19-
yum install -y openblas-devel gtest wget yum-utils && wget https://developer.download.nvidia.com/compute/cuda/12.1.1/local_installers/cuda-repo-rhel7-12-1-local-12.1.1_530.30.02-1.x86_64.rpm && rpm -i cuda-repo-rhel7-12-1-local-12.1.1_530.30.02-1.x86_64.rpm && yum clean all && yum -y install nvidia-driver-latest-dkms && yum -y install cuda
19+
yum install -y openblas-devel gtest wget yum-utils && wget https://developer.download.nvidia.com/compute/cuda/12.1.1/local_installers/cuda-repo-rhel7-12-1-local-12.1.1_530.30.02-1.x86_64.rpm && rpm -i cuda-repo-rhel7-12-1-local-12.1.1_530.30.02-1.x86_64.rpm && yum clean all && yum -y install cuda-compiler-12-1 cuda-libraries-12-1 && yum clean all && rm -rf /var/cache/yum && export PATH "$PATH:/usr/local/cuda-12.1/bin" && export LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/usr/local/cuda-12.1/lib64"
2020
CIBW_BEFORE_BUILD: >
2121
pip install torch==2.3.1+cu121 torchvision -f https://download.pytorch.org/whl/torch_stable.html
2222
&& pip install -r requirements.txt

0 commit comments

Comments
 (0)