Skip to content

Commit 4759fbc

Browse files
committed
minor update
1 parent ad7a6a3 commit 4759fbc

File tree

2 files changed

+51
-0
lines changed

2 files changed

+51
-0
lines changed

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ Make sure to set the `serial: true` in your resources and apply a shared serial
1414

1515
All filesystems are formatted as `btrfs` with `compress=zstd:3`.
1616

17+
There is a test pipeline defined in `councourse-test.yml`.
18+
1719
## Dead Ends
1820

1921
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
2931
Copy the whole tree under `/etc` to your os, make sure the permissions are sane.
3032

3133
```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
3244

3345
dnf install -y \
3446
nvidia-container-runtime \

concourse-test.yml

+39
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
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

0 commit comments

Comments
 (0)