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

AssertionError: Torch not compiled with CUDA enabled #57

Closed
ceyxasm opened this issue Jul 16, 2023 · 3 comments
Closed

AssertionError: Torch not compiled with CUDA enabled #57

ceyxasm opened this issue Jul 16, 2023 · 3 comments

Comments

@ceyxasm
Copy link

ceyxasm commented Jul 16, 2023

While running demo.py, I am able to initialize the various models but get terminated with the AssertionError.

@yinanhe
Copy link
Member

yinanhe commented Jul 16, 2023

How was your torch installed?

@ceyxasm
Copy link
Author

ceyxasm commented Jul 16, 2023

Makes me think now.
I feel that I created a conda env without specifying the python version and when I ran pip install -r requirements.txt, there was a dependency conflict as No matching distribution found for torch==1.13.1+cu117
So I think I manually went ahead with 2.0.1

PS: which python version shall I use to create my env?

@ceyxasm
Copy link
Author

ceyxasm commented Jul 16, 2023

Fresh install with python=3.9 solved the error. Hence closing.

@ceyxasm ceyxasm closed this as completed Jul 16, 2023
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