Skip to content

Commit b44971d

Browse files
authored
Test resnet classifier on CUDA
1 parent 3b93537 commit b44971d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/smoke_test/smoke_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -195,6 +195,8 @@ def main() -> None:
195195
smoke_test_torchvision()
196196
smoke_test_torchvision_read_decode()
197197
smoke_test_torchvision_resnet50_classify()
198+
if torch.cuda.is_available():
199+
smoke_test_torchvision_resnet50_classify("cuda")
198200

199201

200202
if __name__ == "__main__":

0 commit comments

Comments
 (0)