Skip to content

Commit b94c9dc

Browse files
Lint
1 parent f0cd706 commit b94c9dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

torchvision/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ def _is_tracing():
101101

102102
def _is_cvcuda_available() -> bool:
103103
try:
104-
import cvcuda, nvcv
104+
import cvcuda
105+
import nvcv
105106
except ImportError:
106107
return False
107108
return True

0 commit comments

Comments
 (0)