File tree 3 files changed +5
-1
lines changed
serve/model_format/mlflow
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 152
152
"2.1.0" ,
153
153
"2.1.2" ,
154
154
"2.2.0" ,
155
+ "2.3.0" ,
155
156
"2.3.1" ,
156
157
"2.4.1" ,
157
158
]
Original file line number Diff line number Diff line change 18
18
"py38" : "1.12.1" ,
19
19
"py39" : "1.13.1" ,
20
20
"py310" : "2.2.0" ,
21
+ "py311" : "2.3.0" ,
21
22
}
22
23
MODEL_PACKAGE_ARN_REGEX = (
23
24
r"^arn:aws:sagemaker:[a-z0-9\-]+:[0-9]{12}:model-package\/(.*?)(?:/(\d+))?$"
Original file line number Diff line number Diff line change @@ -356,7 +356,9 @@ def huggingface_training_compiler_pytorch_py_version(
356
356
@pytest .fixture (scope = "module" )
357
357
def huggingface_pytorch_latest_training_py_version (
358
358
huggingface_training_pytorch_latest_version ,
359
- ):
359
+ ):
360
+ if Version (huggingface_training_pytorch_latest_version ) >= Version ("2.3" ):
361
+ return "py311"
360
362
if Version (huggingface_training_pytorch_latest_version ) >= Version ("2.0" ):
361
363
return "py310"
362
364
elif Version (huggingface_training_pytorch_latest_version ) >= Version ("1.13" ):
You can’t perform that action at this time.
0 commit comments