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

[EP Perf] Extension to post benchmark perf from local devices #24236

Merged
merged 6 commits into from
Apr 9, 2025

Conversation

yf711
Copy link
Contributor

@yf711 yf711 commented Mar 28, 2025

Description

This script can upload local perf log/csv to DB, which can be used as EP Perf Dashboard external data source.
(Make sure the csv/log-parsing logic match the targeting DB table's schema )

Usage:

  • To post csv to db:
    python parse_post_perf.py --kusto-table="<table_name>" --kusto-conn="<db_link>" --kusto-db="<dashboard_xyz>" --upload-csv="<path\to\data.csv>"
  • To parse log from mobile perf log and post to db:
    python parse_post_perf.py --kusto-table="<table_name>" --kusto-conn="<db_link>" --kusto-db="<dashboard_xyz>" --parse_mobile_perf --log-file="<path/to/mobile_model_benchmark.log>" --model="<model_name>" --device-id="<device_name>" --commit-id="<ort_commit_id>" --ep="<test_backend>"

Motivation and Context

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can commit the suggested changes from lintrunner.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can commit the suggested changes from lintrunner.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can commit the suggested changes from lintrunner.

@yf711 yf711 marked this pull request as ready for review April 7, 2025 18:41
@yf711 yf711 requested a review from vraspar April 7, 2025 18:42
Copy link
Contributor

@vraspar vraspar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! Looks good to me.

@yf711 yf711 merged commit 6ba73a1 into main Apr 9, 2025
87 of 89 checks passed
@yf711 yf711 deleted the yifanl/ep_perf_ext branch April 9, 2025 19:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants