Signed-off-by: Yueqian Lin <linyueqian@outlook.com> Co-authored-by: Hongsheng Liu <liuhongsheng4@huawei.com>
This commit is contained in:
1 parent
8d83fb59e9
commit
c067485030
7 files changed
+240
-5
No files matched your search
@@ -139,6 +139,10 @@ class OmniEngineArgs(EngineArgs):
|
||||
stage_connector_spec: dict[str, Any] = field(default_factory=dict)
|
||||
subtalker_sampling_params: dict[str, Any] | None = None
|
||||
async_chunk: bool = False
|
||||
# WS-A: Stage-1 active stream slots. 0 = legacy preempt-everything.
|
||||
# Must be declared here so engine_args dict propagation does not silently
|
||||
# drop the value when constructing OmniEngineArgs from kwargs.
|
||||
active_stream_window: int = 0
|
||||
omni_kv_config: dict | None = None
|
||||
quantization_config: Any | None = None
|
||||
force_cutlass_fp8: bool | None = None
|
||||
@@ -339,6 +343,7 @@ class OmniEngineArgs(EngineArgs):
|
||||
# All kwargs below are Omni specific
|
||||
stage_id=self.stage_id,
|
||||
async_chunk=self.async_chunk,
|
||||
active_stream_window=self.active_stream_window,
|
||||
model_stage=self.model_stage,
|
||||
model_arch=self.model_arch,
|
||||
worker_type=self.worker_type,
|
||||
|
||||
Reference in new issue
Block a user