We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d763780 commit baaf5ccCopy full SHA for baaf5cc
2 files changed
torch/distributed/_shard/api.py
@@ -126,7 +126,7 @@ def shard_parameter(
126
@contextmanager
127
def load_with_process_group(process_group):
128
"""
129
- Context manager to set the process group with which to load a ShardedTensor/ReplicatedTensor.
+ Context manager to set the process group with which to load a ShardedTensor.
130
131
global _CURRENT_PROCESS_GROUP
132
if _CURRENT_PROCESS_GROUP is not None:
torch/distributed/_shard/replicated_tensor.py
0 commit comments