Skip to content

Commit

Permalink
Merge branch 'inference' into streamlit
Browse files Browse the repository at this point in the history
  • Loading branch information
goliaro authored Nov 8, 2024
2 parents 3632754 + 2fd529d commit 39e47a5
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions cmake/legion.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ else()
set(Legion_EMBED_GASNet_VERSION "GASNet-2022.3.0" CACHE STRING "GASNet version")
set(Legion_NETWORKS "gasnetex" CACHE STRING "GASNet conduit")
set(GASNet_CONDUIT ${FF_GASNET_CONDUIT})
set(GASNet_SYSTEM ${FF_GASNET_SYSTEM})
elseif("${FF_LEGION_NETWORKS}" STREQUAL "ucx")
set(ucx_ROOT ${UCX_PATH}/lib/cmake)
message(STATUS "Find ucx: ${UCX_PATH}")
Expand Down
7 changes: 7 additions & 0 deletions config/config.inc
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,13 @@ if [ "$FF_LEGION_NETWORKS" = "gasnet" ]; then
SET_LEGION_NETWORKS+=" -DFF_GASNET_CONDUIT=mpi"
elif [ "$FF_GASNET_CONDUIT" = "udp" ]; then
SET_LEGION_NETWORKS+=" -DFF_GASNET_CONDUIT=udp"
elif [ "$FF_GASNET_CONDUIT" = "ofi" ]; then
SET_LEGION_NETWORKS+=" -DFF_GASNET_CONDUIT=ofi"
if [ "$FF_GASNET_SYSTEM" = "slingshot11" ]; then
SET_LEGION_NETWORKS+=" -DFF_GASNET_SYSTEM=slingshot11"
elif [ "$FF_GASNET_SYSTEM" = "slingshot10" ]; then
SET_LEGION_NETWORKS+=" -DFF_GASNET_SYSTEM=slingshot10"
fi
fi
elif [ "$FF_LEGION_NETWORKS" = "ucx" ]; then
SET_LEGION_NETWORKS+=" -DFF_LEGION_NETWORKS=ucx"
Expand Down
3 changes: 3 additions & 0 deletions config/config.linux
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ FF_LEGION_NETWORKS=${FF_LEGION_NETWORKS:-}
# select GASNET conduit
FF_GASNET_CONDUIT=${FF_GASNET_CONDUIT:-ibv}

# select GASNET system (usually with OFI conduit)
FF_GASNET_SYSTEM=${FF_GASNET_SYSTEM:-slingshot11}

# set UCX dir if Legion networks is set to ucx
UCX_DIR=${UCX_DIR:-""}

Expand Down

0 comments on commit 39e47a5

Please sign in to comment.