Lightning-AI / Lightning-AI/lightning-thunder

Automated Hugging Face transformers coverage testing

Open
#2,023 4 comments 0 reactions 2 assignees View on GitHub

@k223kim is already working on this.

Since May 15, 2025.

hf-transformers lightning-l1 program-coverage
Dominant language
Python
Stars
1.5k
Forks
121
PR merge metrics
No merged PRs in 30d

Description

We want to systematically assess where we are w.r.t. covering HF transformers cases.

- we want automated e2e tests, maybe you can re-use some of #1984 for how to launch them automatically.
- we want to use the latest version of transformers,
- initially we only run foward, later we need to test both inference (incl static kvcache) and training (fw + bw),
- This is for testing + coverage reporting, not for fixing nor performance!
- Let's start with 10-ish models. (there is a list internally, but I don't know if it is public, yet)

Afterwards, we want to file issues for errors we hit and also look at whether the error messages are OK or need improvement.

Please reach out to Teja Pulagam (OSS contributor) to collaborate.

You could use the initial phases of the "decomposed" jit:

https://github.com/Lightning-AI/lightning-thunder/blob/3aa706a92092738e24a3f9dc08c96743646105e5/thunder/tests/test_core.py#L3216

Contributor guide

No contributing guide indexed for this repository

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.