-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
subprocess.CalledProcessError: Command '['ns-render', '--tyro-print-completion', 'bash']' returned non-zero exit status 1. While running nerfStudio from docker image #1056
Comments
Having exaclty same issue. |
@ps1x @Napolean29 @brentyi are you running an old NVidia driver version and/or in headless mode? I tried in two different machines, and got this error in the machine with the older driver that's running headless, I cannot update the drivers there myself to check if they are the cause. The other machine works just fine. |
I'm using fedora 37. Driver is in "hybrid" mode. Driver version: 520.56.06
Maybe problem is that my CUDA version is not recommended 11.3? |
|
So I'm getting the same issue that @ps1x is getting (ns-train's error) on 0.1.12 I'm using the latest docker desktop via WSL2, on win11 and a 1660 ti if I run EDIT: driver is 526.98 studio, gpu is not in headless mode (in fact it's the only one and used) |
Hi, I had the same problem. Turns out that when installing tinycudann via pip install, it reads ENV TCNN_CUDA_ARCHITECTURES=86 off the Dockerfile, and compiles a version suitable to the compute capability of your GPU. check out setup.py for tinycudann here You can try to replace 86 by the number you see when you run the code snippet:
or either omit setting ENV TCNN_CUDA_ARCHITECTURES in the Dockerfile, since setup.py will test for it anyway. (I didn't try this) |
Does not work without setting TCNN_CUDA_ARCHITECTURES in Dockerfile
|
How do you modify a docker image?
NVIDIA GeForce GTX 1070 |
#1056 (comment) |
Same! works @dragonheat123 In my case I was using the official docker to build another one and I needed compability 75. I forced reinstallation of torch and tinycudnn
PS. @b0ot does it solve this for you? |
Hi, could you please try again with |
@Scolymus thanks for the tip. Based on @Zunhammer, I tried the install again and got much further. I'm fairly new to Docker so it took me awhile to lookup how to run it again, especially on Windows after installing docker. For other new people, all the following did in windows cmd That takes awhile to download, once complete: Step 2 Notes: You need That now launches into a linux env
Since I can run this, I believe the issue this thread is discussing is now resolved However, I still seem to have some issues as if I try to run the Training your first model example, I have an error:
However, this issue seems to be seperate from the topic in this thread and more similar to this Issue 1309 |
@b0ot I think you should "chmod 777" to the "data" fold before you run the docker. |
So the image is working fine, please use the option to set a user defined data folder for ns-download-data (should be --save-dir) (see https://docs.nerf.studio/en/latest/reference/cli/ns_download_data.html)
and then
|
This problem exists without the docker installation as well. |
[09:49:20] π€· .zshrc not found, skipping. install.py:202
π Found .bashrc! install.py:204
[09:49:21] β Wrote new completion to /data/dl/nerfstudio/scripts/completions/bash/_ns-dev-test! install.py:109
β Wrote new completion to /data/dl/nerfstudio/scripts/completions/bash/_ns-install-cli! install.py:109
β Wrote new completion to /data/dl/nerfstudio/scripts/completions/bash/_ns-process-data! install.py:109
[09:49:25] β Wrote new completion to /data/dl/nerfstudio/scripts/completions/bash/_ns-eval! install.py:109
β Wrote new completion to /data/dl/nerfstudio/scripts/completions/bash/_ns-download-data! install.py:109
[09:49:29] β Wrote new completion to /data/dl/nerfstudio/scripts/completions/bash/_ns-train! install.py:109
Traceback (most recent call last):
File "/usr/local/bin/ns-install-cli", line 8, in
sys.exit(entrypoint())
File "/data/dl/nerfstudio/scripts/completions/install.py", line 274, in entrypoint
tyro.cli(main, description=doc)
File "/usr/local/lib/python3.8/dist-packages/tyro/_cli.py", line 125, in cli
_cli_impl(
File "/usr/local/lib/python3.8/dist-packages/tyro/_cli.py", line 326, in _cli_impl
out, consumed_keywords = _calling.call_from_args(
File "/usr/local/lib/python3.8/dist-packages/tyro/_calling.py", line 194, in call_from_args
return unwrapped_f(*args, **kwargs), consumed_keywords # type: ignore
File "/data/dl/nerfstudio/scripts/completions/install.py", line 243, in main
completion_paths = list(
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 619, in result_iterator
yield fs.pop().result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 437, in result
return self.__get_result()
File "/usr/lib/python3.8/concurrent/futures/_base.py", line 389, in __get_result
raise self._exception
File "/usr/lib/python3.8/concurrent/futures/thread.py", line 57, in run
result = self.fn(*self.args, **self.kwargs)
File "/data/dl/nerfstudio/scripts/completions/install.py", line 245, in
lambda path_or_entrypoint_and_shell: _generate_completion(
File "/data/dl/nerfstudio/scripts/completions/install.py", line 98, in _generate_completion
new = subprocess.run(
File "/usr/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['ns-render', '--tyro-print-completion', 'bash']' returned non-zero exit status 1.
!!!!While running nerfStudio from docker image 0.1.11!!!!!
The text was updated successfully, but these errors were encountered: