transformers
54297c2c - Data-dependent inputs: fix Glm5Next, HunYuan-VL, Ernie and Cosmos3-Edge, pass them through the image getters

Commit
5 days ago
Data-dependent inputs: fix Glm5Next, HunYuan-VL, Ernie and Cosmos3-Edge, pass them through the image getters - Glm5Next: only the vision tower's inputs, its text model takes plain positions (it had no get_rope_index) - HunYuan-VL: drop the packed text row of position_ids, compilable placeholder check - Ernie: written out, super() reached the mixin's empty default in the generated file - Cosmos3-Edge: the vision tower returns its cu_seqlens / max_seqlen - Mistral3, Mistral-Large-4, LightOnOCR, LLaVA-NeXT(-Video), MiniCPM-V, HunYuan-VL: forward **kwargs to the image getter - Simpler common encoder compile test Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Parents
Loading