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

Always show time range picker on benchmark dashboard #6235

Merged
merged 5 commits into from
Jan 31, 2025

Conversation

huydhn
Copy link
Contributor

@huydhn huydhn commented Jan 30, 2025

Fixes #6222

This is a minor tweak to always show time range picker on benchmark dashboard so that people can choose a larger window than 7 days when there is no data.

Testing

https://hud.pytorch.org/benchmark/llms?repoName=pytorch%2Fao shows nothing as nothing has been run in the last 7 days

https://torchci-git-fork-huydhn-fix-dashboard-no-da-e651c3-fbopensource.vercel.app/benchmark/llms?repoName=pytorch%2Fao at least show the option to increase the time range to show older data

@huydhn huydhn requested a review from yangw-dev January 30, 2025 03:57
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 10:03pm

/>
</Stack>
<Stack>
<>Loading {REPO_TO_BENCHMARKS[repoName].join(", ")}...</>
Copy link
Contributor

Choose a reason for hiding this comment

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

it can be a little confusing for loading statement, maybe something indicate no data is found/
"No record detected {REPO_TO_BENCHMARKS[repoName].join(", ")}, please select different time range"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah, this message is quite vague

@huydhn huydhn merged commit 501b943 into pytorch:main Jan 31, 2025
6 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.

Be able to extend the time range when there is no benchmark data within the default window
3 participants