mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2026-01-30 12:22:26 -08:00
Merge pull request #6906 from koalazak/fix_missing_lspci
fixing error using lspci on macOsX
This commit is contained in:
commit
6620acff8c
1 changed files with 1 additions and 1 deletions
2
webui.sh
2
webui.sh
|
|
@ -165,7 +165,7 @@ else
|
|||
printf "\n%s\n" "${delimiter}"
|
||||
printf "Launching launch.py..."
|
||||
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"
|
||||
then
|
||||
if [[ -z "${TORCH_COMMAND}" ]]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue