-
Notifications
You must be signed in to change notification settings - Fork 54
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
Move host benchmarks to a subdirectory for easier distinction #3887
base: main
Are you sure you want to change the base?
Conversation
Review updated until commit 06c353a Description
Changes walkthrough 📝
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, but let's rename the directory to benchmarks/python/host/
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think import benchmarks
from global space could be problematic. For example, pytorch used to accidentally add their benchmarks/
folder to the global package and import benchmarks.python.core
here would cause import error (and it did). Let's use relative import instead.
Another concern I have is if moving the benchmark script would cause any changes in benchmark JSON output?
Oh that's a good point. I will change it.
Can you elaborate? I can check if there are any paths in the JSON output that will be changed. If this is too much overhead for the dashboard, we can only rename benchmarks to have |
Yes, that's the concern. I guess there aren't paths in the JSON output but let's double check. Dashboard visualization should be fine. We may need to update the CI script that runs benchmark. Currently it runs |
I just verified that there's no change in the path in generated pytest benchmark JSON file. I've also updated the CI script to recursively search Once the relative import issue is resolved, we're ready to go. |
!build |
Thanks, Xiao. |
No description provided.