Unverified Commit ba077e21 authored by DaniAndTheWeb's avatar DaniAndTheWeb Committed by GitHub

Fix TORCH_COMMAND check

parent 2e172cf8
......@@ -168,7 +168,7 @@ else
gpu_info=$(lspci | grep VGA)
if echo "$gpu_info" | grep -q "AMD"
then
if [ -z ${TORCH_COMMAND+x} ]
if [[ -z "${TORCH_COMMAND}" ]]
then
export TORCH_COMMAND="pip install torch torchvision --extra-index-url https://download.pytorch.org/whl/rocm5.2"
fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment