Skip to content

Commit

Permalink
deb
Browse files Browse the repository at this point in the history
  • Loading branch information
philsippl committed Jul 18, 2024
1 parent 0cfff84 commit 376933d
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/test-gpu.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@ jobs:
run: sudo apt-get update && sudo apt-get install -y pkg-config libssl-dev
- name: Install CUDA 12.1 and NCCL dependencies
run: |
wget -q https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda_12.1.0_530.30.02_linux.run
sudo sh cuda_12.1.0_530.30.02_linux.run
wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
wget https://developer.download.nvidia.com/compute/cuda/12.1.0/local_installers/cuda-repo-ubuntu2204-12-1-local_12.1.0-530.30.02-1_amd64.deb
sudo dpkg -i cuda-repo-ubuntu2204-12-1-local_12.1.0-530.30.02-1_amd64.deb
sudo cp /var/cuda-repo-ubuntu2204-12-1-local/cuda-*-keyring.gpg /usr/share/keyrings/
sudo apt-get update
sudo apt-get -y install cuda
git clone https://github.com/NVIDIA/nccl.git
cd nccl
make -j4 pkg.debian.build
Expand Down

0 comments on commit 376933d

Please sign in to comment.