Can't install tiny-cuda-nn #3713
Replies: 3 comments
|
I have it too. And other ones when I experiment with approaches from the web. Why cannot this be unified :D |
|
Same problem here. note: This error originates from a subprocess, and is likely not a problem with pip. Why isn't there a simple Installer? If no one else have an Idea, I give up. |
|
Not sure if it was the same issue, but I also had a lot of trouble getting nerfstudio installed, particularly getting tiny-cuda-nn compiled, and solved it by doing this: Using Ubuntu 24.04 without conda, pixi or docker, I think these were the key steps though I might be missing something as I was pretty much throwing everything at the wall before I found a path forward. Note: Using python 3.12.3 and Nvidia driver 580.126.18. With newest driver you should be able to use newer cuda toolkit.
|
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I'm following nerfstudio's installation guide (https://docs.nerf.studio/quickstart/installation.html) and I'm getting a really long annoying error at the step where I try to run "pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch\". Can someone help me figure this out? I'm lost and Google doesnt seem to be doing me any favors. I'm using LMDE 6 if that is important.
The error, in full:
(nerfstudio) crimson@crimson-server:~$ pip install ninja git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
Collecting git+https://github.com/NVlabs/tiny-cuda-nn/#subdirectory=bindings/torch
Cloning https://github.com/NVlabs/tiny-cuda-nn/ to /tmp/pip-req-build-gitl79yc
Running command git clone --filter=blob:none --quiet https://github.com/NVlabs/tiny-cuda-nn/ /tmp/pip-req-build-gitl79yc
Resolved https://github.com/NVlabs/tiny-cuda-nn/ to commit 68d4f0f1f81fa9085fff66077d9966c8323095bc
Running command git submodule update --init --recursive -q
Preparing metadata (setup.py) ... done
Requirement already satisfied: ninja in ./miniconda3/envs/nerfstudio/lib/python3.8/site-packages (1.13.0)
Building wheels for collected packages: tinycudann
Building wheel for tinycudann (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py bdist_wheel did not run successfully.
│ exit code: 1
╰─> [343 lines of output]
/tmp/pip-req-build-gitl79yc/bindings/torch/setup.py:5: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
from pkg_resources import parse_version
Building PyTorch extension for tiny-cuda-nn version 2.0
Obtained compute capability 86 from PyTorch
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Sep_21_10:33:58_PDT_2022
Cuda compilation tools, release 11.8, V11.8.89
Build cuda_11.8.r11.8/compiler.31833905_0
Detected CUDA version 11.8
Targeting C++ standard 17
running bdist_wheel
running build
running build_py
creating build/lib.linux-x86_64-cpython-38/tinycudann
copying tinycudann/modules.py -> build/lib.linux-x86_64-cpython-38/tinycudann
copying tinycudann/init.py -> build/lib.linux-x86_64-cpython-38/tinycudann
running egg_info
creating tinycudann.egg-info
writing tinycudann.egg-info/PKG-INFO
writing dependency_links to tinycudann.egg-info/dependency_links.txt
writing top-level names to tinycudann.egg-info/top_level.txt
writing manifest file 'tinycudann.egg-info/SOURCES.txt'
reading manifest file 'tinycudann.egg-info/SOURCES.txt'
writing manifest file 'tinycudann.egg-info/SOURCES.txt'
/home/crimson/miniconda3/envs/nerfstudio/lib/python3.8/site-packages/setuptools/command/build_py.py:218: _Warning: Package 'tinycudann.rtc.include' is absent from the
packagesconfiguration.!!
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for tinycudann
Running setup.py clean for tinycudann
Failed to build tinycudann
ERROR: Failed to build installable wheels for some pyproject.toml based projects (tinycudann)
All reactions