From 710e9ed87762c287f2cb72218b11c85b7ceb13a2 Mon Sep 17 00:00:00 2001 From: JeLuF Date: Sun, 3 Sep 2023 13:00:24 +0200 Subject: [PATCH] Created AMD on Linux (markdown) --- AMD-on-Linux.md | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 AMD-on-Linux.md diff --git a/AMD-on-Linux.md b/AMD-on-Linux.md new file mode 100644 index 0000000..7196df2 --- /dev/null +++ b/AMD-on-Linux.md @@ -0,0 +1,24 @@ +# Access permissions +Easy Diffusion needs access to the GPU devices to use them for computations. +1. Check the owner of one of these devices: + ```sh + ls -al /dev/kfd + ``` +2. Determine the name of the group: + ``` + crw-rw---- 1 root render 511, 0 Sep 3 11:31 /dev/kfd + ****** + ``` + In this example, the group owning the file is called `render` +3. Check whether your user is member of this group: + ```sh + groups + ``` + If your user is already a member of the group, you're done. +4. If your user is not yet a member, add it to the group: + ```sh + sudo usermod -aG render $USER + ``` + Replace `render` by the name of the group if it has a different name in your Linux distribution. +5. Log off and log on again to make this change effective. +