Moe kernel for latest transformers v5

Open
#958 4 comments 5 reactions 1 assignee View on GitHub

Maintainers usually reply within 3 days

@Ramshankar07 is already working on this.

Since Jan 25, 2026.

Assessment

This issue has not been assessed yet.

Description

🐛 Describe the bug

experts will no longer be just a ModuleList of MLP layers. It's time to write moe kernel for moe layers!

https://github.com/huggingface/transformers/pull/41580/files#diff-0855b77fc27ad9449158a1c74953f909b011c00de7125f7c8e68d0ff209c092aR218

Reproduce

No response

Versions

transformers v5

Dominant language
Python
Stars
6.7k
Forks
673
Avg merge
4d 20h
Merged PRs (30d)
19

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from linkedin/Liger-Kernel

All issues in linkedin/Liger-Kernel

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.