8000 CI result inspector util by ivarflakstad · Pull Request #37976 · huggingface/transformers · GitHub
[go: up one dir, main page]

Skip to content

CI result inspector util #37976

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

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

ivarflakstad
Copy link
Member
@ivarflakstad ivarflakstad commented May 6, 2025

This util lets us compare different CI run results. Can be used to find tests that are failing on one specific architecture, or find tests that are failing on multiple/all architectures (in which case perhaps the test isn't working at all).

Example usage:
python3 utils/ci_results_inspector.py -a 14837567374 -b 14850580148 --output_dir ~/transformers-ci --token <...>
This will print all the tests that are failing in 14837567374 that are not failing in 14837567374.

You can also specify the operator used, where you can either use | for OR, or & for AND operations.
python3 utils/ci_results_inspector.py -op '&' -a 14837567374 -b 14850580148 --output_dir ~/transformers-ci --token <...>
This will print all tests that are failing in both runs.

Bring your own token 🫡

@HuggingFaceDocBuilderDev

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.

@Rocketknight1
Copy link
Member

cc @ydshieh!

@ivarflakstad
Copy link
Member Author

Oh yeah you're welcome to have a look, but I don't think of this PR as done yet. Hence the long draft status :)

@ydshieh
Copy link
Collaborator
ydshieh commented May 14, 2025

I am also thinking to improve these kind of things too. Can take a look once I get the time (not too far way but not tomorrow or the next few days neither)

@ydshieh
Copy link
Collaborator
ydshieh commented May 20, 2025

Nice. The changes in this PR is also what I am looking for, including the name changes in utils/get_previous_daily_ci.py. And the new utils/ci_results_inspector.py is also very helpful.

At this moment, could we go #38230 first, and I will try to incorporate the changes in this PR progressively 🙏 (starting with the name changes) ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0