Skip to content

Commit

Permalink
fix destructuring
Browse files Browse the repository at this point in the history
  • Loading branch information
sadikneipp committed Nov 9, 2024
1 parent 3d3eaed commit 2d2ddea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pathwaysutils/persistence/pathways_orbax_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ async def deserialize(
results = [None] * len(infos)

logging.warning(f"[ksadi] restore loop will take {len(inputs_by_global_mesh.items())} iterations")
for i, global_mesh, idxs in enumerate(inputs_by_global_mesh.items()):
for i, (global_mesh, idxs) in enumerate(inputs_by_global_mesh.items()):
grouped_infos = [infos[idx] for idx in idxs]
grouped_global_shapes = [global_shapes[idx] for idx in idxs]
grouped_dtypes = [dtypes[idx] for idx in idxs]
Expand Down

0 comments on commit 2d2ddea

Please sign in to comment.