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

Running on macOS without CUDA #20

Open
stuartneo opened this issue Apr 20, 2024 · 0 comments
Open

Running on macOS without CUDA #20

stuartneo opened this issue Apr 20, 2024 · 0 comments

Comments

@stuartneo
Copy link

Hi,

I try to run this on a macOS with no Nvidia gpu. It is complaining about not being able to compile with cuda

File "/Users/stuart/Library/Python/3.9/lib/python/site-packages/torch/nn/modules/module.py", line 911, in
return self._apply(lambda t: t.cuda(device))
File "/Users/stuart/Library/Python/3.9/lib/python/site-packages/torch/cuda/init.py", line 293, in _lazy_init
raise AssertionError("Torch not compiled with CUDA enabled")
AssertionError: Torch not compiled with CUDA enabled

Can you give me some tips?

Also, does the model just work out of the box or do I need to train it?

Thanks

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

1 participant