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

Fix attention backwards pass #25647

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Fix attention backwards pass #25647

wants to merge 2 commits into from

Conversation

Rifur13
Copy link
Collaborator

@Rifur13 Rifur13 commented Dec 20, 2024

This PR fixes the backwards pass for non-default block sizes, and a bug when causal=True. Also made a small refactoring to pass around a BlockSizes object with all the tunable params.

@Rifur13 Rifur13 requested a review from sharadmv December 20, 2024 20:19
@Rifur13 Rifur13 changed the title Fix backwards attention pass Fix attention backwards pass Dec 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant