File tree 1 file changed +7
-2
lines changed
1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs :
10
10
build :
11
- runs-on : ubuntu-latest
11
+ runs-on : nvidia/cuda:12.4.0-base-ubuntu22.04
12
12
strategy :
13
13
matrix :
14
14
# Test with LibTorch CPU and GPU
24
24
- name : Install dependencies
25
25
run : |
26
26
sudo apt-get update
27
- sudo apt-get install -y --no-install-recommends cuda-toolkit-12-4 # Install CUDA Toolkit
27
+ wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
28
+ sudo mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
29
+ sudo apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub
30
+ sudo add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /"
31
+ sudo apt-get update
32
+ sudo apt-get -y install cuda-toolkit-12-4
28
33
29
34
- name : Configure CMake
30
35
run : |
You can’t perform that action at this time.
0 commit comments