[CI, 3.13] enable 3.13 CI (#139533)

Pull Request resolved: https://github.com/pytorch/pytorch/pull/139533
Approved by: https://github.com/atalman, https://github.com/malfet
This commit is contained in:
William Wen
2024-11-21 14:40:52 -08:00
committed by PyTorch MergeBot
parent e0d97e936a
commit b7a25c1ee7
6 changed files with 42 additions and 9 deletions

View File

@ -2479,8 +2479,8 @@ def compile(
"""
_C._log_api_usage_once("torch.compile")
if sys.version_info >= (3, 13):
raise RuntimeError("Dynamo is not supported on Python 3.13+")
if sys.version_info >= (3, 14):
raise RuntimeError("Dynamo is not supported on Python 3.14+")
# Decorator mode
if model is None: