mirror of
https://github.com/vladmandic/automatic
synced 2026-09-20 01:31:13 +02:00
- HunyuanVideo optimizations: full offload, quantization and tiling support
Signed-off-by: Vladimir Mandic <mandic00@live.com>
This commit is contained in:
@@ -314,9 +314,9 @@ def set_pipeline_args(p, model, prompts: list, negative_prompts: list, prompts_2
|
||||
clean.pop('callback_steps', None)
|
||||
clean.pop('callback_on_step_end', None)
|
||||
clean.pop('callback_on_step_end_tensor_inputs', None)
|
||||
if 'prompt' in clean:
|
||||
if 'prompt' in clean and clean['prompt'] is not None:
|
||||
clean['prompt'] = len(clean['prompt'])
|
||||
if 'negative_prompt' in clean:
|
||||
if 'negative_prompt' in clean and clean['negative_prompt'] is not None:
|
||||
clean['negative_prompt'] = len(clean['negative_prompt'])
|
||||
clean.pop('generator', None)
|
||||
clean['parser'] = parser
|
||||
|
||||
Reference in New Issue
Block a user