We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b67fb6e commit 4839584Copy full SHA for 4839584
fms_fsdp/utils/train_utils.py
@@ -84,6 +84,8 @@ def train(
84
for batch_idx, (input, label) in enumerate(train_loader, start=start_step + 1):
85
if batch_idx > cfg.num_steps:
86
break
87
+ if rank == 0:
88
+ print(input.shape)
89
input = input.to(local_rank)
90
label = label.to(local_rank)
91
0 commit comments