Automating benchmark testing with every pr merged.

Aperta
#746 0 commenti 4 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 3 giorni

@Manan17 ci sta già lavorando.

Dal 6/6/2025.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Hello,
So we discussed an approach to solve this:
Running all the benchmarks take less than an hour. I tried it on a single H100 GPU and it took me 55 minutes.
So, what we thought that we can run the benchmark scripts after every pr is merged to the main repo using the CI.
Similar to what we do for docs, we will run a the benchmark script after anything is pushed to the main branch of the repo.
Initially the data of the benchmark will be stored in the gh-pages branch. Once the script is run (make run-benchmarks) the new data will be appended to the csv file in the gh-pages branch with another column which would be github-commit-hash. So now, for every commit we will have the benchmark data, and it will be visualized using github pages on for example: https://linkedin.github.io/Liger-Kernel/benchmarks. Using javascript the data will be visualized using charts just like (https://hud.pytorch.org/benchmark/compilers). There would be filters and user can see benchmark improvements for speed and memory.
Let me know what you guys think about this. @Tcc0403 @yundai424 @lancerts

Lingua principale
Python
Stelle
6.7k
Fork
673
Merge medio
4g 20h
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di linkedin/Liger-Kernel

Tutte le issue di linkedin/Liger-Kernel

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.