forked from openvinotoolkit/openvino
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TRANSFROMATIONS] Add support for 'inputs_embeds' input in SDPAToPA (o…
…penvinotoolkit#27158) [TRANSFROMATIONS] Add support for 'inputs_embeds' input in SDPAToPA Add support for 'input_embeds' input in SDPAToPA transformation. The input is used in VLM instead of 'input_ids' in text-only models. The changes enable support of the SDPAToPA transformation for the following models: * llava-hf/llava-1.5-7b-hf * llava-hf/llava-v1.6-mistral-7b-hf * llava-hf/llava-v1.6-vicuna-7b-hf * llava-hf/llama3-llava-next-8b-hf * openbmb/MiniCPM-V-2_6 - Ticket: [CVS-156956](https://jira.devtools.intel.com/browse/CVS-156956) Signed-off-by: Andrii Staikov <andrii.staikov@intel.com> --------- Co-authored-by: Pawel Raasz <pawel.raasz@intel.com>
- Loading branch information
1 parent
58672c3
commit b87f635
Showing
5 changed files
with
201 additions
and
64 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
4 changes: 4 additions & 0 deletions
4
tests/model_hub_tests/transformation_tests/models/hf-tiny-random-vl-models-precommit
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
katuni4ka/tiny-random-llava-next,https://huggingface.co/katuni4ka/tiny-random-llava-next | ||
katuni4ka/tiny-random-minicpmv-2_6,https://huggingface.co/katuni4ka/tiny-random-minicpmv-2_6 | ||
katuni4ka/tiny-random-llava,https://huggingface.co/katuni4ka/tiny-random-llava | ||
katuni4ka/tiny-random-nanollava,https://huggingface.co/katuni4ka/tiny-random-nanollava,xfail,CVS-157416 |
This file contains 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
Oops, something went wrong.