Skip to content

Commit

Permalink
* Bundle the CUPTI module of CUDA in the presets for PyTorch (pull #…
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunk authored Jan 12, 2023
1 parent 1486766 commit fc69358
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@

* Bundle the CUPTI module of CUDA in the presets for PyTorch ([pull #1307](https://github.com/bytedeco/javacpp-presets/pull/1307))
* Build FFmpeg with AOMedia AV1 and SVT-AV1 codecs ([pull #1303](https://github.com/bytedeco/javacpp-presets/pull/1303))
* Map `c10::OptionalArrayRef<int64_t>` from PyTorch to `long...` as well for convenience ([issue #1300](https://github.com/bytedeco/javacpp-presets/issues/1300))
* Remove mapping for `c10::OptionalArrayRef` to simplify calls in presets for PyTorch ([issue #1300](https://github.com/bytedeco/javacpp-presets/issues/1300))
Expand Down
12 changes: 11 additions & 1 deletion pytorch/src/main/java/org/bytedeco/pytorch/presets/torch.java
Original file line number Diff line number Diff line change
Expand Up @@ -1736,7 +1736,17 @@
@Platform(
value = {"linux", "macosx", "windows"},
link = {"c10", "c10_cuda", "torch_cpu", "torch_cuda", "torch"},
preloadpath = "C:/Program Files/NVIDIA Corporation/NvToolsExt/bin/x64/",
preload = {"gomp@.1", "iomp5", "omp", "tbb@.2", "asmjit", "fbgemm", "cupti@.11.8"},
preloadpath = {
"/usr/local/cuda-11.8/lib64/",
"/usr/local/cuda-11.8/extras/CUPTI/lib64/",
"/usr/local/cuda/lib64/",
"/usr/local/cuda/extras/CUPTI/lib64/",
"/usr/lib64/",
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/lib/x64/",
"C:/Program Files/NVIDIA GPU Computing Toolkit/CUDA/v11.8/extras/CUPTI/lib64/",
"C:/Program Files/NVIDIA Corporation/NvToolsExt/bin/x64/",
},
extension = "-gpu"
),
},
Expand Down

0 comments on commit fc69358

Please sign in to comment.