linux下RX580使用comfyui

https://mp.weixin.qq.com/s/k6UR-TIB_XIxvytOPH66rA

https://github.com/Grench6/RX580-rocM-tensorflow-ubuntu20.4-guide

pytorch安装:

https://pytorch.org/get-started/locally/

B站:

https://www.bilibili.com/video/BV1oS421P7uj/

显卡驱动:

https://www.amd.com/en/support/download/linux-drivers.html

sudo apt update
wget https://repo.radeon.com/amdgpu-install/6.3.2/ubuntu/noble/amdgpu-install_6.3.60302-1_all.deb
sudo apt install ./amdgpu-install_6.3.60302-1_all.deb
sudo amdgpu-install -y --usecase=graphics,rocm
sudo usermod -a -G render,video $LOGNAME

pytorch:

https://rocm.docs.amd.com/projects/radeon/en/latest/docs/install/native_linux/install-pytorch.html

wget https://repo.radeon.com/rocm/manylinux/rocm-rel-6.3.2/torch-2.4.0%2Brocm6.3.2-cp312-cp312-linux_x86_64.whl
wget https://repo.radeon.com/rocm/manylinux/rocm-rel-6.3.2/torchvision-0.19.0%2Brocm6.3.2-cp312-cp312-linux_x86_64.whl
wget https://repo.radeon.com/rocm/manylinux/rocm-rel-6.3.2/pytorch_triton_rocm-3.0.0%2Brocm6.3.2.75cc27c26a-cp312-cp312-linux_x86_64.whl
wget https://repo.radeon.com/rocm/manylinux/rocm-rel-6.3.2/torchaudio-2.4.0%2Brocm6.3.2-cp312-cp312-linux_x86_64.whl
pip3 uninstall torch torchvision pytorch-triton-rocm
pip3 install torch-2.4.0+rocm6.3.2-cp312-cp312-linux_x86_64.whl torchvision-0.19.0+rocm6.3.2-cp312-cp312-linux_x86_64.whl torchaudio-2.4.0+rocm6.3.2-cp312-cp312-linux_x86_64.whl pytorch_triton_rocm-3.0.0+rocm6.3.2.75cc27c26a-cp312-cp312-linux_x86_64.whl

安装依赖:

sudo apt install --no-install-recommends google-perftools

ubuntu 22参考:

https://www.youtube.com/watch?v=lCOk6Id2oRE

https://github.com/LinuxMadeEZ/PyTorch-Ubuntu-GFX803

 

参考:

© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享