Add ImageProcessorFast to Qwen2.5-VL processor#36164
Add ImageProcessorFast to Qwen2.5-VL processor#36164Isotr0py merged 21 commits intohuggingface:mainfrom
Conversation
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: isotr0py <2037008807@qq.com>
| """ | ||
|
|
||
| image_processor_class = "Qwen2_5_VLImageProcessor" | ||
| image_processor_class = "AutoImageProcessor" |
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: isotr0py <2037008807@qq.com>
Signed-off-by: isotr0py <2037008807@qq.com>
| PoolFormerImageProcessor, | ||
| ) | ||
| from .models.pvt import PvtImageProcessor | ||
| from .models.qwen2_5_vl import Qwen2_5_VLImageProcessor |
There was a problem hiding this comment.
Not breaking because we added it in this release!
|
Hi @Isotr0py could you please update https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct/blob/main/preprocessor_config.json according to this PR's modification? I use the latest version of transformers and it gives error: |
|
It has been fixed at the hf repo: https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct/blob/main/preprocessor_config.json |
|
@hiyouga Thanks for feedback! Just opened PR in model's repo for update: https://huggingface.co/Qwen/Qwen2.5-VL-7B-Instruct/discussions/24 |
What does this PR do?
Qwen2_5_VLImageProcessorFastto Qwen2.5-VL modular fileBefore submitting
Pull Request section?
to it if that's the case.
documentation guidelines, and
here are tips on formatting docstrings.
Who can review?
Anyone in the community is free to review the PR once the tests have passed. Feel free to tag
members/contributors who may be interested in your PR.
@yonigozlan @ArthurZucker