Skip to content

Commit

Permalink
fixing error using lspci on macOsX
Browse files Browse the repository at this point in the history
  • Loading branch information
koalazak committed Jan 18, 2023
1 parent bb0978e commit 956263b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webui.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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}" ]]
Expand Down

0 comments on commit 956263b

Please sign in to comment.