Skip to content
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

Cleanup test suite related to torch.testing.assert_close #4177

Merged
merged 3 commits into from
Jul 14, 2021

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Jul 14, 2021

This

  1. moves assert_equal from test/_assert_utils.py to test/common_utils.py since after make assert_equal an example how to partial torch.testing.assert_close pytorch#58918 we need to keep it permanently and
  2. removes the check_stride=False since this became the default in Don't check stride by default pytorch#60637.

Copy link
Member

@NicolasHug NicolasHug left a comment

Choose a reason for hiding this comment

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

Thanks @pmeier ! Happy about the check_stride default change :)

There was one last occurrence left, I just pushed it and will merge when green!

@NicolasHug NicolasHug merged commit 90a2402 into pytorch:master Jul 14, 2021
@pmeier pmeier deleted the testing-cleanup branch July 14, 2021 07:51
facebook-github-bot pushed a commit that referenced this pull request Jul 27, 2021
…4177)

Summary: Co-authored-by: Nicolas Hug <nicolashug@fb.com>

Reviewed By: fmassa

Differential Revision: D29932693

fbshipit-source-id: 1cadf0578dd28cfa300dfc00f6db6faf0ff98b39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants