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

fp32 or even fp64 support for cudnn flashattention #23560

Open
wangleiphy opened this issue Sep 11, 2024 · 1 comment
Open

fp32 or even fp64 support for cudnn flashattention #23560

wangleiphy opened this issue Sep 11, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@wangleiphy
Copy link

Now, jax.nn.dot_product_attentiononly supports fp16 or bf16 when implementation='cudnn', see

if q_dtype not in [jnp.bfloat16, jnp.float16]:

I am wondering whether is it possible to support fp32 or even fp64, that would be great for some application which requires numerical accuracy.

@wangleiphy wangleiphy added the enhancement New feature or request label Sep 11, 2024
@superbobry
Copy link
Member

CC @Cjkkkk

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants