Skip to content

Commit

Permalink
diag print4
Browse files Browse the repository at this point in the history
  • Loading branch information
daviswer committed Feb 10, 2025
1 parent 068ab32 commit dd7d569
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions torchdata/stateful_dataloader/ibm_rescalable.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,6 +493,7 @@ def load_state_dict(self, state_dict):
self.filesizes = file_info
self.shard_states = shard_states[self.rank]
else:
print("GOTHERE 3")
shard_states = [s[0] for s in shard_states.split(1)] # [w] n 5
shard_states = torch.cat(shard_states, dim=0) # wn 5
# Sort shards by epoch count
Expand Down

0 comments on commit dd7d569

Please sign in to comment.