mirror of
https://github.com/zebrajr/pytorch.git
synced 2025-12-06 00:20:18 +01:00
Add torch.cuda.comm to typechecking CI (#45350)
Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/45350 Reviewed By: walterddr Differential Revision: D23935750 Pulled By: malfet fbshipit-source-id: 5a7d2d4fbc976699d80bb5caf4727c19fa2c5bc8
This commit is contained in:
parent
22401b850b
commit
c8166d4b58
4
mypy.ini
4
mypy.ini
|
|
@ -186,8 +186,8 @@ ignore_errors = True
|
|||
[mypy-torch.cuda.amp.*]
|
||||
ignore_errors = True
|
||||
|
||||
[mypy-torch.cuda.comm]
|
||||
ignore_errors = True
|
||||
#[mypy-torch.cuda.comm]
|
||||
#ignore_errors = True
|
||||
|
||||
[mypy-torch.cuda.nccl]
|
||||
ignore_errors = True
|
||||
|
|
|
|||
|
|
@ -2,4 +2,4 @@
|
|||
from torch.nn.parallel.comm import broadcast, broadcast_coalesced, reduce_add, \
|
||||
reduce_add_coalesced, scatter, gather
|
||||
|
||||
__all__ = [broadcast, broadcast_coalesced, reduce_add, reduce_add_coalesced, scatter, gather]
|
||||
__all__ = ['broadcast', 'broadcast_coalesced', 'reduce_add', 'reduce_add_coalesced', 'scatter', 'gather']
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user