You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 13, 2025. It is now read-only.
Leaving this here for anyone wanting to use it with an AMD GPU.
Tested working with Python 3.10.8 Arch Linux, AMD RX 6650XT.
Installing
Install ROCm on your system, how you do this is going to vary with distribution, so search for how to install for your specific distribution, Windows or OSX I have no idea sorry, Arch users go here.
Make sure pip and wheel is latest version pip install --upgrade pip wheel
Install lama cleaner pip install lama-cleaner
Install Torch ROCm 5.2 for AMD GPU support pip install torch --extra-index-url https://download.pytorch.org/whl/rocm5.2/ --force
Remove cached packages if desired pip cache purge
Run lama-cleaner --model=lama --device=cuda --port=8080
Launching next time source venv/bin/activate lama-cleaner --model=lama --device=cuda --port=8080
Navi 23
Navi 23 (gfx1032) is not currently supported by ROCm, fortunately you can trick it into thinking it's Navi 21 and this works just fine, add HSA_OVERRIDE_GFX_VERSION=10.3.0 just before you launch it, this may also apply to Navi 22 cards.
Sanster, jinmingyi1998, Pheidologeton, CapsAdmin, erasmus74 and 9 more