Skip to content

Commit

Permalink
Add key for system metadata for benchmarks (#404)
Browse files Browse the repository at this point in the history
  • Loading branch information
scotts authored Nov 20, 2024
1 parent afc1647 commit 789cead
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions benchmarks/decoders/generate_readme_data.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,12 +85,13 @@ def main() -> None:
)
df_data.append(
{
"cpu_count": os.cpu_count(),
"system": platform.system(),
"machine": platform.machine(),
"processor": platform.processor(),
"python_version": str(platform.python_version()),
"is_cuda_available": str(torch.cuda.is_available()),
"system_metadata": {
"cpu_count": os.cpu_count(),
"system": platform.system(),
"machine": platform.machine(),
"python_version": str(platform.python_version()),
"is_cuda_available": str(torch.cuda.is_available()),
}
}
)

Expand Down

0 comments on commit 789cead

Please sign in to comment.