Skip to content

Unable to install pytorch3d on a non-gpu computer #1644

Discussion options

You must be logged in to vote

Kudos to chatgpt, the following install worked,

Remove CUDA Dependency:

In your Python environment, make sure to uninstall any packages that have GPU/CUDA dependencies, as these won't work on a CPU-only system. You can uninstall PyTorch and PyTorch3D and then reinstall them without GPU support.

To uninstall PyTorch and PyTorch3D, you can use the following commands:
pip uninstall torch
pip uninstall pytorch3d

Reinstall PyTorch and PyTorch3D for CPU:

After uninstalling, you can reinstall PyTorch and PyTorch3D with CPU support. You can do this using the following commands:
pip install torch==1.9.0+cpu torchvision==0.10.0+cpu torchaudio==0.9.0 -f https://download.pytorch.org/whl/torch_stable.…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@bottler
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by darshit-desai
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