ComfyUI-3D-Pack icon indicating copy to clipboard operation
ComfyUI-3D-Pack copied to clipboard

Docker image only works if run with root user

Open Mithrillion opened this issue 7 months ago • 0 comments

It appears there are some issues with the user group setup for the image. When run with --user root the image is able to load, however without it the image crashes out with a message "no cuda gpus are available", and if trying to run nvidia-smi in the image, it results in Failed to initialize NVML: Insufficient Permissions.

I attempted to add the user to the video group with RUN usermod -a -G video user, but this does not work.

I think USER root should be able to fix the issue if only for local use.

Mithrillion avatar Jul 20 '24 07:07 Mithrillion