Skip to content

Truncate out_sharding to match tensor ndim when pspec has extra dimensions. - #4769

Merged
copybara-service[bot] merged 1 commit into
mainfrom
test_960571888
Aug 7, 2026
Merged

Truncate out_sharding to match tensor ndim when pspec has extra dimensions.#4769
copybara-service[bot] merged 1 commit into
mainfrom
test_960571888

Conversation

@copybara-service

Copy link
Copy Markdown
Contributor

Truncate out_sharding to match tensor ndim when pspec has extra dimensions.

@codecov

codecov Bot commented Aug 7, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 81.48148% with 5 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/maxtext/utils/sharding.py 80.00% 0 Missing and 3 partials ⚠️
src/maxtext/layers/embeddings.py 60.00% 1 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

@copybara-service
copybara-service Bot merged commit 8da934d into main Aug 7, 2026
1 check passed
@copybara-service
copybara-service Bot deleted the test_960571888 branch August 7, 2026 02:00
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