#๐Ÿ”’ Need help installing torch

7 messages ยท Page 1 of 1 (latest)

noble gate
#

Hello! I was trying to use three-studio (https://github.com/threestudio-project/threestudio#installation) and I wanted to install tiny-cuda-nn. I set up a virtual environment in vs code and set it as the workspace installed torch but when i try to detect the installation of torch it tell me torch isnt detected. Any help appreciated!

On trying to install tiny-cuda-nn, I get this error:

      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.```

On trying to detect torch, I get false.

``` python -c 'import torch; print(torch.cuda.is_available())'
False```

But pip list displays torch as available

pip list
torch 2.2.2```

GitHub

A unified framework for 3D content generation. Contribute to threestudio-project/threestudio development by creating an account on GitHub.

wind knollBOT
#

@noble gate

Python help channel opened

Remember to:

  • Ask your Python question, not if you can ask or if there's an expert who can help.
  • Show a code sample as text (rather than a screenshot) and the error message, if you've got one.
  • Explain what you expect to happen and what actually happens.

:warning: Do not pip install anything that isn't related to your question, especially if asked to over DMs.

thin sierra
#

do py -0 in cmd

#

@noble gate

#

Or more directly from the exact place you tried to run your script do python -m pip list installed

wind knollBOT
#
Python help channel closed

This help channel has been closed and it's no longer possible to send messages here. If your question wasn't answered, feel free to create a new post in #1035199133436354600. To maximize your chances of getting a response, check out this guide on asking good questions.