Skip to content

Commit

Permalink
Fix cluster startup script (#2977)
Browse files Browse the repository at this point in the history
This PR fixes  cluster startup script

Authors:
  - Vibhu Jawa (https://github.com/VibhuJawa)

Approvers:
  - Alex Barghi (https://github.com/alexbarghi-nv)
  - Brad Rees (https://github.com/BradReesWork)
  - Rick Ratzel (https://github.com/rlratzel)

URL: #2977
  • Loading branch information
VibhuJawa authored Nov 30, 2022
1 parent fb5298d commit 60f5e7b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
1 change: 1 addition & 0 deletions python/cugraph-service/scripts/default-config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ THIS_DIR=$(cd $(dirname ${BASH_SOURCE[0]}) && pwd)
# simply not use that syntax and override, since these variables are
# read last.
SCRIPTS_DIR=$THIS_DIR
WORKSPACE=$THIS_DIR

# These really should be oerridden by the project config!
CONDA_ENV=${CONDA_ENV:-rapids}
Expand Down
7 changes: 2 additions & 5 deletions python/cugraph-service/scripts/run-dask-process.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ function buildTcpArgs {
export DASK_DISTRIBUTED__WORKER__MEMORY__Terminate="False"

SCHEDULER_ARGS="--protocol=tcp
--port=$DASK_SCHEDULER_PORT
--scheduler-file $SCHEDULER_FILE
"

Expand All @@ -119,7 +118,6 @@ function buildUCXWithInfinibandArgs {
export DASK_DISTRIBUTED__COMM__UCX__CREATE_CUDA_CONTEXT=True

SCHEDULER_ARGS="--protocol=ucx
--port=$DASK_SCHEDULER_PORT
--interface=$DASK_CUDA_INTERFACE
--scheduler-file $SCHEDULER_FILE
"
Expand All @@ -131,7 +129,7 @@ function buildUCXWithInfinibandArgs {
--scheduler-file=$SCHEDULER_FILE
--memory-limit=$DASK_HOST_MEMORY_LIMIT
--device-memory-limit=$DASK_DEVICE_MEMORY_LIMIT
--jit-unspill
--enable-jit-unspill
"
}

Expand All @@ -152,7 +150,6 @@ function buildUCXwithoutInfinibandArgs {


SCHEDULER_ARGS="--protocol=ucx
--port=$DASK_SCHEDULER_PORT
--scheduler-file $SCHEDULER_FILE
"

Expand All @@ -166,7 +163,7 @@ function buildUCXwithoutInfinibandArgs {
--scheduler-file=$SCHEDULER_FILE
--memory-limit=$DASK_HOST_MEMORY_LIMIT
--device-memory-limit=$DASK_DEVICE_MEMORY_LIMIT
--jit-unspill
--enable-jit-unspill
"
}

Expand Down
2 changes: 1 addition & 1 deletion python/cugraph-service/tests/test_mg_e2e.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def mg_server():
from cugraph_service_client.exceptions import CugraphServiceError

server_process = None
host = "localhost"
host = "0.0.0.0"
port = 9090
client = CugraphServiceClient(host, port)

Expand Down

0 comments on commit 60f5e7b

Please sign in to comment.