-
-
Notifications
You must be signed in to change notification settings - Fork 12.1k
Small fix for Command-A-Vision #23268
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
Conversation
Signed-off-by: donglu <donglu@cohere.com>
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.
Code Review
This pull request refactors the initialization of the Cohere2VisionForConditionalGeneration model to be more robust. Instead of hardcoding the language model architecture as ["Cohere2ForCausalLM"], the change now dynamically reads the architecture from the config.text_config.architectures attribute. This is a good improvement, making the model more flexible and correctly relying on the provided configuration. The change is correct and I have no further suggestions.
|
👋 Hi! Thank you for contributing to the vLLM project. 💬 Join our developer Slack at https://slack.vllm.ai to discuss your PR in #pr-reviews, coordinate on features in #feat- channels, or join special interest groups in #sig- channels. Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run 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 either: Add 🚀 |
Signed-off-by: donglu <donglu@cohere.com> Signed-off-by: Duncan Moss <djm.moss@gmail.com>
Signed-off-by: donglu <donglu@cohere.com>
Signed-off-by: donglu <donglu@cohere.com>
Signed-off-by: donglu <donglu@cohere.com> Signed-off-by: Xiao Yu <xiao.yu@amd.com>
Signed-off-by: donglu <donglu@cohere.com>
Signed-off-by: donglu <donglu@cohere.com>
Signed-off-by: donglu <donglu@cohere.com>
Signed-off-by: donglu <donglu@cohere.com>
Purpose
Read text model architecture from config
Test Plan
Test Result
(Optional) Documentation Update
Essential Elements of an Effective PR Description Checklist
supported_models.mdandexamplesfor a new model.