-
-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
[Bugfix] Quick fix to make Pixtral-HF load correctly again after 39e227c7ae. #11024
Conversation
👋 Hi! Thank you for contributing to the vLLM project. Once the PR is approved and ready to go, your PR reviewer(s) can run CI to test the changes comprehensively before merging. To run CI, PR reviewers can do one of these:
🚀 |
Sorry for breaking the model! I think a better solution would be to move this function into the |
Got the same error and found this PR. We should get this in ASAP |
Remove the extra check ensuring `is_pixtral` is available; apparently reasonable confidence that it'll be there on all relevant codepaths 🤷🏻 Co-authored-by: Isotr0py <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
After 39e227c, I was unable to start my Pixtral-HF model due to this traceback
Traceback
Quick search didn't show any open issues reporting this error yet.
This is a quick minimal fix that ensures
is_pixtral
only appears in thehf_inputs
once, adding it only in cases where it's not already intohf_inputs
by thepreprocess
function (as currently done invllm/vllm/model_executor/models/llava.py
Line 184 in d1c2e15
This gets my model started again and seems to be working fine.