-
Notifications
You must be signed in to change notification settings - Fork 2.8k
fix: remove dependency on latest transformers impl #3635
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
fix: remove dependency on latest transformers impl #3635
Conversation
Thanks for the fix. but I am seeing another error:
when using latest
|
Please use the transformers version suggested by sglang, thanks |
2db1cc6
to
95e4361
Compare
I will give credit to Chen-0210 also. @Chen-0210 |
I've tried with a workaround as this PR with transformers==4.49.0: #3792 |
@panpan0000 I don't think you can work with |
Trying to understand the nature of the issue, looks like in new transformers version if it already has the Qwen2VL image processors.
so the question is why do we have our own versions here in sglang. If it's expected, we can just register and accept that exist_ok?
|
Motivation
Current
is_valid_list_of_images
import in qwen2_5_vl_config.py relies on latest transformers, leading to an import issue shown hereModifications
is_valid_list_of_images
copied from transformersChecklist