Skip to content

Commit 5ad362f

Browse files
committed
fix style
Signed-off-by: dimapihtar <[email protected]>
1 parent 620635c commit 5ad362f

File tree

1 file changed

+1
-1
lines changed
  • megatron/core/dist_checkpointing/strategies

1 file changed

+1
-1
lines changed

megatron/core/dist_checkpointing/strategies/zarr.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ def pad_to_expected_shape(x: torch.Tensor, expected_sharded_ten: ShardedTensor):
317317
return torch.nn.functional.pad(x, pad_args)
318318

319319
# unsqueeze and squeeze to get shapes supported by cudnn
320-
print(f"Replicating last row for {expected_sharded_ten.key}")
320+
logger.info(f"Replicating last row for {expected_sharded_ten.key}")
321321
if x.dtype == torch.bfloat16:
322322
return (
323323
torch.nn.functional.pad(x.float().unsqueeze(0), pad_args, mode="replicate")

0 commit comments

Comments
 (0)