Open sabinecelina opened 1 year ago
hello, I encountered the same error and have sloved by this: https://github.com/nerfstudio-project/nerfstudio/issues/1056#issuecomment-1412152798
I solved this problem by using the --privileged flag for Docker, as my GPUs have other processes running that block the GPU. So the main bug was that even nvidia-smi would not run in the nvidia-base image that nerfstudio was using.
I am building the Docker container using Dockerfile. However, when I run the Docker container, I encounter the following error:
❌ Completion script generation failed: ['ns-train', '--tyro-print-completion', 'bash']
I have confirmed that the NVIDIA CUDA Toolkit is installed in my Windows Subsystem for Linux 2 (WSL2) environment.
Can anyone provide insights on how to resolve this issue and successfully run PyTorch with CUDA support in my Docker container?