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

Add platform (arch) for ExecuTorch dashboard #6234

Merged
merged 6 commits into from
Jan 31, 2025

Conversation

huydhn
Copy link
Contributor

@huydhn huydhn commented Jan 30, 2025

Address part of pytorch/executorch#7986

The historical context here is that the older schema for benchmark database didn't have a separate columns for device, i.e. cpu, and arch, i.e. x86_64. So, they are bundle together into a single one called deviceArch.

This PR splits this field into device and arch field behind the scene, but keeps the display name in the same format, i.e. Apple iPhone 15 (iOS 18.0) to maintain the same UX, which allows me to add a new platform (arch) dropdown list for ExecuTorch. The list has only 3 options Android and iOS and All Platforms, and only one can be selected at a time (this is the part that fixes pytorch/executorch#7986)

This also applies lint to these queries and fixes a bug in which sqlfluff doesn't recognize the configuration file at .sqlfluff

I found that https://mui.com/x/react-data-grid/pagination/ only allows up to 100 rows before enforcing pagination. Having more requires the paid pro version.

Testing

https://torchci-git-fork-huydhn-tweak-et-dashboard-fbopensource.vercel.app/benchmark/llms?repoName=pytorch%2Fexecutorch shows a new platform dropdown list

Copy link

vercel bot commented Jan 30, 2025

@huydhn is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@facebook-github-bot facebook-github-bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 30, 2025
Copy link

vercel bot commented Jan 30, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
torchci ✅ Ready (Inspect) Visit Preview Jan 31, 2025 8:43pm

Copy link

@guangy10 guangy10 left a comment

Choose a reason for hiding this comment

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

Looks great! Thanks for improving the UX!

@guangy10
Copy link

I found that https://mui.com/x/react-data-grid/pagination/ only allows up to 100 rows before enforcing pagination.

I'm okay with pagination. If users have specific preference we can make a request for it later. To me, as a users, I think I can efficiently zoom in to the model/backend/platform that I want to take a close look from the main page

@huydhn huydhn merged commit 1bc53d7 into pytorch:main Jan 31, 2025
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[DevX] Commits comparison via dashboard is misleading
3 participants