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

draft #2

Closed
wants to merge 2 commits into from
Closed

draft #2

wants to merge 2 commits into from

Conversation

zaixing-wang
Copy link
Owner

@zaixing-wang zaixing-wang commented Jan 2, 2025

  1. change gws from (x, x, subgroup_size) to (x, x, head_size), lws from (1, 1, subgroup_size) to (1, 1, head_size)
  2. use max_logits_u_exp_sum_slm to replace max_logit and exp_sum to save shared_local_memory

@zaixing-wang zaixing-wang force-pushed the wzx_sdpa_softmax branch 2 times, most recently from 3d1283d to 8a6cc62 Compare January 6, 2025 08:57
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.

1 participant