Enable verify_dynamo on Python 3.13 (#166497)

Dynamo now supports Python 3.13.

Pull Request resolved: https://github.com/pytorch/pytorch/pull/166497
Approved by: https://github.com/Lucaskabela, https://github.com/williamwen42
This commit is contained in:
Yuanyuan Chen 2025-10-30 19:52:28 +00:00 committed by PyTorch MergeBot
parent 56838bad5f
commit 52db60170d

View File

@ -216,9 +216,8 @@ def main() -> None:
f"ROCM version: {rocm_ver}\n" f"ROCM version: {rocm_ver}\n"
) )
for args in _SANITY_CHECK_ARGS: for args in _SANITY_CHECK_ARGS:
if sys.version_info >= (3, 13): if sys.version_info >= (3, 14):
warnings.warn("Dynamo not yet supported in Python 3.13. Skipping check.") warnings.warn("Dynamo not yet supported in Python 3.14. Skipping check.")
continue
check_dynamo(*args) check_dynamo(*args)
print("All required checks passed") print("All required checks passed")