1 parent
3c5b53358c
commit
c3d35ed5fe
1 file changed
+4
@@ -331,6 +331,10 @@ class DiffusionEngine:
|
|||||||
height=height,
|
height=height,
|
||||||
width=width,
|
width=width,
|
||||||
num_inference_steps=num_inference_steps,
|
num_inference_steps=num_inference_steps,
|
||||||
|
# Keep warmup path minimal and robust across text encoders.
|
||||||
|
# Some models may fail when warmup implicitly triggers
|
||||||
|
# classifier-free guidance with an empty negative prompt.
|
||||||
|
guidance_scale=0.0,
|
||||||
num_outputs_per_prompt=1,
|
num_outputs_per_prompt=1,
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in new issue
Block a user