Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

/dev/kfd not found #8

Open
fmauffrey opened this issue Oct 29, 2022 · 8 comments
Open

/dev/kfd not found #8

fmauffrey opened this issue Oct 29, 2022 · 8 comments

Comments

@fmauffrey
Copy link

Hi, I followed the instructions but I got this error:

docker: Error response from daemon: error gathering device information while adding custom device "/dev/kfd": no such file or directory.

I installed the drivers as well as ROCm (for Ubuntu 22) but I still have the error. Any clue about this ? Thanks !

@CaptainPickles
Copy link

+1

@rubenhak
Copy link

rubenhak commented Jan 2, 2023

I'm also seeing this on Ubuntu 22. ROCm 5.3 installed.

@VVurbanov
Copy link

Adding --privileged to the docker run command worked for me. I am on Windows.

@1714080902120
Copy link

+1

@1714080902120
Copy link

Adding --privileged to the docker run command worked for me. I am on Windows.

it works. Thanks!

@hydrian
Copy link
Contributor

hydrian commented Apr 17, 2023

Documented in readme.md and docker-compose.yml. This can probably be closed.

@jacksoneyton
Copy link

jacksoneyton commented Aug 26, 2023

I am still getting this even with privileged... Ubuntu 22.04

docker run -it --cap-add=SYS_PTRACE --security-opt seccomp=unconfined --device=/dev/kfd --device=/dev/dri --group-add video --ipc=host --shm-size 8G rocm/pytorch:latest --privileged
docker: Error response from daemon: error gathering device information while adding custom device "/dev/kfd": no such file or directory.
ERRO[0000] error waiting for container:     

My googlefoo here is failing me.

@mohammed-Emad
Copy link

for ubuntu users! & AMD GPU!
Try this..
sudo apt install comgr rocminfo hsa-rocr rccl

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants