Skip to content

Fix lazy importing for dataset tests #3481

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

Merged
merged 1 commit into from
Mar 2, 2021

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented Mar 1, 2021

Currently, the order in the MODULES tuple has an effect on the properties although this shouldn't be the case. This was only caught after #3445 went in and caused tests to fail that passed before:

https://app.circleci.com/pipelines/github/pytorch/vision/6611/workflows/beeb6144-8709-442a-8fa2-d30886007613/jobs/439286

With this we now correctly import the top level module as well as all submodules at once.

@codecov
Copy link

codecov bot commented Mar 1, 2021

Codecov Report

Merging #3481 (8ae2a45) into master (0ec5f31) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #3481   +/-   ##
=======================================
  Coverage   78.09%   78.09%           
=======================================
  Files         105      105           
  Lines        9707     9707           
  Branches     1556     1556           
=======================================
  Hits         7581     7581           
  Misses       1637     1637           
  Partials      489      489           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0ec5f31...8ae2a45. Read the comment docs.

Copy link
Member

@fmassa fmassa left a comment

Choose a reason for hiding this comment

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

Thanks!

@fmassa fmassa merged commit f0f5ee0 into pytorch:master Mar 2, 2021
@pmeier pmeier deleted the fix-lazy-importer branch March 2, 2021 11:44
facebook-github-bot pushed a commit that referenced this pull request Mar 4, 2021
Reviewed By: fmassa

Differential Revision: D26756263

fbshipit-source-id: 829bd945fdfe560a97f35c53111c5a875958e8e0
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.

5 participants