-
Notifications
You must be signed in to change notification settings - Fork 831
Description
Describe the bug
I'm using an RX 6700 XT (gfx1031), which requires HSA_OVERRIDE_GFX_VERSION environment variable to be set to 10.3.0 in order for the card to work in ROCm. If this variable is not present, the app will crash on start. But the value that is currently set in start_gradio_ui_rocm.sh, causes my whole desktop environment to crash, which is worse. So I think it would be better to either not have this variable set at all or to make it automatic somehow based on the detected GPU.
To Reproduce
Steps to reproduce the behavior:
- Use an RX 6700 XT or possibly another RDNA 2 graphics card.
- Run the script
start_gradio_ui_rocm.shand wait. - The desktop environment will crash.
- Remove the variable from the script and run it again. This time only the app crashes.
- Set the variable to HSA_OVERRIDE_GFX_VERSION=10.3.0 and the app will run fine (on this particular GPU).
Expected behavior
The script shouldn't crash the desktop environment on the user's operating system.
Desktop:
- OS: Debian 13
- App version: 0.1.2
Additional context
Everything works fine after I changed the value to 10.3.0. But other users might be confused.