We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae2b2f5 commit 6f78cc0Copy full SHA for 6f78cc0
torch/distributed/checkpoint/state_dict_loader.py
@@ -22,10 +22,10 @@ def load_state_dict(
22
planner: LoadPlanner = None,
23
) -> None:
24
"""
25
- Loads a distributed state_dict in SPMD style.
+ Loads a distributed ``state_dict`` in SPMD style.
26
27
Each rank will try to read the least amount of data necessary
28
- to fullfill the requested `state_dict`. When loading ShardedTensor
+ to fullfill the requested `state_dict`. When loading :class:`ShardedTensor`
29
instances, each rank only reads data for their local shards.
30
31
.. warning::
0 commit comments