mirror of
https://github.com/invoke-ai/InvokeAI
synced 2026-04-26 16:52:08 +02:00
raise error if control lora used with schnell
This commit is contained in:
parent
899a00af62
commit
c154d833b9
@ -240,6 +240,9 @@ class FluxDenoiseInvocation(BaseInvocation, WithMetadata, WithBoard):
|
||||
if len(timesteps) <= 1:
|
||||
return x
|
||||
|
||||
if is_schnell and self.control_lora:
|
||||
raise ValueError("Control LoRAs cannot be used with FLUX Schnell")
|
||||
|
||||
# Prepare the extra image conditioning tensor if a FLUX structural control image is provided.
|
||||
img_cond = self._prep_structural_control_img_cond(context)
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user