Skip to content

Conversation

@xiaofeihan1
Copy link
Contributor

@xiaofeihan1 xiaofeihan1 commented Oct 30, 2025

Now onnxruntime have support GQA fused with RoPE, so we need to change the code to enable it by default.

Copy link
Contributor

@qjia7 qjia7 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add @kunal-vaishnavi review

@qjia7 qjia7 requested a review from kunal-vaishnavi October 30, 2025 06:44
@kunal-vaishnavi kunal-vaishnavi merged commit 240fa1b into main Oct 30, 2025
15 checks passed
@kunal-vaishnavi kunal-vaishnavi deleted the xiaofeihan/builder-webgpu-RoPE branch October 30, 2025 06:45
@guschmue
Copy link
Contributor

guschmue commented Nov 13, 2025

onnxruntime / main supports this but no release does support this.
jsep might not be able to run those models.
webgpu-ep should fall back to a generic gqa path that is a little slower than FA2 path

@qjia7
Copy link
Contributor

qjia7 commented Nov 13, 2025

onnxruntime / main supports this but no release does support this. jsep might not be able to run those models. webgpu-ep should fall back to a generic gqa path that is a little slower than FA2 path

Is it better if we add a flag to enable RotaryEmbedding in GQA and set it to false by default? For the jsep path, it seems that we won't support it. So using a flag may be a solution.

@xiaofeihan1
Copy link
Contributor Author

It seems that jsep support ROE in GQA. [WebGPU/JSEP] Support group query attention do_rotary attribute.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants