-
Notifications
You must be signed in to change notification settings - Fork 27.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
Update notification service #17921
Update notification service #17921
Conversation
The documentation is not available anymore as the PR was closed or merged. |
To make this PR visible again, @LysandreJik . More context: this is mainly for past CI - the summary table(s) could be very long as there are many more test failures. Update: I will try to save a complete table as an artifacts, so we have it. |
b66277b
to
c070219
Compare
PR ready again for review. |
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.
Perfect, exciting to read that we're close to 0 tests failing and that we need to prepare for that 🤩
utils/notification_service.py
Outdated
with open( | ||
os.path.join(os.getcwd(), "test_failure_tables/model_failures_report.txt"), "w", encoding="UTF-8" | ||
) as fp: | ||
fp.write(model_failures_report) |
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.
Could this be reformatted? It's a bit hard to read right now :)
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.
Changed to :-)
transformers/utils/notification_service.py
Lines 324 to 326 in 5d3026f
file_path = os.path.join(os.getcwd(), "test_failure_tables/model_failures_report.txt") | |
with open(file_path, "w", encoding="UTF-8") as fp: | |
fp.write(model_failures_report) |
Perfect! |
Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
What does this PR do?
Let me run a dummy test before mergeA dummy run with very long blocks
https://github.com/huggingface/transformers/runs/7094507618?check_suite_focus=true