Skip to content

Conversation

NicolasHug
Copy link
Member

@NicolasHug NicolasHug commented Feb 9, 2023

This reverts #6380 which was identified to be the cause of various recent failures #7114 (comment).

This PR fixes the current model failures for video and classification (except for this weird cuda-vit_h_14 failure which is tracked in #7143.
EDIT: there's still a failure for resnet101 as well

I'll submit another PR for the detection model and mark them as flaky (like what #7130 already does)

Like all of those quick-fix PRs, this one is less than ideal. It's just a patch over an already messy situation. In the (hopefully near) future, we should focus on more robust changes like the one proposed in #7130

cc @pmeier

@NicolasHug NicolasHug changed the title Revert 6380 for test_classification and test_video Put back previous tolerance for test_classification and test_video Feb 9, 2023
@NicolasHug NicolasHug marked this pull request as ready for review February 9, 2023 09:32
Copy link
Collaborator

@pmeier pmeier left a comment

Choose a reason for hiding this comment

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

LGTM if CI is green-ish again. Thanks Nicolas! Just to make sure: #6380 changed the precision on three tests, but here we are only reverting two of them. Meaning, test_quantized_classification_model is fine with the stricter tolerance?

@NicolasHug
Copy link
Member Author

Yes, I'm not seeing failures for the quantized models, so it looks like tightening that tolerance was OK

@NicolasHug NicolasHug merged commit 539c6e2 into pytorch:main Feb 9, 2023
@NicolasHug NicolasHug added module: tests revert(ed) For reverted PRs, and PRs that revert other PRs labels Feb 9, 2023
@github-actions
Copy link

github-actions bot commented Feb 9, 2023

Hey @NicolasHug!

You merged this PR, but no labels were added. The list of valid labels is available at https://github.com/pytorch/vision/blob/main/.github/process_commit.py

facebook-github-bot pushed a commit that referenced this pull request Mar 28, 2023
…_video (#7202)

Reviewed By: vmoens

Differential Revision: D44416276

fbshipit-source-id: 40ce41797c05765010a401abaaf46d845207750a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla signed module: tests revert(ed) For reverted PRs, and PRs that revert other PRs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants