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

This reverts commit b7a25c1ee7cdb559516db2b10279c996742a1708.

Reverted https://github.com/pytorch/pytorch/pull/139533 on behalf of https://github.com/huydhn due to Sorry for reverting your change but it is failing test_cpp_extensions_open_device_registration. The test was wrongly excluded by TD ([comment](https://github.com/pytorch/pytorch/pull/139533#issuecomment-2494328806))
This commit is contained in:
PyTorch MergeBot
2024-11-22 17:18:49 +00:00
parent cf1d95a965
commit 2239d1a7a3
6 changed files with 9 additions and 42 deletions

View File

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