Skip to content

use torch.testing.assertclose instead to get more details about error in cis - #35659

Merged
ArthurZucker merged 17 commits into
mainfrom
fix-more-cis
Jan 24, 2025
Merged

ArthurZucker merged 17 commits into
mainfrom
fix-more-cis

Conversation

@ArthurZucker

Copy link
Copy Markdown
Collaborator

What does this PR do?

This should help when we have red CIs + is good practice

@ArthurZucker
ArthurZucker requested a review from ydshieh January 13, 2025 12:50
@ydshieh

ydshieh commented Jan 13, 2025

Copy link
Copy Markdown
Collaborator

Good! But wondering if we really need to have the new rtol in some place. (I personally would probably just set it to 0.0 so the comparison is just the absolute difference)

@HuggingFaceDocBuilderDev

Copy link
Copy Markdown

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.

@ArthurZucker

Copy link
Copy Markdown
Collaborator Author

we juste have to put rtol , its required. We can put it to 0 if it causes issues!

@ydshieh ydshieh left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

OK, let see

@ArthurZucker
ArthurZucker merged commit b912f5e into main Jan 24, 2025
@ArthurZucker
ArthurZucker deleted the fix-more-cis branch January 24, 2025 15:55
bursteratom pushed a commit to bursteratom/transformers that referenced this pull request Jan 31, 2025
… in cis (huggingface#35659)

* use torch.testing.assertclose instead to get more details about error in cis

* fix

* style

* test_all

* revert for I bert

* fixes and updates

* more image processing fixes

* more image processors

* fix mamba and co

* style

* less strick

* ok I won't be strict

* skip and be done

* up
elvircrn pushed a commit to elvircrn/transformers that referenced this pull request Feb 13, 2025
… in cis (huggingface#35659)

* use torch.testing.assertclose instead to get more details about error in cis

* fix

* style

* test_all

* revert for I bert

* fixes and updates

* more image processing fixes

* more image processors

* fix mamba and co

* style

* less strick

* ok I won't be strict

* skip and be done

* up
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.

3 participants