Skip to content

Skip Tokamax RaggedDotGroupSizes for FP8#3457

Merged
copybara-service[bot] merged 4 commits intomainfrom
BirdsOfAFthr-patch-1
Mar 21, 2026
Merged

Skip Tokamax RaggedDotGroupSizes for FP8#3457
copybara-service[bot] merged 4 commits intomainfrom
BirdsOfAFthr-patch-1

Conversation

@BirdsOfAFthr
Copy link
Collaborator

Description

FP8 path is still using tokamax internal backend APIs. The new RaggedDotGroupSizes was introduced (pull3330) for Tokamax public APIs in bf16 path, which broke FP8.

Tests

Benchmarks were run internally.

Checklist

Before submitting this PR, please make sure (put X in square brackets):

  • I have performed a self-review of my code. For an optional AI review, add the gemini-review label.
  • I have necessary comments in my code, particularly in hard-to-understand areas.
  • I have run end-to-end tests tests and provided workload links above if applicable.
  • I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in our documentation.

# Description

FP8 path is still using tokamax internal backend APIs. The new `RaggedDotGroupSizes` was introduced ([pull3330](#3330)) for Tokamax public APIs in bf16 path, which broke FP8.

# Tests

Benchmarks were run internally.

# Checklist

Before submitting this PR, please make sure (put X in square brackets):
- [X] I have performed a self-review of my code. For an optional AI review, add the `gemini-review` label.
- [X] I have necessary comments in my code, particularly in hard-to-understand areas.
- [X] I have run end-to-end tests tests and provided workload links above if applicable.
- [X] I have made or will make corresponding changes to the doc if needed, including adding new documentation pages to the relevant Table of Contents (toctree directive) as explained in [our documentation](https://maxtext.readthedocs.io/en/latest/development.html#adding-new-documentation-files).
@codecov
Copy link

codecov bot commented Mar 19, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@copybara-service copybara-service bot merged commit c4b5e64 into main Mar 21, 2026
42 of 43 checks passed
@copybara-service copybara-service bot deleted the BirdsOfAFthr-patch-1 branch March 21, 2026 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants