[diffusion][feature] Add component-selective offload policies (#5929)
Signed-off-by: lishunyang12 <lishunyang12@163.com>
This commit is contained in:
1 parent
44d3ae100a
commit
ea3cf99894
74 files changed
+5121
-1584
No files matched your search
@@ -572,6 +572,9 @@ class OrchestratorArgs:
|
||||
vae_use_tiling: bool = False
|
||||
enable_multithread_weight_load: bool = True
|
||||
num_weight_load_threads: int = 4
|
||||
diffusion_offload_config: dict[str, Any] | None = None
|
||||
# Compatibility aliases for existing callers and model-specific stage
|
||||
# lifecycles that are broader than the compact dit/text_encoder selector.
|
||||
enable_cpu_offload: bool = False
|
||||
enable_layerwise_offload: bool = False
|
||||
enable_distributed_layerwise_offload: bool = False
|
||||
|
||||
Reference in new issue
Block a user