Skip to content

[kernels] Remove the last kernel from transformers codebase#41664

Merged
MekkCyber merged 10 commits intomainfrom
rm_last_kernel
Dec 11, 2025
Merged

[kernels] Remove the last kernel from transformers codebase#41664
MekkCyber merged 10 commits intomainfrom
rm_last_kernel

Conversation

@MekkCyber
Copy link
Copy Markdown
Contributor

What does this PR do?

Removes the mamba-ssm kernel for falcon-mamba models and uses the kernel from the hub : https://huggingface.co/kernels-community/mamba-ssm

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Copy Markdown
Collaborator

@ArthurZucker ArthurZucker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm but we are duplicating at a lot of places !

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we try to import only once at the top of the file please?

@romitjain
Copy link
Copy Markdown
Contributor

@MekkCyber is the mamba_ssm kernels working for you? I am running into this issue - state-spaces/mamba#807

@github-actions
Copy link
Copy Markdown
Contributor

[For maintainers] Suggested jobs to run (before merge)

run-slow: falcon_mamba, mamba

@MekkCyber MekkCyber changed the title [kernels] Final kernel removal 🥳 [kernels] Remove the last kernel from transformers codebase Dec 11, 2025
@MekkCyber MekkCyber merged commit de055d6 into main Dec 11, 2025
26 checks passed
@MekkCyber MekkCyber deleted the rm_last_kernel branch December 11, 2025 14:31
SangbumChoi pushed a commit to SangbumChoi/transformers that referenced this pull request Jan 23, 2026
* fix bitnet

* finallyyy

* rm the kernel folder !

* fix revision

* fix

* fix

* revert
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.

4 participants