Repository navigation
refactor(paddleocr_vl): remove test-only sectioned apply_multimodal_rotary_pos_emb - #253
devin-ai-integration[bot] wants to merge 1 commit into
Conversation
…otary_pos_emb Co-Authored-By: Brooklyn <[email protected]>
|
I'll fix CI failures and address comments from users with write access. I'll skip comments containing "(aside)".
|
|
Important Review skippedAuto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Closing in favor of one combined dead-code cleanup PR (requested by the maintainer). The new PR will include this branch's changes. |
Summary
Removes the sectioned M-RoPE helper
apply_multimodal_rotary_pos_embfrompaddleocr_vl/language.rs. It has no production callers anymore: PaddleOCR-VL inference switched to the fused C++ forward (#57), and Qwen3.5-VL switched toapply_multimodal_rotary_pos_emb_interleaved(#80). Only tests and an unusedpub useinpaddleocr_vl/mod.rsstill referenced it.rotate_halfstays becauseapply_interleaved_rotaryuses it.test_apply_mrope_output_shapes, which only exercised the removed fn.test_interleaved_text_invariancenow checks the interleaved path against plain single-axis RoPE, instead of against the removed sectioned fn. The test feedscos/sinrow 0 (temporal) straight toapply_interleaved_rotary. The test's purpose stays the same: for text tokens (t==h==w) the axis selector must have no effect, so the output must be bit-identical.Not built locally: the Linux VM can't build
mlx-sys(no CUDA/cmake, and prebuilt MLX is macOS-only). Build, test and clippy are left to macOS CI.Link to Devin session: https://app.devin.ai/sessions/f0e6f1d5e4d14de7ad7647891adb6288
Open in Devin Desktop: https://app.devin.ai/desktop/session/f0e6f1d5e4d14de7ad7647891adb6288?variant=devin
Requested by: @Brooooooklyn