-
Notifications
You must be signed in to change notification settings - Fork 27.4k
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
Refactor daily CI workflow #30012
Refactor daily CI workflow #30012
Conversation
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.
🔥 Let's not forget to update slack channel ids, but LGTM
# Remove some entries in `additional_files` if they are not concerned. | ||
test_name = None | ||
job_name = os.getenv("CI_TEST_JOB") | ||
if job_name in job_to_test_map: | ||
test_name = job_to_test_map[job_name] | ||
additional_files = {k: v for k, v in additional_files.items() if k == test_name} |
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.
were we testing additional things in some jobs?
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.
No. That additional
means the test jobs that are not the modeling test jobs
: deepspeed, quantization, example, pipeline test jobs.
Make final commit(s) to clean up the channels stuff - all channels are created and used in the new workflow file. Will merge once CircleCI is done |
* separate jobs * separate jobs * use channel name directly instead of ID * use channel name directly instead of ID * use channel name directly instead of ID --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
* separate jobs * separate jobs * use channel name directly instead of ID * use channel name directly instead of ID * use channel name directly instead of ID --------- Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
What does this PR do?
This is a re-work of #29197. The main difference is: in this new work, we
self-scheduled.yml
)self-scheduled-caller.yml
) as the caller to the above one (self-scheduled.yml
)self-scheduled.yml
The reasons of the re-work:
push-ci
,amd-ci
x 2,nightly-ci
,past-ci
etc)Once approved and merged, the same refactorization will be applied to other workflow files.
I have made sure it runs successfully as expected: https://github.com/huggingface/transformers/actions/runs/8524250043
(please don't look at the diagram - look the left side instead)