Skip to content

Conversation

NicolasHug
Copy link
Member

This PR ports the tests relying on _test_adjust_fn to pytest.
This will allow properly skipping the CPU test on CI machines that have a GPU, and conversly skip the GPU tests on CI machines that don't have cuda

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.

LGTM, thanks!

@NicolasHug NicolasHug merged commit 32bccc5 into pytorch:master May 17, 2021
facebook-github-bot pushed a commit that referenced this pull request May 19, 2021
Reviewed By: cpuhrsch

Differential Revision: D28538760

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