Skip to content

Commit

Permalink
fix comment
Browse files Browse the repository at this point in the history
  • Loading branch information
KuilongCui committed Dec 18, 2024
1 parent febf19c commit 65065e9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions docs/Arguments.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,21 +147,21 @@ usage: -m llumnix.entrypoints.vllm.api_server [-h]

`--migration-backend`
- Communication backend of migration.
- Possible choices: gloo, rayrpc, grpc, kvtransfer. [gloo, rayrpc] are available for vllm and [grpc, kvtransfer] are available for bladellm.
- Default: "rayrpc"
- Possible choices: gloo, rayrpc, nccl, grpc, kvtransfer. [gloo, rayrpc, nccl] are available for vllm and [grpc, kvtransfer] are available for bladellm.
- Default: "gloo"

`--migration-backend-transfer-type`
- Transfer type for migration backend grpc and kvTransfer.
- Possible choices: cuda_ipc, rdma, ""
- Default: ""
- Transfer type for migration backend kvTransfer.
- Possible choices: cuda_ipc, rdma
- Default: "rdma"

`--migration-backend-server-address`
- Address of grpc server for migration backend
- Default: "127.0.0.1:50051"

`--migration-backend-kvtransfer-naming-url`
- URL of naming server for kvtransfer migration backend
- Default: ""
- Default: "file:/tmp/llumnix/naming/"

`--migration-buffer-blocks`
- Number of buffer blocks in migration.
Expand Down
2 changes: 1 addition & 1 deletion llumnix/arg_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def add_cli_args(parser: argparse.ArgumentParser) -> argparse.ArgumentParser:
parser.add_argument('--migration-backend',
type=str,
choices=['gloo','nccl','rayrpc','grpc','kvtransfer'],
help='communication backend of migration, [gloo, rayrpc] are available for vllm \
help='communication backend of migration, [gloo, rayrpc, nccl] are available for vllm \
and [grpc, kvtransfer] are available for bladellm')
parser.add_argument('--migration-backend-transfer-type',
type=str,
Expand Down
6 changes: 3 additions & 3 deletions llumnix/config/default.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,12 +105,12 @@

# Communication backend of migration
_C.MANAGER.MIGRATION_BACKEND = "gloo"
# Transfer type for migration backend grpc and kvTransfer
_C.MANAGER.MIGRATION_BACKEND_TRANSFER_TYPE = ""
# Transfer type for migration backend kvTransfer
_C.MANAGER.MIGRATION_BACKEND_TRANSFER_TYPE = "rdma"
# Address of grpc server for migration backend
_C.MANAGER.MIGRATION_BACKEND_SERVER_ADDRESS = "127.0.0.1:50051"
# URL of naming server for kvtransfer migration backend
_C.MANAGER.MIGRATION_BACKEND_KVTRANSFER_NAMING_URL = ""
_C.MANAGER.MIGRATION_BACKEND_KVTRANSFER_NAMING_URL = "file:/tmp/llumnix/naming/"
# Timeout(s) for initializing migration backend
_C.MANAGER.MIGRATION_BACKEND_INIT_TIMEOUT = 10.0
# Number of cache blocks in migration
Expand Down

0 comments on commit 65065e9

Please sign in to comment.