Skip to content
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

I can't install torch! will you help? #451

Open
kuki83 opened this issue Jul 1, 2024 · 0 comments
Open

I can't install torch! will you help? #451

kuki83 opened this issue Jul 1, 2024 · 0 comments

Comments

@kuki83
Copy link

kuki83 commented Jul 1, 2024

I get this message all the time

(nerfstudio) C:\Users\Marcin\nerfstudio>pip install 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 c:\users\marcin\appdata\local\temp\pip-req-build-7hdknrd3
Running command git clone --filter=blob:none --quiet https://github.com/NVlabs/tiny-cuda-nn/ 'C:\Users\Marcin\AppData\Local\Temp\pip-req-build-7hdknrd3'
Resolved https://github.com/NVlabs/tiny-cuda-nn/ to commit 4892659
Running command git submodule update --init --recursive -q
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error

× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [9 lines of output]
C:\Users\Marcin\AppData\Local\Temp\pip-req-build-7hdknrd3\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
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\Marcin\AppData\Local\Temp\pip-req-build-7hdknrd3\bindings/torch\setup.py", line 51, in
raise EnvironmentError("Unknown compute capability. Specify the target compute capabilities in the TCNN_CUDA_ARCHITECTURES environment variable or install PyTorch with the CUDA backend to detect it automatically.")
OSError: Unknown compute capability. Specify the target compute capabilities in the TCNN_CUDA_ARCHITECTURES environment variable or install PyTorch with the CUDA backend to detect it automatically.
Building PyTorch extension for tiny-cuda-nn version 1.7
[end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed

× Encountered error while generating package metadata.
╰─> See above for output.

note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

(nerfstudio) C:\Users\Marcin\nerfstudio>

@kuki83 kuki83 closed this as completed Jul 1, 2024
@kuki83 kuki83 reopened this Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant