-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add Scaled Dot Product Attention for FP8 #22670
base: main
Are you sure you want to change the base?
Conversation
@wenscarl is this ready to review? I can help with that. If possible, can you resolve the conflicts and run the pre-commit for the format consistency? |
It's ready for review and conflict fixed. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like this PR forked jax/jax/_src/cudnn
/fused_attention_stablehlo.py and then modified it for FP8. Does that sound right? If yes, could we instead add support for FP8 to jax/jax/_src/cudnn
/fused_attention_stablehlo.py directly?
Compact all changes into fused_attention_stablehlo.py |
db6e2b9
to
3ca52db
Compare
Merged into fused_attention_stablehlo.py. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
e2dde8c
to
2f5d884
Compare
gently ping @mattjj and @superbobry |
Hey @wenscarl, sorry for the silence. I'm a bit swamped this week, but I will try to look through the PR over the weekend or first thing next week. |
Scaled Dot Product Attention for FP8. @kaixih @zhangqiaorjc