This repository has been archived by the owner on May 20, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git-svn-id: file:///srv/repos/svn-community/svn@663400 9fca08f4-af9d-4005-b8df-a31f2cc04f65
- Loading branch information
Showing
3 changed files
with
40 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/cmake/Dependencies.cmake b/cmake/Dependencies.cmake | ||
index b498be17e1..69e5c9f187 100644 | ||
--- a/cmake/Dependencies.cmake | ||
+++ b/cmake/Dependencies.cmake | ||
@@ -1312,7 +1312,7 @@ if(USE_DISTRIBUTED AND USE_TENSORPIPE) | ||
set(__BUILD_TESTING ${BUILD_TESTING}) | ||
set(BUILD_TESTING OFF) | ||
set(TP_BUILD_PYTHON OFF) | ||
- set(TP_BUILD_LIBUV ON) | ||
+ set(TP_BUILD_LIBUV OFF) | ||
|
||
add_subdirectory(${PROJECT_SOURCE_DIR}/third_party/tensorpipe) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/cmake/pytorch.cmake b/cmake/pytorch.cmake | ||
index e4d6b9c..48e0669 100644 | ||
--- a/cmake/pytorch.cmake | ||
+++ b/cmake/pytorch.cmake | ||
@@ -138,7 +138,7 @@ endif() | ||
|
||
add_library(tensorpipe ${TENSORPIPE_SRC}) | ||
|
||
-set(TP_BUILD_LIBUV ON) | ||
+set(TP_BUILD_LIBUV OFF) | ||
find_package(uv REQUIRED) | ||
target_link_libraries(tensorpipe PRIVATE uv::uv) | ||
|