[Misc] Support WorkerWrapperBase and CustomPipeline for Diffusion Worker (#764)
Signed-off-by: knlnguyen1802 <knlnguyen1802@gmail.com>
This commit is contained in:
1 parent
e427da022b
commit
9994594782
12 files changed
+1359
-23
No files matched your search
@@ -332,6 +332,15 @@ class OmniDiffusionConfig:
|
||||
# TODO: do not hard code
|
||||
master_port: int | None = None
|
||||
|
||||
# Worker extension class for custom functionality
|
||||
worker_extension_cls: str | None = None
|
||||
|
||||
# Custom pipeline arguments for custom pipelines
|
||||
custom_pipeline_args: dict[str, Any] | None = None
|
||||
|
||||
# Diffusion model loading format
|
||||
diffusion_load_format: str = "default" # "default", "custom_pipeline", "dummy"
|
||||
|
||||
# http server endpoint config, would be ignored in local mode
|
||||
host: str | None = None
|
||||
port: int | None = None
|
||||
|
||||
Reference in new issue
Block a user