Skip to content

Commit 2b0be8d

Browse files
authored
fix: Fix ci unit-tests (#4728)
1 parent 3497670 commit 2b0be8d

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/conftest.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,9 @@ def pytorch_training_py_version(pytorch_training_version, request):
269269

270270
@pytest.fixture(scope="module", params=["py2", "py3"])
271271
def pytorch_inference_py_version(pytorch_inference_version, request):
272-
if Version(pytorch_inference_version) >= Version("2.0"):
272+
if Version(pytorch_inference_version) >= Version("2.3"):
273+
return "py311"
274+
elif Version(pytorch_inference_version) >= Version("2.0"):
273275
return "py310"
274276
elif Version(pytorch_inference_version) >= Version("1.13"):
275277
return "py39"

0 commit comments

Comments
 (0)