-
Notifications
You must be signed in to change notification settings - Fork 34.4k
馃毃 [Kernels] Refactor all linear attn models & native kernels fallback
#47630
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
48 commits
Select commit
Hold shift + click to select a range
f438a2e
kernel native
Cyrilvallez 7c1335b
fix warning
Cyrilvallez f8ff0db
have to fix other modular to be coherent
Cyrilvallez 9a8127e
remove useless
Cyrilvallez 72b45ca
use native lib as well
Cyrilvallez 54d80df
modular
Cyrilvallez d2beaf6
combine them
Cyrilvallez c256c47
doc
Cyrilvallez 30e0ff7
ignore kwargs, allow og
vasqu c57b520
Merge remote-tracking branch 'upstream/main' into kernels-fallback
vasqu 38c2ece
fix
vasqu 7788cac
gdn like paths (missing conv of olmo hybrid)
vasqu cf49de6
olmo hybrid fused conv style
vasqu 73db89b
fix
vasqu 8896696
fix
vasqu d3b27a6
poc mamba2, kernel must compile but torch seems to match
vasqu f0aa581
kernels match --> hf kernels will be needed
vasqu 263f307
style
vasqu a189da9
quick fixes
vasqu 8134d38
Merge remote-tracking branch 'upstream/main' into kernels-fallback
vasqu 4ebeb11
mamba2 works
vasqu 1786c75
mamba2 suite of models
vasqu 0eca0d0
oops
vasqu 82bfade
conv1ds across other models
vasqu 520e340
let's try this
vasqu f69acfe
mamba base implementation
vasqu bfbf9f1
fixups as per review comments
vasqu 511d4a6
fixup mamba tests and other issues
vasqu 3ee52c3
make no shape check by default (single padded sample should also work)
vasqu 34051c4
remove todo
vasqu c3a6c98
propogate mamba1
vasqu fcf7292
style
vasqu 3823bcb
fix mambapy + enable on jamba
vasqu 380e5fc
zamba1
vasqu ad78e09
style
vasqu 3c51e11
fix early cast (leads to non fp32 norm)
vasqu b05fb52
fix padding free path
vasqu 98f62d4
fix offload
vasqu 66cff33
Merge remote-tracking branch 'upstream/main' into kernels-fallback
vasqu 2ec940b
Merge remote-tracking branch 'upstream/main' into kernels-fallback
vasqu 9b266aa
bump kernels
vasqu c4b785c
remove todo
vasqu c85e622
avoid onnx export and fix mamba2 test
vasqu 2b4fd75
fix bamba test
vasqu 2e485f3
update falcon mamba - aligned with all other devices
vasqu d81829f
oops
vasqu 9dabdf2
Merge branch 'main' into kernels-fallback
vasqu 4c1864d
adress review
vasqu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.