Skip to content

Conversation

@copybara-service
Copy link

[JAX SC] Fix unique ID count propagation in minibatching splits and update test assertion.

In minibatching_splits_impl.h, when a split is made, the unique ID count for the parent bucket should be updated to the maximum of the two child buckets. In input_preprocessing_test.cc, change a conditional check to an assertion, as INT_MAX is used as a sentinel and should not appear in valid embedding IDs.

@copybara-service copybara-service bot force-pushed the test_822378220 branch 3 times, most recently from 91da13e to 6075692 Compare October 22, 2025 22:58
…pdate test assertion.

In `minibatching_splits_impl.h`, when a split is made, the unique ID count for the parent bucket should be updated to the maximum of the two child buckets. In `input_preprocessing_test.cc`, change a conditional check to an assertion, as `INT_MAX` is used as a sentinel and should not appear in valid embedding IDs.

PiperOrigin-RevId: 822775808
@copybara-service copybara-service bot merged commit 2121dbf into main Oct 22, 2025
@copybara-service copybara-service bot deleted the test_822378220 branch October 22, 2025 23: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.

1 participant