File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 2121 - name : Checkout the Repository
2222 uses : actions/checkout@v2
2323
24+ - name : Install CUDA
25+ run : |
26+ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
27+ sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
28+ curl -L -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-keyring_1.0-1_all.deb
29+ sudo dpkg -i cuda-keyring_1.0-1_all.deb
30+ sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
31+ sudo apt-get update -q
32+ sudo apt-get install cuda -y --no-install-recommends
33+
2434 - name : Install OpenMPI
2535 run : |
2636 sudo apt-get update -q
7989 steps :
8090 - name : Checkout the Repository
8191 uses : actions/checkout@v2
92+
93+ - name : Install CUDA
94+ run : |
95+ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-ubuntu1804.pin
96+ sudo mv cuda-ubuntu1804.pin /etc/apt/preferences.d/cuda-repository-pin-600
97+ curl -L -O https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/cuda-keyring_1.0-1_all.deb
98+ sudo dpkg -i cuda-keyring_1.0-1_all.deb
99+ sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu1804/x86_64/ /"
100+ sudo apt-get update -q
101+ sudo apt-get install cuda -y --no-install-recommends
82102
83103 - name : Install OpenMPI
84104 run : |
You can’t perform that action at this time.
0 commit comments