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

Is it possible to run this demo without CUDA? #2

Open
benyi1981 opened this issue Jan 15, 2023 · 1 comment
Open

Is it possible to run this demo without CUDA? #2

benyi1981 opened this issue Jan 15, 2023 · 1 comment

Comments

@benyi1981
Copy link

When I execute this line, I get the following error message:
AssertionError: Torch not compiled with CUDA enabled

I believe this is because my computer does not have CUDA.

Is it possible to still run this demo by disabling CUDA in the code? If so, how do I do this?

Thank you.

@martomor
Copy link

martomor commented Jan 27, 2023

If you are using a M1/M2 Mac you can try this https://huggingface.co/docs/diffusers/optimization/mps

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