We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd88ff1 commit 2e406a2Copy full SHA for 2e406a2
docs/running/slurm.md
@@ -300,7 +300,9 @@ if [[ $SLURM_LOCALID -eq 0 ]]; then
300
CUDA_VISIBLE_DEVICES=0,1,2,3 nvidia-cuda-mps-control -d
301
fi
302
303
-# Set CUDA device
+# Set CUDA device. Disable HWLOC_KEEP_NVIDIA_GPU_NUMA_NODES to avoid GPU NUMA
304
+# nodes appearing in the list of CUDA devices. They start appearing in hwloc
305
+# version 2.11.
306
numa_nodes=$(HWLOC_KEEP_NVIDIA_GPU_NUMA_NODES=0 hwloc-calc --physical --intersect NUMAnode $(hwloc-bind --get --taskset))
307
export CUDA_VISIBLE_DEVICES=$numa_nodes
308
0 commit comments