Skip to content

Commit

Permalink
fix: Fix ci unit-tests (aws#4713)
Browse files Browse the repository at this point in the history
  • Loading branch information
knikure authored and jiapinw committed Jun 25, 2024
1 parent bf2ebd2 commit 98e5acc
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,9 @@ def mxnet_eia_latest_py_version():

@pytest.fixture(scope="module", params=["py2", "py3"])
def pytorch_training_py_version(pytorch_training_version, request):
if Version(pytorch_training_version) >= Version("2.0"):
if Version(pytorch_training_version) >= Version("2.3"):
return "py311"
elif Version(pytorch_training_version) >= Version("2.0"):
return "py310"
elif Version(pytorch_training_version) >= Version("1.13"):
return "py39"
Expand Down

0 comments on commit 98e5acc

Please sign in to comment.