diff options
author | DGdev91 <iperpido91@gmail.com> | 2023-06-06 07:59:13 +0000 |
---|---|---|
committer | DGdev91 <iperpido91@gmail.com> | 2023-06-06 07:59:13 +0000 |
commit | 95d4d650d4f42a6fca94495fe9a1d0e471c92607 (patch) | |
tree | 0a8ef04dccbaf1c104fe87405cbfac12af745ff5 /webui.sh | |
parent | e0d923bdf849e7afa4630260f8cc928ffcd3497b (diff) | |
download | stable-diffusion-webui-gfx803-95d4d650d4f42a6fca94495fe9a1d0e471c92607.tar.gz stable-diffusion-webui-gfx803-95d4d650d4f42a6fca94495fe9a1d0e471c92607.tar.bz2 stable-diffusion-webui-gfx803-95d4d650d4f42a6fca94495fe9a1d0e471c92607.zip |
Check python version for Navi 1 only
Diffstat (limited to 'webui.sh')
-rwxr-xr-x | webui.sh | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -112,10 +112,10 @@ then fi # Check prerequisites -pyv="$(${python_cmd} -c 'import sys; print(".".join(map(str, sys.version_info[0:2])))')" gpu_info=$(lspci 2>/dev/null | grep -E "VGA|Display") case "$gpu_info" in *"Navi 1"*) + pyv="$(${python_cmd} -c 'import sys; print(".".join(map(str, sys.version_info[0:2])))')" if [[ $(bc <<< "$pyv <= 3.10") -eq 1 ]] then export HSA_OVERRIDE_GFX_VERSION=10.3.0 |