We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a1afe92 commit ba1ba32Copy full SHA for ba1ba32
1 file changed
tests/conftest.py
@@ -363,6 +363,8 @@ def huggingface_training_compiler_pytorch_py_version(
363
def huggingface_pytorch_latest_training_py_version(
364
huggingface_training_pytorch_latest_version,
365
):
366
+ if Version(huggingface_training_pytorch_latest_version) >= Version("2.6"):
367
+ return "py312"
368
if Version(huggingface_training_pytorch_latest_version) >= Version("2.3"):
369
return "py311"
370
if Version(huggingface_training_pytorch_latest_version) >= Version("2.0"):
0 commit comments