Skip to content

Commit

Permalink
Print all DLLS
Browse files Browse the repository at this point in the history
  • Loading branch information
gs-olive committed Jan 29, 2024
1 parent f9b074d commit 97eab11
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packaging/smoke_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@
extra_cudnn = os.path.join(python_site_packages, "nvidia", "cudnn")
extra_torch = os.path.join(python_site_packages, "torch", "lib")

print(f"CUDNN DLLS: {list(glob.glob(os.path.join(extra_cudnn, '**', '*.dll'), recursive=True))}")
print(f"ALL TORCH DLLS: {list(glob.glob(os.path.join(extra_torch, '**', '*.dll'), recursive=True))}")

for dll in glob.glob(os.path.join(extra_cudnn, "**", "*.dll"), recursive=True):
shutil.copy(dll, extra_torch)

Expand Down

0 comments on commit 97eab11

Please sign in to comment.