Skip to content

Commit 61b7785

Browse files
author
Felipe Mello
committed
typo
1 parent 920a9c2 commit 61b7785

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchtune/training/_distributed.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -674,7 +674,7 @@ def shard_model(
674674

675675
if num_layers_sharded == 0:
676676
raise ValueError(
677-
"No layer modules were sharded. Please check if shard conditions is working as expected."
677+
"No layer modules were sharded. Please check if shard conditions are working as expected."
678678
)
679679

680680
# Finally shard the entire model to account for any stragglers

0 commit comments

Comments
 (0)