Open silicium42 opened 4 months ago
The benchmarks in pytorch_gpu_benchmarks still fail causing the same old crash when trying to quit from the stuck program. I actually keep having this same issue using stable-diffusion xl in ComfyUI. Using the latest mainline kernel doesn't seem to help either.
oh well, that was then false hope that this could now have been resolved. Thanks for testing.
If you come up with some new idea to fix this behaviour I'll be happy to test it
I ordered used gfx1010 but it's about one week delivery time until I get it. I hope that will help on solving this.
When looking for the kernel log from @silicium42, it may even be the same doorbell problem that's discussed here. (Navi10 related issues discussed in the bottom with some kernel patch suggested)
I have some strange news. I'm not sure why but the benchmark suddenly completes. I tried rebooting my system multiple times and running the benchmark with different programs open and it just doesn't hang anymore. I've still found the strange issue that causes the gpu usage to be stuck at 100% even in idle after the test (even if this rarely happens now) but it still completes. The only change compared with the previous test I did last week seems to be the update from linux 6.11.5 to 6.11.6 (both are the zen version). Here are the results of the benchmark: AMD_Radeon_RX_5700_XT.zip
EDIT: Apparently reverting the kernel to a previous version doesn't recreate the issue so it doesn't seem related.
EDIT 2: When trying to run the MEDIUM size benchmark the issue just came back. I guess I've only been lucky to be able to finish the MINIMAL one without issues.
Thanks for the results, I will add them to pytorch benchmark. I got my gfx1010 (5700 non-xt) from ebay couple of days ago and have now been able to start investigating this one again. (My another gfx1010 was only accessible remotely so the gpu-hang causing reboot sometimes to get stuck really prevented for using that one for testing)
I have also been able to run the minimum and medium tests for float and half precisions couple of times but then it may sometime randomly crash, so I am investigating the problem now on kernel side. I got similar type of issue just fixed with gfx1103, so I need to check later if same fix could help also on navi1 cards.
I am using Ubuntu 22.04 with an AMD RX 5700 graphics card (gfx1010) with the driver being installed with amdgpu-install from the repo.radeon.com repository for version 6.1.3 (amdgpu-install --usecase=graphics). In the
babs.sh -i
step i selected gfx1010 target and i used no HSA_OVERRIDE_GFX_VERSION. After a few tries and executingsudo apt install libstdc++-12-dev libgfortran-12-dev gfortran-12
the whole project compiled in about 16 hours (probably took so long due to 16 GB RAM). Thebabs.sh -b
command says it has been successful. and rocminfo outputs the following:but the pytorch example exits almost immediately:
The other examples mentioned in the README.md seem to work fine/ don't crash. i don't exactly know what output to expect though. I have tried the releases/rocm_sdk_builder_611 and releases/rocm_sdk_builder_612 branches without any luck so far. Unfortunately i have no idea if that might be caused by a driver problem or a configuration problem or something else. The README.md states that RX 5700 has been tested but there is no mention of an modified build/install procedure or a specific branch to use. I would appreciate any information on what could be causing this (i think maybe aotriton, but i know very little about rocm)