serhii-nakon
serhii-nakon
You just need install this https://packages.debian.org/bookworm/hipcc package after install Debian, then It should install all other packages like dependency. Also looks like Arch Linux also provide ROCm with all cards...
Simple update, by default ROCm very partially support HIP on GFX1012 I just re-compile PyTorch with support GFX1012 and now it require files while run mnist test and this files...
Here docker-compose and dockerfile that I used to test [docker.zip](https://github.com/RadeonOpenCompute/ROCm/files/12195542/docker.zip) When I will have enough time I will try https://github.com/xuhuisheng/rocm-build - looks like it should work almost fine
PSS: I successfully complete this mnist test using this OpenCL backend from this project https://github.com/artyom-beilis/pytorch_dlprim Here docker file with PyTorch and this backend [docker_cl.zip](https://github.com/RadeonOpenCompute/ROCm/files/12195725/docker_cl.zip) 
I successfully re-built ROCm 5.4.3 rccl, rocsparse, rocblas, rocfft, rocrand (all other components are default), PyTorch 2.1 and complete Mnist test using HIP/ROCm PS: To build PyTorch you need at...
Possible I will do it, but need simple refactor to minimize size of container
You can use already pre-built Docker image but you can not build with 8GB RAM
I mean that if I upload Docker image with already pre-build PyTorch and ROCm you can use it, but main issue it re-build PyTorch from source because it use 8-25GB...
I have uploaded this image, please test also PyTorch Audio because I have not enough time to do it (only compiled) https://hub.docker.com/r/serhiin/rocm_gfx1012_pytorch
PS: Sorry for my mistake I added only one tag and it non `latest` that's why you can not pull it (I update description with correct instruction), please use this...