mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
fixing error using lspci on macOsX
This commit is contained in:
parent
bb0978ecfd
commit
956263b8a4
2
webui.sh
2
webui.sh
@ -165,7 +165,7 @@ else
|
|||||||
printf "\n%s\n" "${delimiter}"
|
printf "\n%s\n" "${delimiter}"
|
||||||
printf "Launching launch.py..."
|
printf "Launching launch.py..."
|
||||||
printf "\n%s\n" "${delimiter}"
|
printf "\n%s\n" "${delimiter}"
|
||||||
gpu_info=$(lspci | grep VGA)
|
gpu_info=$(lspci 2>/dev/null | grep VGA)
|
||||||
if echo "$gpu_info" | grep -q "AMD"
|
if echo "$gpu_info" | grep -q "AMD"
|
||||||
then
|
then
|
||||||
if [[ -z "${TORCH_COMMAND}" ]]
|
if [[ -z "${TORCH_COMMAND}" ]]
|
||||||
|
Loading…
Reference in New Issue
Block a user