Skip to content

Commit

Permalink
update leaderboard collection to support more hardware
Browse files Browse the repository at this point in the history
  • Loading branch information
baptistecolle committed Sep 4, 2024
1 parent a59e554 commit a193748
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions llm_perf/update_llm_perf_leaderboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

def gather_benchmarks(subset: str, machine: str, backend: str, hardware_type: str):
"""
Gather the benchmarks for a given subset and machine
Gather the benchmarks for a given machine
"""
perf_repo_id = PERF_REPO_ID.format(subset=subset, machine=machine, backend=backend, hardware_type=hardware_type)
snapshot = snapshot_download(repo_type=REPO_TYPE, repo_id=perf_repo_id, allow_patterns=["**/benchmark.json"])
Expand All @@ -36,7 +36,7 @@ def gather_benchmarks(subset: str, machine: str, backend: str, hardware_type: st

def update_perf_dfs():
"""
Update the performance dataframes for all subsets and machines
Update the performance dataframes for all machines
"""
hardware_configs = load_hardware_configs("llm_perf/hardware.yml")

Expand Down Expand Up @@ -66,5 +66,5 @@ def update_llm_df():


if __name__ == "__main__":
# update_llm_df()
update_llm_df()
update_perf_dfs()

0 comments on commit a193748

Please sign in to comment.