You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Makefile
+21-4Lines changed: 21 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
.PHONY: help build build-no-cache up start down clean logs test test-monitoring status shell logs-slurmctld logs-slurmdbd update-slurm reload-slurm version set-version build-all test-all test-version rebuild jobs quick-test run-examples
1
+
.PHONY: help build build-no-cache up start down clean logs test test-monitoring test-gpu status shell logs-slurmctld logs-slurmdbd update-slurm reload-slurm version set-version build-all test-all test-version rebuild jobs quick-test run-examples
# 2. Enable GPU in .env (CUDA toolkit installed in container automatically)
131
+
GPU_ENABLE=true
132
+
CUDA_VERSION=12.6 # Optional, defaults to 12.6
133
+
134
+
# 3. Build with GPU support
135
+
make rebuild
136
+
137
+
# 4. Verify GPU detection
138
+
docker exec g1 nvidia-smi
139
+
140
+
# Test GPU functionality
141
+
make test-gpu
142
+
```
143
+
144
+
> **Note:** GPU testing is not included in CI (GitHub-hosted runners have no GPUs). Run `make test-gpu` manually on a host with an NVIDIA GPU and `nvidia-container-toolkit` installed.
0 commit comments