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

import pytorch with rocm support will just crash on a CPU without AVX #1216

Open
echoidcf opened this issue Apr 13, 2023 · 0 comments
Open

Comments

@echoidcf
Copy link

🐛 Describe the bug

rocm (rocrand or rocblas or something like that) defaultly use AVX instructions.
When they are loaded by torch with rocm support, just import torch will crash everything.
Because it will call a asm instruction called vxorps which is AVX, but if the CPU does not support AVX for example G4930 , BOOM!

I change my CPU from G4930 to i3 9100, everything goes well after that.

Versions

As far as test, rocm 5.4.x and pytorch 2.0.0 at least has this problem.

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