xuhuisheng / rocm-gfx803

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ROCm with gfx803

This repo upload some archieves for ROCm with gfx803 after ROCm-4.0.

https://github.com/xuhuisheng/rocm-build/tree/master/gfx803

ROCm-5.4.1

OS linux Python ROCm GPU
Ubuntu-20.04.5 5.15 3.8.10 5.4.1 RX580

https://github.com/xuhuisheng/rocm-gfx803/releases/tag/rocm541

Install ROCm First https://docs.amd.com/bundle/ROCm-Installation-Guide-v5.4.1/page/Introduction_to_ROCm_Installation_Guide_for_Linux.html

component version size link
rocblas 2.46.0 9.8M https://github.com/xuhuisheng/rocm-gfx803/releases/download/rocm541/rocblas_2.46.0.50401-84.20.04_amd64.deb
pytorch 1.11.0-rc2 145.14M https://github.com/xuhuisheng/rocm-gfx803/releases/download/rocm500/torch-1.11.0a0+git503a092-cp38-cp38-linux_x86_64.whl
torchvision 0.12.0-rc1 18.47M https://github.com/xuhuisheng/rocm-gfx803/releases/download/rocm500/torchvision-0.12.0a0+2662797-cp38-cp38-linux_x86_64.whl
tensorflow 2.8.0 300.22M https://github.com/xuhuisheng/rocm-gfx803/releases/download/rocm500/tensorflow_rocm-2.8.0-cp38-cp38-linux_x86_64.whl
  1. Install ROCm-5.4.1
  2. sudo dpkg -i rocblas_2.46.0.50401-84.20.04_amd64.deb
  3. pip3 install torch-1.11.0a0+git503a092-cp38-cp38-linux_x86_64.whl
  4. pip3 install torchvision-0.12.0a0+2662797-cp38-cp38-linux_x86_64.whl
  5. pip3 install tensorflow_rocm-2.8.0-cp38-cp38-linux_x86_64.whl

PS: You may need export LD_LIBRARY_PATH=/opt/rocm/lib to resolve cannot find libmiopen.so error.

ROCm-3.5.1

OS linux Python ROCm GPU
Ubuntu-20.04 5.4 3.8.5 3.5.1 RX580

https://github.com/xuhuisheng/rocm-gfx803/releases/tag/rocm35

Install ROCm-3.5.1 First https://github.com/boriswinner/RX580-rocM-tensorflow-ubuntu20.4-guide

component version size link
pytorch 1.7.0 173M https://github.com/xuhuisheng/rocm-gfx803/releases/download/rocm35/torch-1.7.0a0-cp38-cp38-linux_x86_64.whl
torchvision 0.8.0 6.4M https://github.com/xuhuisheng/rocm-gfx803/releases/download/rocm35/torchvision-0.8.0a0+2f40a48-cp38-cp38-linux_x86_64.whl
  1. sudo apt install rocm-dkms rocm-libs
  2. export LB_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/rocm/hip/lib
  3. pip3 install torch-1.7.0a0-cp38-cp38-linux_x86_64.whl
  4. pip3 install torchvision-0.8.0a0+2f40a48-cp38-cp38-linux_x86_64.whl

About