Skip to content

Conversation

@dcherian
Copy link
Collaborator

@dcherian dcherian commented Aug 2, 2024

Done when

  1. method is None
  2. Grouping and reducing by a 1D array
  3. by is sorted.
  • test for descending too
  • support descending by too

We gate this on fractional change in number of chunks and change in size of largest chunk.

Closes #359

@dcherian dcherian force-pushed the auto-blockwise-rechunk branch 5 times, most recently from bcae992 to 0c0b0e5 Compare August 2, 2024 22:00
@dcherian dcherian force-pushed the auto-blockwise-rechunk branch 5 times, most recently from 20e6ed8 to d9a7ab5 Compare June 17, 2025 05:13
new_input_chunks = chunks

# FIXME: this should be unnecessary?
labels = factorize_((labels,), axes=())[0]
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TODO: get rid of this line

dcherian added 4 commits July 16, 2025 08:18
Done when
1. `method` is None
2. Grouping and reducing by a 1D array

We gate this on fractional change in number of chunks and change in size
of largest chunk.

Closes #359
@dcherian dcherian force-pushed the auto-blockwise-rechunk branch from c46223d to ed590ee Compare July 16, 2025 15:02
@dcherian dcherian marked this pull request as ready for review July 16, 2025 15:10
@dcherian dcherian enabled auto-merge (squash) July 16, 2025 20:13
@dcherian dcherian disabled auto-merge July 16, 2025 20:13
# _simple_combine.
DUMMY_AXIS = -2


Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change

@dcherian dcherian merged commit 839b4d0 into main Jul 17, 2025
16 checks passed
@dcherian dcherian deleted the auto-blockwise-rechunk branch July 17, 2025 03:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider preferred_method="blockwise" if by is sorted

2 participants