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

[DeltaNet] Adds beta as a vector option #42

Merged
merged 6 commits into from
Aug 9, 2024

Conversation

hypnopump
Copy link
Contributor

Adds option to have beta as a headwise vector instead of simply a headwise scalar (for the recurrent kernel)

@yzhangcs
Copy link
Member

yzhangcs commented Aug 9, 2024

@hypnopump Hi, thank you for your contributions for improving deltanet, could you add some regression tests for the beta vector in https://github.com/sustcsonglin/flash-linear-attention/blob/main/tests/ops/test_delta.py

@yzhangcs yzhangcs force-pushed the recurrent_beta_vector branch from 950feeb to 8ab462d Compare August 9, 2024 16:54
@yzhangcs yzhangcs merged commit c0dde22 into fla-org:main Aug 9, 2024
1 check passed
@yzhangcs
Copy link
Member

yzhangcs commented Aug 9, 2024

@hypnopump Thanks~

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.

2 participants