linkedin / linkedin/Liger-Kernel

Moe kernel for latest transformers v5

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

@Ramshankar07 is already working on this.

Since Jan 25, 2026.

Dominant language
Python
Stars
6.6k
Forks
603
Avg merge
1d 20h
Merged PRs (30d)
47

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

Contributor guide

Open the contributing guide

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.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.