Skip to content

Commit

Permalink
pr
Browse files Browse the repository at this point in the history
  • Loading branch information
dlwh committed Oct 14, 2024
1 parent f31d994 commit f46690a
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/levanter/data/loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,6 @@ def get_local_data_for_leaf(indices: _TensorSliceIndex, leaf_index: int) -> Arra
if all(idx == slice(None) for idx in other_indices):
return leaf_data
else:
# TODO: this doesn't work with named axes
return leaf_data[(..., *other_indices)]

def make_global_array_for_leaf(leaf_index, item_leaf_shape: ShapeSpec | NamedShapeSpec):
Expand Down

0 comments on commit f46690a

Please sign in to comment.