Skip to content

Conversation

@anton-l
Copy link
Member

@anton-l anton-l commented Sep 19, 2022

This adds utils to track test failures, durations, etc. Based on the transformers testing utils.

@anton-l anton-l requested a review from patil-suraj September 19, 2022 14:25
@HuggingFaceDocBuilderDev
Copy link

HuggingFaceDocBuilderDev commented Sep 19, 2022

The documentation is not available anymore as the PR was closed or merged.

@anton-l anton-l merged commit 0a2c42f into main Sep 19, 2022
tr.summary_warnings() # final warnings

tr.reportchars = "wPpsxXEf" # emulate -rA (used in summary_passes() and short_test_summary())
with open(report_files["passes"], "w") as f:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anton-l Is any particular reason to enable this report_files["passes"]?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In transformers, this is disabled. Although enabling it won't affect diffusers for now, I also think this part won't provide further useful information for us.

@kashif kashif deleted the upload-test-artifacts branch September 22, 2022 15:06
yoonseokjin pushed a commit to yoonseokjin/diffusers that referenced this pull request Dec 25, 2023
* make_reports

* add test utils

* style

* style
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