Skip to content

Commit d612480

Browse files
committed
Updating Inference test handling
1 parent 444816e commit d612480

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/conftest.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -272,7 +272,9 @@ def pytorch_training_py_version(pytorch_training_version, request):
272272

273273
@pytest.fixture(scope="module", params=["py2", "py3"])
274274
def pytorch_inference_py_version(pytorch_inference_version, request):
275-
if Version(pytorch_inference_version) >= Version("2.3"):
275+
if Version(pytorch_inference_version) >= Version("2.6"):
276+
return "py312"
277+
elif Version(pytorch_inference_version) >= Version("2.3"):
276278
return "py311"
277279
elif Version(pytorch_inference_version) >= Version("2.0"):
278280
return "py310"

0 commit comments

Comments
 (0)