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

Installation problems with pytorch #1

Closed
KimamanaNeko opened this issue Apr 17, 2022 · 1 comment
Closed

Installation problems with pytorch #1

KimamanaNeko opened this issue Apr 17, 2022 · 1 comment

Comments

@KimamanaNeko
Copy link

You recommand installing pytorch with pip.
But I found that the default installation is the cpu version of PyTorch.

I tried to test your code and got the error:
AssertionError: Torch not compiled with CUDA enabled

It is recommended to specify the GPU version of PyTorch to be used in the documentation
BTW I used this code to install PyTorch and fix the cuda error reporting problem
pip install torch==1.8.0+cu111 torchvision==0.9.0+cu111 torchaudio===0.8.0 -f https://download.pytorch.org/whl/torch_stable.html

@Equim-chan
Copy link
Owner

This had already been documented, read it carefully.

[...] Check pytorch's doc on how to install pytorch in your environment. Personally, I recommand installing pytorch with pip.

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