Skip to content
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] Clean up MiniCPM-V #6939

Merged
merged 25 commits into from
Jul 31, 2024
Merged

Conversation

HwwwwwwwH
Copy link
Contributor

@HwwwwwwwH HwwwwwwwH commented Jul 30, 2024

What has been changed?

  • Modify the support models of MiniCPMV. As the official MiniCPM-V-2 repo still doesn't support vllm. I create a repo of my own for temporarily using. I claim this in the doc for eliminating the confusions of this.
  • Using *Model for LLM part instead of *CausalModel. And delete the previously added code in *CausalModel. This make our code consistent with other VLMs.
  • Automatically infer version when it is not specified in the config. (fixes [Bug]: AttributeError: 'MiniCPMVConfig' object has no attribute 'version' #6814)

Copy link

👋 Hi! Thank you for contributing to the vLLM project.
Just a reminder: PRs would not trigger full CI run by default. Instead, it would only run fastcheck CI which consists a small and essential subset of CI tests to quickly catch errors. You can run other CI tests on top of default ones by unblocking the steps in your fast-check build on Buildkite UI.

Once the PR is approved and ready to go, please make sure to run full CI as it is required to merge (or just use auto-merge).

To run full CI, you can do one of these:

  • Comment /ready on the PR
  • Add ready label to the PR
  • Enable auto-merge.

🚀

Copy link
Member

@DarkLight1337 DarkLight1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By the way,

docs/source/models/supported_models.rst Outdated Show resolved Hide resolved
vllm/model_executor/models/minicpmv.py Outdated Show resolved Hide resolved
vllm/model_executor/models/minicpmv.py Outdated Show resolved Hide resolved
@HwwwwwwwH
Copy link
Contributor Author

HwwwwwwwH commented Jul 30, 2024

By the way,

I was formatting it.....

@HwwwwwwwH
Copy link
Contributor Author

@DarkLight1337 Plz be careful when checking the code of language model.

@HwwwwwwwH
Copy link
Contributor Author

/ready

@github-actions github-actions bot added the ready ONLY add when PR is ready to merge/full CI is needed label Jul 31, 2024
docs/source/models/supported_models.rst Outdated Show resolved Hide resolved
docs/source/models/supported_models.rst Outdated Show resolved Hide resolved
docs/source/models/supported_models.rst Outdated Show resolved Hide resolved
vllm/model_executor/models/minicpmv.py Outdated Show resolved Hide resolved
vllm/model_executor/models/minicpmv.py Outdated Show resolved Hide resolved
vllm/model_executor/models/minicpmv.py Outdated Show resolved Hide resolved
vllm/model_executor/models/minicpmv.py Outdated Show resolved Hide resolved
vllm/model_executor/models/minicpmv.py Outdated Show resolved Hide resolved
vllm/model_executor/models/minicpmv.py Outdated Show resolved Hide resolved
vllm/model_executor/models/na_vit.py Show resolved Hide resolved
@DarkLight1337 DarkLight1337 changed the title [Bugfix] fix bug for calculating image pos embedding for MiniCPM-V. [Bugfix] Clean up MiniCPM-V Jul 31, 2024
Copy link
Member

@DarkLight1337 DarkLight1337 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix!

@DarkLight1337 DarkLight1337 enabled auto-merge (squash) July 31, 2024 14:37
@DarkLight1337 DarkLight1337 merged commit 2f4e108 into vllm-project:main Jul 31, 2024
73 checks passed
@HwwwwwwwH HwwwwwwwH deleted the fix_bug branch August 9, 2024 08:45
kylesayrs pushed a commit to neuralmagic/vllm that referenced this pull request Aug 17, 2024
Co-authored-by: hezhihui <[email protected]>
Co-authored-by: Cyrus Leung <[email protected]>
Alvant pushed a commit to compressa-ai/vllm that referenced this pull request Oct 26, 2024
Co-authored-by: hezhihui <[email protected]>
Co-authored-by: Cyrus Leung <[email protected]>
Signed-off-by: Alvant <[email protected]>
KuntaiDu pushed a commit to KuntaiDu/vllm that referenced this pull request Nov 20, 2024
Co-authored-by: hezhihui <[email protected]>
Co-authored-by: Cyrus Leung <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready ONLY add when PR is ready to merge/full CI is needed
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: AttributeError: 'MiniCPMVConfig' object has no attribute 'version'
2 participants