nixpkgs/pkgs/development/python-modules/torch/fix-cmake-cuda-toolkit.patch
Gaetan Lepage 1b6efd0fca python312Packages.torch: 2.3.0 -> 2.4.0
Diff: https://github.com/pytorch/pytorch/compare/v2.3.1...v2.4.0

Changelog: https://github.com/pytorch/pytorch/releases/tag/v2.4.0

Co-authored-by: =?UTF-8?q?Danie=CC=88l=20de=20Kok?= <me@danieldk.eu>
Co-authored-by: Connor Baker <connor.baker@tweag.io>
2024-08-14 22:51:07 +02:00

16 lines
540 B
Diff

diff --git a/CMakeLists.txt b/CMakeLists.txt
index c4cd4b2c2a..e983b21353 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1319,10 +1319,6 @@ if(BUILD_SHARED_LIBS)
DIRECTORY ${PROJECT_SOURCE_DIR}/cmake/Modules_CUDA_fix
DESTINATION share/cmake/Caffe2/
COMPONENT dev)
- install(
- FILES ${PROJECT_SOURCE_DIR}/cmake/Modules/FindCUDAToolkit.cmake
- DESTINATION share/cmake/Caffe2/
- COMPONENT dev)
install(
FILES ${PROJECT_SOURCE_DIR}/cmake/Modules/FindCUSPARSELT.cmake
DESTINATION share/cmake/Caffe2/