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

Pytorch3d installation tip #4

Open
willxxy opened this issue Nov 1, 2024 · 1 comment
Open

Pytorch3d installation tip #4

willxxy opened this issue Nov 1, 2024 · 1 comment

Comments

@willxxy
Copy link

willxxy commented Nov 1, 2024

Hello again,

I had some trouble installing pytorch3d for cuda 11.6 from the instructions so I found a very useful repo that shows how to modify the pytorch3d version with a custom pytorch and cuda version.

The TLDR of the issue says to use this command

pip install --extra-index-url https://miropsota.github.io/torch_packages_builder pytorch3d==<version>+<OPTIONAL_commit_hash>pt<PyTorch_version><compute_platform>

Where <compute_platform> is as in PyTorch, one of cpu, cu<CUDA_short_version> (e.g. cu121, cu118, cu102), or rocm<ROCM_version> (not supported right now).

For example, I used the following installation for my setup

pip install --extra-index-url https://miropsota.github.io/torch_packages_builder pytorch3d==0.7.5+pt1.13.1cu116

I hope this helps anyone who has trouble with this! And thank you MiroPsota for the original issue!

@YinpeiDai
Copy link
Contributor

YinpeiDai commented Nov 12, 2024

Thank you for the tips! I usually use conda to build pytorch3d, so I never encounter installment issue. Hope your experience on pip will help others~

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

2 participants