maxtext
maxtext copied to clipboard
Qwen Multi-Modal Rope
Description
Implemented multi-modal rope and integrated in training and inference
Tests
Compared to the pytorch implementation
tests/multimodal_rope_check.py
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-reviewlabel. - [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.