Merge pull request #6906 from koalazak/fix_missing_lspci

fixing error using lspci on macOsX
This commit is contained in:
AUTOMATIC1111 2023-01-19 08:35:31 +03:00 committed by GitHub
commit 6620acff8c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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}" ]]