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

fix bug: input q/k/v should not be modified by operator #20555

Merged
merged 1 commit into from
May 6, 2024

Conversation

yufenglee
Copy link
Member

@yufenglee yufenglee commented May 3, 2024

Description

Operator should not modify input tensors because they are managed by framework and may be reused by other nodes.

Motivation and Context

@yufenglee yufenglee marked this pull request as ready for review May 3, 2024 23:38
@sophies927 sophies927 added the triage:approved Approved for cherrypicks for release label May 4, 2024
@yufenglee yufenglee merged commit 05b4ad2 into main May 6, 2024
95 checks passed
@yufenglee yufenglee deleted the yufeng/gqa_cpu branch May 6, 2024 23:05
TedThemistokleous pushed a commit to TedThemistokleous/onnxruntime that referenced this pull request May 7, 2024
)

### Description
<!-- Describe your changes. -->
Operator should not modify input tensors because they are managed by
framework and may be reused by other nodes.


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
@yihonglyu yihonglyu added the cherry-picked Cherry-picked for a cherrypicks branch label May 9, 2024
yihonglyu pushed a commit that referenced this pull request May 9, 2024
### Description
<!-- Describe your changes. -->
Operator should not modify input tensors because they are managed by
framework and may be reused by other nodes.


### Motivation and Context
<!-- - Why is this change required? What problem does it solve?
- If it fixes an open issue, please link to the issue here. -->
@yihonglyu yihonglyu added the rel-merged Cherrypicks merged into release label May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cherry-picked Cherry-picked for a cherrypicks branch rel-merged Cherrypicks merged into release release:1.18.0 triage:approved Approved for cherrypicks for release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants