Skip to content

Commit 58ac76c

Browse files
committed
Fix module name
1 parent 011867b commit 58ac76c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

test/smoke_test/smoke_test.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,13 @@ def smoke_test_cuda(package: str) -> None:
7272
for module in MODULES:
7373
imported_module = importlib.import_module(module["name"])
7474
# TBD for vision move extension module to private so it will
75-
# be _extention. For audio add version return from the check
75+
# be _extention.
76+
version = "N/A"
7677
if module["extension"] == "extension":
7778
version = imported_module.extension._check_cuda_version()
78-
print(f"{module['name']} CUDA: {version}")
7979
else:
80-
imported_module._extension._check_cuda_version()
80+
version = imported_module._extension._check_cuda_version()
81+
print(f"{module['name']} CUDA: {version}")
8182

8283

8384
def smoke_test_conv2d() -> None:

0 commit comments

Comments
 (0)