fixing error using lspci on macOsX

This commit is contained in:
facu 2023-01-18 19:15:53 -03:00
parent bb0978ecfd
commit 956263b8a4
1 changed files with 1 additions and 1 deletions

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