Skip to content

remove obsolete transforms tests#7678

Merged
pmeier merged 2 commits intopytorch:mainfrom
pmeier:obsolete-v1-tests
Jun 19, 2023
Merged

remove obsolete transforms tests#7678
pmeier merged 2 commits intopytorch:mainfrom
pmeier:obsolete-v1-tests

Conversation

@pmeier
Copy link
Copy Markdown
Contributor

@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
Copy Markdown

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
Copy Markdown
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



class TestRotate:

Copy link
Copy Markdown
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
Copy Markdown
Contributor 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
Copy Markdown
Contributor 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
@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