Skip to content
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

improve smoke test #7550

Merged
merged 3 commits into from
May 2, 2023
Merged

improve smoke test #7550

merged 3 commits into from
May 2, 2023

Conversation

pmeier
Copy link
Collaborator

@pmeier pmeier commented May 1, 2023

Without this, an incorrect setup for nvjpeg will not be detected by the smoke test. I stumbled over this in #7498.

@pmeier pmeier requested a review from atalman May 1, 2023 21:11
@pytorch-bot
Copy link

pytorch-bot bot commented May 1, 2023

@@ -1,13 +1,11 @@
"""Run smoke tests"""

import os
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Driveby: remove unused import. Same below

Copy link
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 Philip, are we sure that the smoke_test.py script is always going to be run on a machine with CUDA support? EDIT: call is protected, not a problem

test/smoke_test.py Outdated Show resolved Hide resolved
Copy link
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.

LGTM with minor comment above

@pmeier pmeier changed the title add decode_jpeg_cuda to smoke test improve smoke test May 2, 2023
@pmeier pmeier merged commit 6381f7b into pytorch:main May 2, 2023
@pmeier pmeier deleted the improve-smoke-test branch May 2, 2023 11:04
@github-actions
Copy link

github-actions bot commented May 2, 2023

Hey @pmeier!

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 May 15, 2023
Reviewed By: vmoens

Differential Revision: D45522829

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