mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
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:
committed by
PyTorch MergeBot
parent
bd97ce0b45
commit
54a00af2c6
@ -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.
|
||||
|
Reference in New Issue
Block a user