Skip to content

Commit

Permalink
add print
Browse files Browse the repository at this point in the history
  • Loading branch information
blahBlahhhJ committed May 23, 2024
1 parent 6a1096a commit 96fd096
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/levanter/data/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -346,6 +346,8 @@ def _batched(item_iter, size):

def _batched_combine(item_iters, size):
batch = []
if jax.process_index() == 4:
logger.info("process 4 enters for loop")
for items in zip(*item_iters):
if jax.process_index() == 4:
logger.info(len(batch))
Expand Down

0 comments on commit 96fd096

Please sign in to comment.