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

how to run it in GPU??? #27

Closed
herbertchen1 opened this issue May 22, 2018 · 2 comments
Closed

how to run it in GPU??? #27

herbertchen1 opened this issue May 22, 2018 · 2 comments

Comments

@herbertchen1
Copy link

i run pip install -r req....

but ,couldnt run it with python main.py --cuda

with the trace back:
AssertionError: Torch not compiled with CUDA enabled

@dasguptar
Copy link
Owner

Hi @herbertchen1 , the requirements.txt file contains the CPU version of PyTorch. You can go to https://pytorch.org/ and get the URL for the wheel file for the GPU version, and install that version.

@herbertchen1
Copy link
Author

Thanks very much!!!

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