mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 12:20:52 +01:00
Enable type check for torch.testing._internal.dist_utils.* (#44832)
Summary: Addresses a sub-task of https://github.com/pytorch/pytorch/issues/44752. Pull Request resolved: https://github.com/pytorch/pytorch/pull/44832 Reviewed By: malfet Differential Revision: D23744260 Pulled By: samestep fbshipit-source-id: 46aede57b4fa66a770d5df382b0aea2bd6772b9b
This commit is contained in:
parent
7bd8a6913d
commit
c2cf6efd96
3
mypy.ini
3
mypy.ini
|
|
@ -56,9 +56,6 @@ ignore_errors = True
|
|||
[mypy-torch.testing._internal.te_utils.*]
|
||||
ignore_errors = True
|
||||
|
||||
[mypy-torch.testing._internal.dist_utils.*]
|
||||
ignore_errors = True
|
||||
|
||||
[mypy-torch.testing._internal.codegen.*]
|
||||
ignore_errors = True
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import sys
|
|||
|
||||
import torch.distributed as dist
|
||||
import torch.distributed.rpc as rpc
|
||||
from torch.distributed.rpc import _rref_context_get_debug_info
|
||||
from torch.distributed.rpc import _rref_context_get_debug_info # type: ignore[attr-defined]
|
||||
|
||||
|
||||
if not dist.is_available():
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user