Traktor/myenv/Lib/site-packages/torch/cuda/comm.py

19 lines
343 B
Python
Raw Normal View History

2024-05-23 01:57:24 +02:00
# The functions here have been moved to torch.nn.parallel.comm
from torch.nn.parallel.comm import (
broadcast,
broadcast_coalesced,
gather,
reduce_add,
reduce_add_coalesced,
scatter,
)
__all__ = [
"broadcast",
"broadcast_coalesced",
"reduce_add",
"reduce_add_coalesced",
"scatter",
"gather",
]