Skip to content

Add fp8_attention example and unit test #318

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

yf225
Copy link
Contributor

@yf225 yf225 commented Jul 14, 2025

stack-info: PR: #318, branch: yf225/stack/26
Comment on lines +141 to +142
q_fp8, k_fp8, v_fp8, shape = prepare_fp8_attention_inputs(q, k, v)
batch, heads, seq_len, head_dim = shape
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to benchmark this? The PyTorch input prepare ins't really helion work.

@jansel
Copy link
Contributor

jansel commented Jul 15, 2025

Fix merge conflict

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Meta Open Source bot.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants