PEP585 update - torch/nn torch/optim torch/package torch/profiler torch/serialization torch/sparse torch/xpu (#145175)

See #145101 for details.
Pull Request resolved: https://github.com/pytorch/pytorch/pull/145175
Approved by: https://github.com/bobrenjc93
This commit is contained in:
Aaron Orenstein
2025-01-19 21:55:48 -08:00
committed by PyTorch MergeBot
parent bd97ce0b45
commit 54a00af2c6
38 changed files with 499 additions and 550 deletions

View File

@ -103,7 +103,7 @@ import inspect
import itertools
import re
import warnings
from typing import Any, Dict
from typing import Any
import torch
from torch.hub import tqdm
@ -937,7 +937,7 @@ def main(op="scatter_mm", force=False, dtype=torch.float16, verbose=True):
dump()
_operation_device_version_data: Dict[Any, Dict] = {
_operation_device_version_data: dict[Any, dict] = {
# Warning: the data in between the BEGIN/END DATA comment lines
# below is generated. It can be updated either manually or via
# calling dump function defined above.