[Bugfix][Engine] Preserve text_encoder_tp_size in OmniEngineArgs (#7652)
Signed-off-by: mershi <mershi@tencent.com> Co-authored-by: mershi <mershi@tencent.com>
This commit is contained in:
1 parent
84977d9543
commit
fb2e3535af
2 files changed
+43
No files matched your search
@@ -223,6 +223,12 @@ class OmniEngineArgs(EngineArgs):
|
||||
# Diffusion request-mode batch admission (forwarded to OmniDiffusionConfig).
|
||||
request_batch_max_wait_ms: float = 0.0
|
||||
fa_deterministic: bool = False
|
||||
# Tensor-parallel degree for the diffusion text encoder (forwarded to
|
||||
# DiffusionParallelConfig via the generic diffusion fallback). Declared
|
||||
# here so ``from_cli_args`` field filtering keeps ``--text-encoder-tp-size``
|
||||
# for library callers (#7564); registered pipelines may consume it through
|
||||
# their own stage_cli_aliases or deploy YAML.
|
||||
text_encoder_tp_size: int | None = None
|
||||
|
||||
@classmethod
|
||||
def _add_omni_specific_args(cls, parser: argparse.ArgumentParser) -> argparse.ArgumentParser:
|
||||
|
||||
Reference in new issue
Block a user