[OpenVINO] Support openbmb/MiniCPM-o-4_5 for image-text-to-text task#1797
Open
mlukasze wants to merge 4 commits into
Open
[OpenVINO] Support openbmb/MiniCPM-o-4_5 for image-text-to-text task#1797mlukasze wants to merge 4 commits into
mlukasze wants to merge 4 commits into
Conversation
- Update MiniCPMOOpenVINOConfig MAX_TRANSFORMERS_VERSION to 4.57.6 to support MiniCPM-o-4_5 which requires transformers 4.49-4.57 - Add tiny model creation script for CI testing - MiniCPM-o-4_5 uses same architecture as 2_6 (minicpmo model_type, SigLIP vision encoder, same sub-module layout) - Audio modality is NOT exported (out of scope per existing design) Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1df94f0 to
28ee507
Compare
rkazants
reviewed
Jun 17, 2026
rkazants
approved these changes
Jun 17, 2026
|
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
…2-4.57.6 MAX_TRANSFORMERS_VERSION for minicpmo was bumped to 4.57.6, so minicpmo is now supported on transformers 4.43-4.57.6 (not skipped). Update the expected skipped-model set to only include minicpmo when transformers > 4.57.6. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Collaborator
|
@mlukasze, please rebase the branch to make CI green |
Contributor
Author
done |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Bumps
MiniCPMOOpenVINOConfig.MAX_TRANSFORMERS_VERSIONfrom4.51.3to4.57.6to extend support foropenbmb/MiniCPM-o-4_5, which requirestransformers>=4.49. No architecture changes are needed — MiniCPM-o-4_5 uses the samemodel_type: minicpmoas MiniCPM-o-2_6.Installation instructions
pip install git+https://github.com/mlukasze/optimum-intel.git@enable/openbmb-MiniCPM-o-4_5 pip install -U openvino openvino-tokenizers nncf pip install "transformers>=4.49,<5.0"Exporting cmd-line
optimum-cli export openvino -m openbmb/MiniCPM-o-4_5 ov_minicpmo_4_5_fp16 \ --task image-text-to-text --trust-remote-codeInference script
Before submitting