Skip to content

Commit

Permalink
Add nccl version print for cuda related smoke test (#1667)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman authored Jan 8, 2024
1 parent fe83c21 commit 04ef1bf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/smoke_test/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,7 @@ def smoke_test_cuda(package: str, runtime_error_check: str) -> None:
f"Wrong CUDA version. Loaded: {torch.version.cuda} Expected: {gpu_arch_ver}"
)
print(f"torch cuda: {torch.version.cuda}")
print(f"torch nccl version: {torch.cuda.nccl.version()}" )
# todo add cudnn version validation
print(f"torch cudnn: {torch.backends.cudnn.version()}")
print(f"cuDNN enabled? {torch.backends.cudnn.enabled}")
Expand Down

0 comments on commit 04ef1bf

Please sign in to comment.