Skip to content

Commit b1da8b2

Browse files
Remove CUDA installer when setting up Copilot (#9557)
The CUDA installer (cuda_12.4.1_550.54.15_linux.run) is 4GB and was then being committed by Copilot.
1 parent 69795e3 commit b1da8b2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/copilot-setup-steps.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,8 @@ jobs:
6363
# Install CUDA Toolkit 12.4.1 (matching container image)
6464
wget -q https://developer.download.nvidia.com/compute/cuda/12.4.1/local_installers/cuda_12.4.1_550.54.15_linux.run
6565
sudo sh cuda_12.4.1_550.54.15_linux.run --silent --toolkit --no-opengl-libs --no-drm || echo "CUDA install returned error but may have partially succeeded"
66+
# Remove installer (4GB file) to prevent it from being committed
67+
rm -f cuda_12.4.1_550.54.15_linux.run
6668
6769
# Verify and configure CUDA paths
6870
if [ -d /usr/local/cuda-12.4 ]; then

0 commit comments

Comments
 (0)