Skip to content

Commit cef7efc

Browse files
Replace Legion with Realm in CMake, remove prebuilt binaries, remove ucx dependency.
1 parent c310af9 commit cef7efc

File tree

4 files changed

+2
-256
lines changed

4 files changed

+2
-256
lines changed

CMakeLists.txt

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,22 +33,15 @@ set(FF_MAX_NUM_TASK_REGIONS "20" CACHE STRING
3333
set(FF_MAX_NUM_TASK_ARGUMENTS "5" CACHE STRING
3434
"Maximum number of arguments that can be declared in a TaskSignature")
3535
option(FF_USE_NCCL "Run FlexFlow with NCCL" OFF)
36-
option(FF_USE_PREBUILT_LEGION "Enable use of Legion pre-compiled library, if available" ON)
3736
option(FF_USE_ALL_PREBUILT_LIBRARIES "Enable use of all pre-compiled libraries, if available" OFF)
3837
option(FF_USE_PYTHON "Enable Python" ON)
3938
option(FF_BUILD_FROM_PYPI "Build from pypi" OFF)
4039
option(FF_USE_CODE_COVERAGE "Enable code coverage" OFF)
4140

42-
set(FF_GASNET_CONDUITS aries udp mpi ibv ucx)
43-
set(FF_GASNET_CONDUIT "mpi" CACHE STRING "Select GASNet conduit ${FF_GASNET_CONDUITS}")
44-
set_property(CACHE FF_GASNET_CONDUIT PROPERTY STRINGS ${FF_GASNET_CONDUITS})
45-
set(FF_LEGION_NETWORKS "" CACHE STRING "Network backend(s) to use")
46-
4741
set(FF_GPU_BACKENDS cuda hip_cuda hip_rocm intel)
4842
set(FF_GPU_BACKEND "cuda" CACHE STRING "Select GPU Backend ${FF_GPU_BACKENDS}")
4943
set_property(CACHE FF_GPU_BACKEND PROPERTY STRINGS ${FF_GPU_BACKENDS})
5044

51-
option(FF_USE_EXTERNAL_LEGION "Use pre-installed Legion" OFF)
5245
option(FF_USE_EXTERNAL_NCCL "Use pre-installed NCCL" OFF)
5346
option(FF_USE_EXTERNAL_JSON "Use pre-installed nlohmann::json" OFF)
5447
option(FF_USE_EXTERNAL_FMT "Use pre-installed fmt" OFF)
@@ -104,7 +97,7 @@ include(gbenchmark)
10497
include(libassert)
10598
include(CTest)
10699
include(fmt)
107-
include(legion)
100+
include(realm)
108101
include(rapidcheck)
109102
#include(gtest)
110103

cmake/legion.cmake

Lines changed: 0 additions & 161 deletions
This file was deleted.

cmake/realm.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
find_package(Realm REQUIRED)

cmake/ucx.cmake

Lines changed: 0 additions & 87 deletions
This file was deleted.

0 commit comments

Comments
 (0)