Skip to content

Using the packages from [community] with an RX 580 results in a segfault trying to do nearly anything using pytorch. #961

Closed Answered by rederick29
rederick29 asked this question in Support
Discussion options

You must be logged in to vote

I have managed to find a fix for this issue. Thank you so much @mpeschel10 !

As recommended by mpeschel10, I ran export HSA_OVERRIDE_GFX_VERSION=8.0.3 which caused me to crash again in the same way, but lldb showed that the underlying issue was different this time. After further troubleshooting, I happened to find out that after exporting that environment variable, clinfo also crashed in the same way, which did not happen before. Thanks to the AMD_LOG_LEVEL=4 I was able to find out that my second GPU, a gfx90c, was attempting to load the gfx803 code due to the HSA_OVERRIDE_GFX_VERSION=8.0.3 variable (meaning that my error was now caused by the other device, which I never intended to use).…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@mpeschel10
Comment options

@mpeschel10
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by rederick29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants