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

[bug] Fix set tensor name for attention_mask #352

Conversation

praasz
Copy link
Contributor

@praasz praasz commented Dec 16, 2024

Description:

  • Fix set attention_mask tensor name as model output tensor name.
  • When is required that tensor name(s) should be model output tensor names they should be set to Result` node or OV Model output tensor. The OV pre-post-processor for model v11 will not move the tensor names. If tensor names is not assigned to Result then it will be kept on that node when additional layer(s) added between Node and Result.

Related PR:

@ilya-lavrenov ilya-lavrenov added this pull request to the merge queue Dec 16, 2024
Merged via the queue into openvinotoolkit:master with commit bcfd3ed Dec 16, 2024
18 checks passed
github-merge-queue bot pushed a commit to openvinotoolkit/openvino.genai that referenced this pull request Dec 16, 2024
###  Description:
- Fix the GENAI test after PPP don't move Node's name and tensor names.

### Related PRs:
- openvinotoolkit/openvino_tokenizers#352
- openvinotoolkit/openvino#28069

---------

Signed-off-by: Raasz, Pawel <[email protected]>
github-merge-queue bot pushed a commit to openvinotoolkit/openvino.genai that referenced this pull request Dec 16, 2024
###  Description:
- Fix the GENAI test after PPP don't move Node's name and tensor names.

### Related PRs:
- openvinotoolkit/openvino_tokenizers#352
- openvinotoolkit/openvino#28069

---------

Signed-off-by: Raasz, Pawel <[email protected]>
github-merge-queue bot pushed a commit to openvinotoolkit/openvino.genai that referenced this pull request Dec 16, 2024
###  Description:
- Fix the GENAI test after PPP don't move Node's name and tensor names.

### Related PRs:
- openvinotoolkit/openvino_tokenizers#352
- openvinotoolkit/openvino#28069

---------

Signed-off-by: Raasz, Pawel <[email protected]>
@praasz praasz deleted the bugfix/update-set-attention-mask-tensor-name branch December 17, 2024 05:46
@ilya-lavrenov ilya-lavrenov added the bug Something isn't working label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working tokenizers_py
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants