Skip to content

Commit 66875bc

Browse files
NicolasHugfacebook-github-bot
authored andcommitted
[fbsync] [Nova] More comprehensive Smoke Tests for Torchvision (#6803)
Summary: * [Nova] More comprehensive Smoke Tests for Torchvision * No need to import everything since nothing is lazily uploaded Reviewed By: datumbox Differential Revision: D40851026 fbshipit-source-id: 165ee117a8d5aa33c3af746289a3f0755753e7d9
1 parent 01257d3 commit 66875bc

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/smoke_test.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import torch
1+
"""Run smoke tests"""
2+
23
import torchvision
3-
import torchvision.datasets as dset
4-
import torchvision.transforms
4+
5+
print("torchvision version is ", torchvision.__version__)

0 commit comments

Comments
 (0)