Skip to content

[WebGPU] fix cache key of AttentionProbs/VxAttentionScore #24309

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

Merged
merged 2 commits into from
Apr 4, 2025

Conversation

fs-eire
Copy link
Contributor

@fs-eire fs-eire commented Apr 4, 2025

Description

fix the cache inconsistency of program AttentionProbs/VxAttentionScore

n_reps is already in uniforms so do not use it from hardcoded.

@fs-eire fs-eire added the ep:WebGPU ort-web webgpu provider label Apr 4, 2025
guschmue
guschmue previously approved these changes Apr 4, 2025
@fs-eire fs-eire merged commit 2e94c5a into microsoft:main Apr 4, 2025
71 of 84 checks passed
quic-zhaoxul pushed a commit to CodeLinaro/onnxruntime that referenced this pull request Apr 17, 2025
…24309)

### Description

fix the cache inconsistency of program AttentionProbs/VxAttentionScore

`n_reps` is already in uniforms so do not use it from hardcoded.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ep:WebGPU ort-web webgpu provider
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants