-
Notifications
You must be signed in to change notification settings - Fork 28.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ValueError: Unrecognized image processor in Qwen/Qwen2.5-VL-3B-Instruct. #36193
Comments
When installing |
same problem |
Delete |
update preprocessor_config.json, which is updated 2 days ago on huggingface |
Hey all! Thanks for reporting this, I didn't see that the slow image processor was removed! @ArthurZucker I believe the slow ones should stay for a while, at least until the fast ones become the default. The issue is fixed now by updating the hub files and forcing the model to use Qwen2VL slow processor (models have identical image processing) |
I am facing this error while using unsloth for finetuning. Please post the solution in case anyone has got it.
|
IMO no need for the slow, let's make sure this does not break for people as release is soon. The processor was introduced in the main branch only |
I tried to pass The reason I am doing this is that this preprocessor_config.json is still using |
@pcuenca yep, that is the solution and it will work in all version is that case. The problem is we deleted the class for qwen2-5-vl, since it is identical to qwen2-vl before the release. So using qwen2-vl works for all models And sorry for a breaking change |
Thanks, no worries! I'll test a bit and then open PRs for the MLX repos. |
This issue has been automatically marked as stale because it has not had recent activity. If you think this still needs to be addressed please comment on this thread. Please note that issues that do not follow the contributing guidelines are likely to be ignored. |
System Info
Reproduction
I follow model instructions from here.
transformers
from GHQwen/Qwen2.5-VL-3B-Instruct
orQwen/Qwen2.5-VL-7B-Instruct
; I did not tested with othersExpected behavior
processor loads without exceptions
The text was updated successfully, but these errors were encountered: