-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Upload (daily) CI results to Hub #31168
Conversation
@@ -19,6 +19,8 @@ on: | |||
required: true | |||
type: string | |||
|
|||
env: | |||
TRANSFORMERS_CI_RESULTS_UPLOAD_TOKEN: ${{ secrets.TRANSFORMERS_CI_RESULTS_UPLOAD_TOKEN }} |
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.
This is a new fine grained token with write access to hf-internal-testing/transformers_daily_ci
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.
Cool!
target_workflow = "huggingface/transformers/.github/workflows/self-scheduled-caller.yml@refs/heads/main" | ||
is_scheduled_ci_run = os.environ.get("CI_WORKFLOW_REF") == target_workflow |
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.
Only upload the results for the runs triggered by the scheduled event .
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
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.
Awesome!
Thanks for the review. I will merge once I applied the same changes to
(sorry, I forget this file quite frequently) |
* build * build * build * build * fix * fix * fix --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
What does this PR do?
Let's start to upload the results to a Hub dataset hf-internal-testing/transformers_daily_ci and use this dataset to build a visualization dashboard 🚀 !
So far I take the advantage of the daily CI workflow run - upload directly from there instead of fetching the finished workflow run afterward.
I didn't change any format in the raw reports (but processed in the workflow), but I believe it contains everything required to perform visualization/analysis.
A dummy run gives hf-internal-testing/transformers_daily_ci