mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-04-04 19:49:01 +08:00
detect CMP cards
Co-Authored-By: Serhio <22981979+carbofos@users.noreply.github.com>
This commit is contained in:
parent
32595360f2
commit
d9723961d8
2
webui.sh
2
webui.sh
@ -127,7 +127,7 @@ then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Check prerequisites
|
# Check prerequisites
|
||||||
gpu_info=$(lspci 2>/dev/null | grep -E "VGA|Display")
|
gpu_info=$(lspci 2>/dev/null | grep -E "VGA|Display|CMP")
|
||||||
case "$gpu_info" in
|
case "$gpu_info" in
|
||||||
*"Navi 1"*)
|
*"Navi 1"*)
|
||||||
export HSA_OVERRIDE_GFX_VERSION=10.3.0
|
export HSA_OVERRIDE_GFX_VERSION=10.3.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user