File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -243,7 +243,9 @@ def mxnet_eia_latest_py_version():
243
243
244
244
@pytest .fixture (scope = "module" , params = ["py2" , "py3" ])
245
245
def pytorch_training_py_version (pytorch_training_version , request ):
246
- if Version (pytorch_training_version ) >= Version ("1.13" ):
246
+ if Version (pytorch_training_version ) >= Version ("2.0" ):
247
+ return "py310"
248
+ elif Version (pytorch_training_version ) >= Version ("1.13" ):
247
249
return "py39"
248
250
elif Version (pytorch_training_version ) >= Version ("1.9" ):
249
251
return "py38"
@@ -255,7 +257,9 @@ def pytorch_training_py_version(pytorch_training_version, request):
255
257
256
258
@pytest .fixture (scope = "module" , params = ["py2" , "py3" ])
257
259
def pytorch_inference_py_version (pytorch_inference_version , request ):
258
- if Version (pytorch_inference_version ) >= Version ("1.13" ):
260
+ if Version (pytorch_inference_version ) >= Version ("2.0" ):
261
+ return "py310"
262
+ elif Version (pytorch_inference_version ) >= Version ("1.13" ):
259
263
return "py39"
260
264
elif Version (pytorch_inference_version ) >= Version ("1.9" ):
261
265
return "py38"
You can’t perform that action at this time.
0 commit comments