Skip to content

Commit e7c36ac

Browse files
committed
init
Signed-off-by: Yan Chunwei <[email protected]>
1 parent 8060aad commit e7c36ac

File tree

2 files changed

+2
-13
lines changed

2 files changed

+2
-13
lines changed

tensorrt_llm/llmapi/llm_args.py

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1550,7 +1550,7 @@ class BaseLlmArgs(StrictBaseModel):
15501550
description="Return perf metrics.",
15511551
status="prototype")
15521552

1553-
orchestrator_type: Optional[Literal["rpc"]] = Field(
1553+
orchestrator_type: Optional[Literal["rpc", "ray"]] = Field(
15541554
default=None,
15551555
description=
15561556
"The orchestrator type to use. Defaults to None, which uses MPI.",
@@ -2444,13 +2444,6 @@ class TorchLlmArgs(BaseLlmArgs):
24442444
status="prototype",
24452445
)
24462446

2447-
orchestrator_type: Optional[Literal["ray"]] = Field(
2448-
default=None,
2449-
description=
2450-
"The orchestrator type to use. Options: 'ray'. Defaults to None, which uses MPI.",
2451-
status="prototype",
2452-
)
2453-
24542447
# PrivateVars
24552448
_quant_config: Optional[QuantConfig] = PrivateAttr(default=None)
24562449

tests/unittest/api_stability/references/llm.yaml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,10 +75,6 @@ methods:
7575
annotation: Optional[str]
7676
default: null
7777
status: deprecated
78-
orchestrator_type:
79-
annotation: Optional[Literal['ray']]
80-
default: null
81-
status: prototype
8278
build_config:
8379
annotation: Optional[tensorrt_llm.llmapi.llm_args.BuildConfig]
8480
default: null
@@ -184,7 +180,7 @@ methods:
184180
default: False
185181
status: prototype
186182
orchestrator_type:
187-
annotation: Optional[Literal["rpc"]]
183+
annotation: Optional[Literal["rpc", "ray"]]
188184
default: null
189185
status: prototype
190186
return_annotation: None

0 commit comments

Comments
 (0)