| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
|
🤖 Hi @RissyRan, I've received your request, and I'm working on it now! You can track my progress in the logs for more details. |
Sorry, something went wrong.
There was a problem hiding this comment.
This pull request adds support for FP8 quantization using the tokamax GMM kernel. The changes are well-structured and introduce fine-grained configuration for tiling dimensions. The core logic is updated to switch between the existing megablox backend and the new tokamax backend.
Sorry, something went wrong.
There was a problem hiding this comment.
LGTM! Just one comment to move proper assertion in moe.py to the pyconfig file
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Description
This PR calls tokamax_api.gmm in megablox/ops.py for supporting FP8 quantization using tokamax's gmm kernel. It also extends the tiling configs to 18 values, 9 for wi-* and 9 for wo tensors.
If the change fixes a bug or a Github issue, please include a link, e.g.,:
FIXES: b/458461066
Notice 1: Once all tests pass, the "pull ready" label will automatically be assigned.
This label is used for administrative purposes. Please do not add it manually.
Notice 2: For external contributions, our settings currently require an approval from a MaxText maintainer to trigger CI tests.
Tests
Command to repro: https://paste.googleplex.com/6669707558125568
Xprof: http://shortn/_HoU0Xj2IZ9
Checklist
Before submitting this PR, please make sure (put X in square brackets):