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 M1 #1

Open
csv610 opened this issue Oct 30, 2023 · 0 comments
Open

Running on M1 #1

csv610 opened this issue Oct 30, 2023 · 0 comments

Comments

@csv610
Copy link

csv610 commented Oct 30, 2023

Hello,

I get the following error on the Apple M1. I tried to change fp16 to f32 and changed cuda to CPU() in the code.
File "/Users/Projects/CompVis/ObjectDetection/AutoDistill/autodistillenv/lib/python3.11/site-packages/torch/nn/modules/conv.py", line 459, in _conv_forward
return F.conv2d(input, weight, bias, self.stride,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
RuntimeError: "slow_conv2d_cpu" not implemented for 'Half'

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