Skip to content

Conversation

@pmeier
Copy link
Contributor

@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
Contributor 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

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