We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
the general case of attention is (using annotations from jaxtyping)
q: Float["lq d"] k: Float["lkv d"] v: Float["lkv o"] mask: Bool["lq lkv"] returns: Float["lq o"]
but it looks like right now this library only supports a 1 dimensional mask?
The text was updated successfully, but these errors were encountered:
@GallagherCommaJack at the moment, it only supports key masking
generalized 2d masking would defeat the purpose of flash attention, as you incur the quadratic cost
Sorry, something went wrong.
No branches or pull requests
the general case of attention is (using annotations from jaxtyping)
but it looks like right now this library only supports a 1 dimensional mask?
The text was updated successfully, but these errors were encountered: