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

remove obsolete transforms tests #7678

Merged
merged 2 commits into from
Jun 19, 2023
Merged

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Jun 19, 2023

As mentioned in #7562 (comment) and confirmed in #7562 (comment), both tests deleted in this PR come from a time when we had our custom interpolate kernels, since PyTorch core didn't support antialiasing. This is no longer the case and thus the tests are obsolete.

cc @vfdev-5

@pytorch-bot
Copy link

pytorch-bot bot commented Jun 19, 2023

🔗 Helpful Links

🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/vision/7678

Note: Links to docs will display an error until the docs builds have been completed.

❌ 5 New Failures

As of commit 965a5c5:

NEW FAILURES - The following jobs have failed:

This comment was automatically generated by Dr. CI and updates every 15 minutes.

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

@@ -67,7 +67,6 @@ def test_scale_channel():


class TestRotate:

Copy link
Member

Choose a reason for hiding this comment

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

Is that a new black thing??

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

We are pinning the version

- black == 22.3.0

so let's hope this was just a fluke on my side. I'll revert these.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It indeed comes from a newer black version that I have on my system. Since the removed blank lines don't conflict with the "old" style, it was not automatically reverted by running the pre-commit hook. I opened #7680 to upgrade our linters.

@pmeier pmeier mentioned this pull request Jun 19, 2023
@pmeier pmeier merged commit 3d70e4b into pytorch:main Jun 19, 2023
56 of 61 checks passed
@pmeier pmeier deleted the obsolete-v1-tests branch June 19, 2023 19:29
facebook-github-bot pushed a commit that referenced this pull request Jul 3, 2023
Reviewed By: vmoens

Differential Revision: D47186581

fbshipit-source-id: b7a147e32fa281fb29aef68319e25cb7491855b7
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