mirror of
https://github.com/easydiffusion/easydiffusion.git
synced 2025-06-20 18:08:00 +02:00
Created AMD on Linux (markdown)
parent
d940c0aa04
commit
710e9ed877
24
AMD-on-Linux.md
Normal file
24
AMD-on-Linux.md
Normal file
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user