> The system will freeze and I have to force reboot it.
You need an old kernel (~5.10.0) and proprietary drivers (It won't freeze completely and the amount of VRAM will be correctly determined in pytorch).
Try:
hiveos-0.6-217-stable (5.10.0-hiveos #110.hiveos.220411) or old ubuntu (focal or maybe jammy)
22.20.5 AMDGPU-PRO driver
https://repo.radeon.com/rocm/manylinux/
https://repo.radeon.com/rocm/apt/

https://www.reddit.com/r/Hiveon_Official/comments/tzttyu/hiveon_os_v06215220409_whats_new/
the closest version I could find hiveos-0.6-217-stable@220423
https://web.archive.org/web/20220511060106/https://download.hiveos.farm/history/
https://web.archive.org/web/20220514095728/https://download.hiveos.farm/history/hiveos-0.6-217-stable@220423.img.xz

https://github.com/minershive/hiveos-pxe-diskless/issues/26 ->
https://github.com/panaceya/hiveos-pxe-diskless/compare/master...TheJames5:hiveos-pxe-diskless:master#diff-b335630551682c19a781afebcf4d07bf978fb1f8ac04c6bf87428ed5106870f5R7

also https://github.com/Gddrig/Qubic-AMD/releases see old releases

23
You can try running it under the 1010 architecture:

export HSA_OVERRIDE_GFX_VERSION=10.1.0
export AMDGPU_TARGETS=gfx1010
export HCC_AMDGPU_TARGET=gfx1010
export PYTORCH_ROCM_ARCH=gfx1010
export HSA_ENABLE_SDMA=0
export HSA_ENABLE_PEER_SDMA=0


    ROCM 5.2, which afaik is the "last known good" version for RDNA1 cards
    Something else to maybe try: IIRC from ROCM 5.3-6.0 they broke support for gfx101* (and fixed it again in 6.1). I remember reading that post-6.1+ there were some pretty significant performance regressions in 6.x for this GPU target, which weren't present in 5.2

    Yeah when I was trying this, I wasn't able to get ROCm to build compute kernels/tensor libraries specifically for the gfx1013... had to build everything targetting gfx1010 and then run programs with HSA_OVERRIDE_GFX_VERSION=10.1.0 to force it to detect the gfx1013 as a gfx1010 (since its ISA is a superset of gfx1010, it should work in theory)
    afaik none of the rocm libraries have build configs for gfx1013 in any of the versions I checked, but they have gfx1010-1012
    Also be careful not to try to run gfx1030 code on it, since that's a different isa I believe (in some cases I had it default to this)



But you will probably have to compile rocm and pytorch kernels for the bc250 architecture (gfx1013).
Examples of projects where they built for unsupported architectures:
https://github.com/ulyssesrr/docker-rocm-xtra
https://github.com/xuhuisheng/rocm-build/tree/master/navi10
https://github.com/woodrex83/ROCm-For-RX580
https://github.com/robertrosenbusch/gfx803_rocm


more about regression https://github.com/ROCm/ROCm/discussions/4030
GitHub
Regression in rocm 5.3 and newer for gfx1010 · ROCm ROCm · Discus...
Since when pytorch 2 was officially released, i wasn&#39;t able to run it on my 5700XT, while i was previously able to use it just fine on pytorch 1.13.1 by setting &quot;export HSA_OVERRIDE_GFX_VE...
Regression in rocm 5.3 and newer for gfx1010 · ROCm ROCm · Discus...

    Starting glibc 2.41, the precompiled PyTorch wheels with ROCm 5.2 support no longer work due to changes in the stack execution policy for shared libraries.
    If you run a rolling release Linux distribution and have this version of glibc or later, compiling ROCm from source is the only way to stay current on RDNA1 hardware.


NightFox
 — 
24.02.26, 22:37
Weitergeleitet
Item    Version    Description
Operating System    Ubuntu    Ubuntu20.04.3
        Ubuntu18.04.6
Ubuntu GFX    amdgpu-pro-21.50-1347991-ubuntu-20.04.tar.xz    \scbufs01\SCBUSW\SWQA\SCBU_SW_Programs\Robin\Drivers\EXT_release\3Dec
    amdgpu-pro-21.50-1347991-ubuntu-18.04.tar.xz
TRM    teamredminer-v0.8.6.6-linux.tgz    \scbufs01\SCBUSW\SWQA\SCBU_SW_Programs\Robin\Tool\Offline_TRM\offline_benchmark
BC250 Community  •  Dienstag
Weitergeleitet
Was what the p3.00 bios was certified on
BC250 Community  •  Dienstag
n00bos
 — 
24.02.26, 23:22
i remember this is very true , had the same thing on my rx470
probably we should use the same ubuntu version that works with the mi50 "hack"
NightFox
 — 
25.02.26, 00:44
AMD removed old versions from the repositories 🙁 
The only thing we have left is: https://download.hiveos.farm/repo/binary/amd-ocl/
There is still 23.80 but it does not have Ubuntu package for ROCm 
n00bos
 — 
25.02.26, 00:58
yes! i remember this when i was trying to get rocm working on my rx470 i was running in to amd removing old versions from repositories and i found it very sus
maybe some data hoarder has them ?
n00bos
 — 
25.02.26, 00:59
can be compiled from source
NightFox
 — 
25.02.26, 09:24
Weitergeleitet
oh hell yeah. 22.20 installs on ubuntu 20.04, BUT you have to edit the apt sources that the .deb file installs. since AMD has archived the repos now, and invoking the amdgpu-install script will fail for the missing repo. 

cd /etc/apt/sources.list.d


sudo nano amdgpu.list



in there you will see:
deb https://repo.radeon.com/amdgpu/22.20/ubuntu focal main

change this to (add '.' before the 22.20):
deb https://repo.radeon.com/amdgpu/.22.20/ubuntu focal main

make the same kind of change inside amdgpu-proprietary.list

then you can properly invoke the amdgpu-install script (i have a sever CLI install, no GUI so i did not install graphics) 

amdgpu-install --usecase=opencl --opencl=rocr --accept-eula

BC250 Community  •  Mittwoch
🅳🅳🅻
 — 
26.02.26, 04:06
https://web.archive.org/ ???
NightFox
 — 
26.02.26, 10:15
There are no driver archives, but you can use a script to try archiving hidden dirs while they are still accessible.
The installation packages are located here:
https://repo.radeon.com/amdgpu/.22.20/ubuntu/pool/proprietary/
https://repo.radeon.com/amdgpu/.21.15/ubuntu/pool/proprietary/ 
The full list of versions is still available here:
https://repo.radeon.com/amdgpu-install/
I was thinking of downloading everything there and posting a mirror on GitHub, but I don't have time yet.