mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Merge pull request #10967 from waltercool/master
Added support for workarounds on Navi external GPU.
This commit is contained in:
commit
7fd53815d3
2
webui.sh
2
webui.sh
@ -112,7 +112,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check prerequisites
|
# Check prerequisites
|
||||||
gpu_info=$(lspci 2>/dev/null | grep VGA)
|
gpu_info=$(lspci 2>/dev/null | grep -E "VGA|Display")
|
||||||
case "$gpu_info" in
|
case "$gpu_info" in
|
||||||
*"Navi 1"*|*"Navi 2"*) export HSA_OVERRIDE_GFX_VERSION=10.3.0
|
*"Navi 1"*|*"Navi 2"*) export HSA_OVERRIDE_GFX_VERSION=10.3.0
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user