Skip to content

Commit 789cead

Browse files
authored
Add key for system metadata for benchmarks (#404)
1 parent afc1647 commit 789cead

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

benchmarks/decoders/generate_readme_data.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -85,12 +85,13 @@ def main() -> None:
8585
)
8686
df_data.append(
8787
{
88-
"cpu_count": os.cpu_count(),
89-
"system": platform.system(),
90-
"machine": platform.machine(),
91-
"processor": platform.processor(),
92-
"python_version": str(platform.python_version()),
93-
"is_cuda_available": str(torch.cuda.is_available()),
88+
"system_metadata": {
89+
"cpu_count": os.cpu_count(),
90+
"system": platform.system(),
91+
"machine": platform.machine(),
92+
"python_version": str(platform.python_version()),
93+
"is_cuda_available": str(torch.cuda.is_available()),
94+
}
9495
}
9596
)
9697

0 commit comments

Comments
 (0)