Skip to content

Commit

Permalink
Enclose the version specification in double quotes.
Browse files Browse the repository at this point in the history
  • Loading branch information
linshokaku committed Oct 15, 2024
1 parent 3184a12 commit 3bc76c3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .flexci/windows/test.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if ($test -eq "torch110") {
# NOTE(linsho):
# Due to reports of the ONNX build for Windows being broken, we are temporarily limiting the version of ONNX.
# cf. https://github.com/onnx/onnx/issues/6267
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda11x onnx<=1.16.1
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda11x "onnx<=1.16.1"

} elseif ($test -eq "torch111") {
# PyTorch 1.11 + Python 3.9
Expand All @@ -29,7 +29,7 @@ if ($test -eq "torch110") {
# NOTE(linsho):
# Due to reports of the ONNX build for Windows being broken, we are temporarily limiting the version of ONNX.
# cf. https://github.com/onnx/onnx/issues/6267
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda11x onnx<=1.16.1
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda11x "onnx<=1.16.1"

} elseif ($test -eq "torch112") {
# PyTorch 1.12 + Python 3.10
Expand All @@ -40,7 +40,7 @@ if ($test -eq "torch110") {
# NOTE(linsho):
# Due to reports of the ONNX build for Windows being broken, we are temporarily limiting the version of ONNX.
# cf. https://github.com/onnx/onnx/issues/6267
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda11x onnx<=1.16.1
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda11x "onnx<=1.16.1"

} elseif ($test -eq "torch113") {
# PyTorch 1.13 + Python 3.10
Expand All @@ -51,7 +51,7 @@ if ($test -eq "torch110") {
# NOTE(linsho):
# Due to reports of the ONNX build for Windows being broken, we are temporarily limiting the version of ONNX.
# cf. https://github.com/onnx/onnx/issues/6267
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda11x onnx<=1.16.1
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda11x "onnx<=1.16.1"

} elseif ($test -eq "torch200") {
# PyTorch 2.0 + Python 3.10
Expand All @@ -62,7 +62,7 @@ if ($test -eq "torch110") {
# NOTE(linsho):
# Due to reports of the ONNX build for Windows being broken, we are temporarily limiting the version of ONNX.
# cf. https://github.com/onnx/onnx/issues/6267
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda11x onnx<=1.16.1
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda11x "onnx<=1.16.1"

} elseif ($test -eq "torch201") {
# PyTorch 2.1 + Python 3.10
Expand All @@ -73,7 +73,7 @@ if ($test -eq "torch110") {
# NOTE(linsho):
# Due to reports of the ONNX build for Windows being broken, we are temporarily limiting the version of ONNX.
# cf. https://github.com/onnx/onnx/issues/6267
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda11x onnx<=1.16.1
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda11x "onnx<=1.16.1"

} elseif ($test -eq "torch202") {
# PyTorch 2.2 + Python 3.10
Expand All @@ -84,7 +84,7 @@ if ($test -eq "torch110") {
# NOTE(linsho):
# Due to reports of the ONNX build for Windows being broken, we are temporarily limiting the version of ONNX.
# cf. https://github.com/onnx/onnx/issues/6267
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda12x onnx<=1.16.1
RunOrDie python -m pip install -r tests/requirements.txt cupy-cuda12x "onnx<=1.16.1"

} else {
throw "Unsupported test variant: $test"
Expand Down

0 comments on commit 3bc76c3

Please sign in to comment.