Skip to content

Commit c2a8800

Browse files
angerrpwz337
andauthored
Fix reference to dcp in loading example (#2972)
* Fix reference to DCP * Keep import style as saving --------- Co-authored-by: Iris Z <31293777+wz337@users.noreply.github.com>
1 parent 0e530ea commit c2a8800

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

recipes_source/distributed_checkpoint_recipe.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ the intent is to save or load in "non-distributed" style, meaning entirely in th
289289
import os
290290
291291
import torch
292-
import torch.distributed.checkpoint as DCP
292+
import torch.distributed.checkpoint as dcp
293293
import torch.nn as nn
294294
295295

0 commit comments

Comments
 (0)