Skip to content

Commit

Permalink
Make PyTorch bindings installation more ergonomic (no static CUDA)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom94 committed Apr 19, 2023
1 parent 922bb97 commit 52e560d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
.DS_Store
*.egg-info
__pycache__
*.o
/*.jpg
build*
dist
/.vscode
2 changes: 1 addition & 1 deletion bindings/torch/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ def make_extension(compute_capability):
"%s/dependencies/fmt/include" % root_dir,
],
extra_compile_args={"cxx": cflags, "nvcc": nvcc_flags},
libraries=["cuda", "cudadevrt", "cudart_static"],
libraries=["cuda"],
)
return ext

Expand Down
Empty file modified samples/mlp_learning_an_image_pytorch.py
100644 → 100755
Empty file.

0 comments on commit 52e560d

Please sign in to comment.