File tree 1 file changed +5
-1
lines changed
1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -254,6 +254,8 @@ def mxnet_eia_latest_py_version():
254
254
255
255
@pytest .fixture (scope = "module" , params = ["py2" , "py3" ])
256
256
def pytorch_training_py_version (pytorch_training_version , request ):
257
+ if Version (pytorch_training_version ) >= Version ("2.6" ):
258
+ return "py312"
257
259
if Version (pytorch_training_version ) >= Version ("2.3" ):
258
260
return "py311"
259
261
elif Version (pytorch_training_version ) >= Version ("2.0" ):
@@ -270,7 +272,9 @@ def pytorch_training_py_version(pytorch_training_version, request):
270
272
271
273
@pytest .fixture (scope = "module" , params = ["py2" , "py3" ])
272
274
def pytorch_inference_py_version (pytorch_inference_version , request ):
273
- 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" ):
274
278
return "py311"
275
279
elif Version (pytorch_inference_version ) >= Version ("2.0" ):
276
280
return "py310"
You can’t perform that action at this time.
0 commit comments