Skip to content

Installing theseus with pip install theseus-ai with a specific version of PyTorch #530

Closed Answered by luisenp
DanielTakeshi asked this question in Q&A
Discussion options

You must be logged in to vote

HI @DanielTakeshi. It's sort of related, but not a consequence of that PR. A few months ago we made this the behavior of our wheels uploaded to pypi, after torch 1.13 deprecated some older CUDA versions, and in anticipation of eventually moving to torch 2.0.

If you want a more custom install, you could try installing from source, or also try modifying this script, which is the one we use to build our wheels. In line 67 you can see the version is set to ">=1.13", unless you are using CUDA 10.2 or 11.3. Changing that line to equality and running the script should generate what you need. You can then run as

./build_scripts/build_wheel.sh ROOT_DIR 0.1.4 11.6

And then pip install from the gene…

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@DanielTakeshi
Comment options

@DanielTakeshi
Comment options

@luisenp
Comment options

Answer selected by mhmukadam
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants