Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged #285

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion benchmarks/accelerate_opt/requirements.rocm.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 52 additions & 1 deletion benchmarks/huggingface/requirements.rocm.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

53 changes: 52 additions & 1 deletion benchmarks/timm/requirements.rocm.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

52 changes: 52 additions & 0 deletions benchmarks/torchvision/requirements.rocm.txt

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 23 additions & 0 deletions milabench/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,29 @@ def sort_by(key):
for key in all_keys
}
).transpose()

return df


@error_guard({})
def make_report(
summary,
compare=None,
html=None,
compare_gpus=False,
price=None,
title=None,
sources=None,
errdata=None,
weights=None,
):
if weights is None:
weights = dict()

df = make_dataframe(summary, compare, weights)

# Reorder columns
df = df[sorted(df.columns, key=lambda k: columns_order.get(k, 0))]

# Reorder columns
df = df[sorted(df.columns, key=lambda k: columns_order.get(k, 2000))]
Expand Down
Loading