Skip to content

Commit

Permalink
ci binary: remove CUDA to reduce disk usage on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
aoirint committed Jun 17, 2023
1 parent c808c57 commit eed6755
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ jobs:
if [[ ${{ matrix.os }} == windows-* ]]; then
mv "${CUDA_ROOT}/bin/"*.dll download/cuda/bin/
# remove CUDA to reduce disk usage
rm -rf "${CUDA_ROOT}"
else
cp "${CUDA_ROOT}/lib64/"libcublas.so.* download/cuda/bin/
Expand All @@ -166,6 +167,9 @@ jobs:
rm -f download/cuda/bin/libcufft.so.*.*
rm -f download/cuda/bin/libcurand.so.*.*
rm -f download/cuda/bin/libcudart.so.*.*.*
# remove CUDA to reduce disk usage
rm -rf "${CUDA_ROOT}"
fi
# Download cuDNN
Expand Down

0 comments on commit eed6755

Please sign in to comment.