File tree 2 files changed +51
-0
lines changed
2 files changed +51
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,8 @@ Make sure to set the `serial: true` in your resources and apply a shared serial
14
14
15
15
All filesystems are formatted as ` btrfs ` with ` compress=zstd:3 ` .
16
16
17
+ There is a test pipeline defined in ` councourse-test.yml ` .
18
+
17
19
## Dead Ends
18
20
19
21
The first attempt was to use ` garden ` /` gdn ` directly to use the ` nvidia-container ` runtime, and also
@@ -29,6 +31,16 @@ garden does not care about the hooks and does not pass them on to the runc conta
29
31
Copy the whole tree under ` /etc ` to your os, make sure the permissions are sane.
30
32
31
33
``` sh
34
+ # note that it is intentional to use rhel / centos 8
35
+ dnf config-manager --add-repo https://developer.download.nvidia.com/compute/cuda/repos/rhel8/x86_64/cuda-rhel8.reposudo
36
+ dnf clean all
37
+ # do not install the nvidia driver from here!
38
+ # Use the kernel module from https://negativo17.org/nvidia-driver/
39
+ # which describes the compat with the upstream cuda https://github.com/negativo17/compat-nvidia-repo/issues/1
40
+ # eventually one can use all packages from negativio17 for convenience, but right now there are multiple issues
41
+ dnf config-manager --add-repo=https://negativo17.org/repos/fedora-nvidia.repo
42
+ dnf install nvidia
43
+ dnf -y install cuda-11-1
32
44
33
45
dnf install -y \
34
46
nvidia-container-runtime \
Original file line number Diff line number Diff line change
1
+ resources :
2
+ - name : xxx
3
+ type : git
4
+ source :
5
+ branch : master
6
+ uri : https://github.com/spearow/concourse-gpgpu-setup.git
7
+
8
+ - name : container
9
+ type : image-resource
10
+ source :
11
+ repository : nvidia/cuda
12
+ # change to whatever release you installed
13
+ tag : 11.1-base
14
+
15
+
16
+ jobs :
17
+ - name : check
18
+ build_logs_to_retain : 15
19
+ public : true
20
+ serial : true
21
+ plan :
22
+ - in_parallel :
23
+ - get : xxx
24
+ trigger : true
25
+ - get : container
26
+
27
+ - task : yakshaving
28
+ image : container
29
+ config :
30
+ platform : linux
31
+ inputs :
32
+ - name : xxx
33
+ run :
34
+ path : sh
35
+ args :
36
+ - -exc
37
+ - |
38
+ nvidia-smi
39
+ dir : xxx
You can’t perform that action at this time.
0 commit comments