1. 30 Jan, 2025 1 commit
  2. 18 Dec, 2024 1 commit
    • Luc Georges's avatar
      feat: add `benchmarks_entrypoint.py` (#34495) · 9a94dfe1
      Luc Georges authored
      * feat: add `benchmarks_entrypoint.py`
      
      Adding `benchmarks_entrypoint.py` file, which will be run from the
      benchmarks CI.
      
      This python script will list all python files from the `benchmark/`
      folder and run the included `run_benchmark` function, allowing people to
      add new benchmarks scripts.
      
      * feat: add `MetricsRecorder`
      
      * feat: update dashboard
      
      * fix: add missing arguments to `MetricsRecorder`
      
      * feat: update dash & add datasource + `default.yml`
      
      * fix: move responsibility to create `MetricsRecorder` in bench script
      
      * fix: update incorrect datasource UID
      
      * fix: incorrect variable values
      
      * debug: benchmark entrypoint script
      
      * refactor: update log level
      
      * fix: update broken import
      
      * feat: add debug log in `MetricsRecorder`
      
      * debug: set log level to debug
      
      * fix: set connection `autocommit` to `True`
      9a94dfe1
  3. 31 Oct, 2024 1 commit
  4. 28 Oct, 2024 1 commit
  5. 23 Oct, 2024 1 commit
  6. 11 Oct, 2024 1 commit
    • Luc Georges's avatar
      refactor: benchmarks (#33896) · 144852fb
      Luc Georges authored
      
      * refactor: benchmarks
      
      Based on a discussion with @LysandreJik & @ArthurZucker, the goal of
      this PR is to improve transformers' benchmark system.
      
      This is a WIP, for the moment the infrastructure required to make things
      work is not ready. Will update the PR description when it is the case.
      
      * feat: add db init in benchmarks CI
      
      * fix: pg_config is missing in runner
      
      * fix: add psql to the runner
      
      * fix: connect info from env vars + PR comments
      
      * refactor: set database as env var
      
      * fix: invalid working directory
      
      * fix: `commit_msg` -> `commit_message`
      
      * fix: git marking checked out repo as unsafe
      
      * feat: add logging
      
      * fix: invalid device
      
      * feat: update grafana dashboard for prod grafana
      
      * feat: add `commit_id` to header table
      
      * feat: commit latest version of dashboard
      
      * feat: move measurements into json field
      
      * feat: remove drop table migration queries
      
      * fix: `torch.arrange` -> `torch.arange`
      
      * fix: add missing `s` to `cache_position` positional argument
      
      * fix: change model
      
      * revert: `cache_positions` -> `cache_position`
      
      * fix: set device for `StaticCache`
      
      * fix: set `StaticCache` dtype
      
      * feat: limit max cache len
      
      * fix script
      
      * raise error on failure!
      
      * not try catch
      
      * try to skip generate compilation
      
      * update
      
      * update docker image!
      
      * update
      
      * update again!@
      
      * update
      
      * updates
      
      * ???
      
      * ??
      
      * use `torch.cuda.synchronize()`
      
      * fix json
      
      * nits
      
      * fix
      
      * fixed!
      
      * f**k
      
      * feat: add TTNT panels
      
      * feat: add try except
      
      ---------
      
      Co-authored-by: default avatarArthur Zucker <arthur.zucker@gmail.com>
      144852fb
  7. 03 Oct, 2024 1 commit
  8. 22 Aug, 2024 1 commit
  9. 05 Jun, 2024 1 commit