File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed
serve/model_format/mlflow Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 152152 "2.1.0" ,
153153 "2.1.2" ,
154154 "2.2.0" ,
155+ "2.3.0" ,
155156 "2.3.1" ,
156157 "2.4.1" ,
157158]
Original file line number Diff line number Diff line change 1818 "py38" : "1.12.1" ,
1919 "py39" : "1.13.1" ,
2020 "py310" : "2.2.0" ,
21+ "py311" : "2.3.0" ,
2122}
2223MODEL_PACKAGE_ARN_REGEX = (
2324 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(
356356@pytest .fixture (scope = "module" )
357357def huggingface_pytorch_latest_training_py_version (
358358 huggingface_training_pytorch_latest_version ,
359- ):
359+ ):
360+ if Version (huggingface_training_pytorch_latest_version ) >= Version ("2.3" ):
361+ return "py311"
360362 if Version (huggingface_training_pytorch_latest_version ) >= Version ("2.0" ):
361363 return "py310"
362364 elif Version (huggingface_training_pytorch_latest_version ) >= Version ("1.13" ):
You can’t perform that action at this time.
0 commit comments