Automating benchmark testing with every pr merged.

オープン
#746 コメント 0 件 リアクション 4 件 担当者 1 名 GitHub で見る

メンテナーはふだん 3 日以内に返信

@Manan17 がすでに取り組んでいます。

2025年6月6日 から。

評価

この issue はまだ評価されていません。

説明

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

主要言語
Python
スター
6.7k
フォーク
673
平均マージ
4日 20時間
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

linkedin/Liger-Kernel のほかの issue

linkedin/Liger-Kernel の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。