Skip to content

Conversation

Flamefire
Copy link
Contributor

Do this after the version check to avoid failures on import for earlier torch where that module did not exist.
See #3901

Do this after the version check to avoid failures on import for earlier
torch where that module did not exist.
See pytorch#3901
Copy link
Contributor

@datumbox datumbox left a comment

Choose a reason for hiding this comment

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

I don't see why not. Thanks for the improvement @Flamefire. Will merge after green tests.

@datumbox
Copy link
Contributor

The failing test on binary_linux_conda_py3.8_cu111 in unrelated. Merging.

@datumbox datumbox merged commit ec40ac3 into pytorch:master Jun 10, 2021
@Flamefire Flamefire deleted the support-older-torch branch June 10, 2021 14:20
facebook-github-bot pushed a commit that referenced this pull request Jun 14, 2021
Summary:
Do this after the version check to avoid failures on import for earlier
torch where that module did not exist.
See #3901

Reviewed By: fmassa

Differential Revision: D29097727

fbshipit-source-id: 492ec606b033a7761dae4649ae638e6dc485d5c7

Co-authored-by: Vasilis Vryniotis <datumbox@users.noreply.github.com>
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