Skip to content

fix colpali mapping#39353

Open
ManuelFay wants to merge 2 commits into
huggingface:mainfrom
ManuelFay:fix-colpali-hf-mapping
Open

fix colpali mapping#39353
ManuelFay wants to merge 2 commits into
huggingface:mainfrom
ManuelFay:fix-colpali-hf-mapping

Conversation

@ManuelFay

Copy link
Copy Markdown
Contributor

What does this PR do?

Fixes # (issue)

Fixes the issue of Colpali not working sincer the breaking changes with VLMs in 4.52.
Most models were converted, not the native HF colpali making the code in docs here fail: https://huggingface.co/docs/transformers/model_doc/colpali.

@yonigozlan @zucchini-nlp

@github-actions

Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: colpali

@ManuelFay

Copy link
Copy Markdown
Contributor Author

@yonigozlan This fails because of the modular that copies over the mapping to ColQwen2 (which does not need it).
I don't know how to fix this, but in this PR you already havce the problem identified, and the checkpoint mapping done so it should go quickly for you :)

@zucchini-nlp zucchini-nlp left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I already had a fix here #39242 which is waiting for core maintainer's review :)

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.

2 participants