From 16a00a3e8a0722d04565d0c8ea6062aaa9f26db5 Mon Sep 17 00:00:00 2001 From: Chris Braun Date: Wed, 21 Sep 2022 13:42:00 +0200 Subject: [PATCH] Updated Install and Run on AMD GPUs (markdown) --- Install-and-Run-on-AMD-GPUs.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Install-and-Run-on-AMD-GPUs.md b/Install-and-Run-on-AMD-GPUs.md index 46a9007..cd554d4 100644 --- a/Install-and-Run-on-AMD-GPUs.md +++ b/Install-and-Run-on-AMD-GPUs.md @@ -1,8 +1,13 @@ # Installing and running on Linux with AMD GPUs -If your AMD GPU is compatible with ROCm, you can try running: `TORCH_COMMAND='pip install torch torchvision ---extra-index-url https://download.pytorch.org/whl/rocm5.1.1' python launch.py --precision full --no-half`. Make sure to -do this in a new virtual environment, or activate your existing environment and `pip uninstall torch torchvision` -beforehand. +If your AMD GPU is compatible with ROCm, you can try running: + +```bash +# It's possible that you don't need "--precision full", dropping "--no-half" however crashes my drivers +TORCH_COMMAND='pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/rocm5.1.1' python launch.py --precision full --no-half +``` + +Make sure to do this in a new virtual environment, or activate your existing environment and +`pip uninstall torch torchvision` beforehand. The first generation after starting the WebUI might take very long, and you might see a message similar to this: > MIOpen(HIP): Warning [SQLiteBase] Missing system database file: gfx1030_40.kdb Performance may degrade. Please follow