Skip to content

Conversation

@MagellaX
Copy link

PR Description (talking it through)

Dropped a new op/mrope.py with the full multimodal rotary toolchain: cached inverse‑freq tables, tensor‑expr cos/sin kernels that run on the Unity TVM wheel, and the HuggingFace‑style get_mrope_position_ids.
Exported the helpers via mlc_llm.op and added a focused pytest (tests/python/op/test_mrope.py) so we can cross‑check the Relax kernels against NumPy and HF’s 3D position map logic.
Added python/mlc_llm/model/qwen2_5_vl/ as the stage‑1 model skeleton that already calls the new rotary path; runtime/package init got defensive tweaks (init.py, base.py) so Unity runtimes without register_func/MLC DLLs don’t explode during tests.

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