[release 2.11] Update to torch 2.11 (#34644)

This commit is contained in:
Andrey Talman
2026-04-07 18:55:48 -07:00
committed by GitHub
parent 5af684c319
commit 2111997f96
26 changed files with 112 additions and 86 deletions
+1 -1
View File
@@ -706,7 +706,7 @@ def is_torch_equal(target: str) -> bool:
return Version(importlib.metadata.version("torch")) == Version(target)
HAS_OPAQUE_TYPE = is_torch_equal_or_newer("2.11.0.dev")
HAS_OPAQUE_TYPE = is_torch_equal_or_newer("2.12.0.dev")
if HAS_OPAQUE_TYPE:
from torch._opaque_base import OpaqueBase