mvermeulen commented on issue #13666:
URL: https://github.com/apache/tvm/issues/13666#issuecomment-1397176511

   @masahi most likely you are missing arguments when starting up the docker 
container.  Here is how I run it:
   ```
   docker run -it --device=/dev/dri --device=/dev/kfd --network=host 
--group-add=render -v /home/mev:/home/mev mevermeulen/rocm-tvm:5.4.2 /bin/bash
   ```
   
   The --device options make sure the GPU devices are also available inside the 
docker image.  When this is done, /dev/kfd is created and has read/write 
permissions by the "render" group.  On my system, I happened to run as root so 
it worked anyways but if I were somehow running as a non-root user (either 
inside or outside the docker), I would want to be part of the group to get 
permissions to the device files.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@tvm.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to