From 0affde29e69589676b6ed9bc74eb6a29b8395c94 Mon Sep 17 00:00:00 2001 From: Simon Redman Date: Sun, 27 Apr 2025 21:14:31 -0400 Subject: [PATCH] Add note to help run nvidia containers with SELinux --- docs/content/docs/features/GPU-acceleration.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/content/docs/features/GPU-acceleration.md b/docs/content/docs/features/GPU-acceleration.md index 52fb3d18..811cfff3 100644 --- a/docs/content/docs/features/GPU-acceleration.md +++ b/docs/content/docs/features/GPU-acceleration.md @@ -57,6 +57,8 @@ diffusers: Requirement: nvidia-container-toolkit (installation instructions [1](https://www.server-world.info/en/note?os=Ubuntu_22.04&p=nvidia&f=2) [2](https://docs.nvidia.com/datacenter/cloud-native/container-toolkit/install-guide.html)) +If using a system with SELinux, ensure you have the policies installed, such as those [provided by nvidia](https://github.com/NVIDIA/dgx-selinux/) + To check what CUDA version do you need, you can either run `nvidia-smi` or `nvcc --version`. Alternatively, you can also check nvidia-smi with docker: