-
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?
Yes. I will refactor changes to be in fused_attention_stablehlo.py |
accc056
to
db6e2b9
Compare
Merged into fused_attention_stablehlo.py. |
Scaled Dot Product Attention for FP8. @kaixih @zhangqiaorjc