Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

uso -> uxo/uno as requested. (#9688)

comfyanonymouse3018c2a5aeb
diff --git a/comfy/ldm/flux/model.py b/comfy/ldm/flux/model.py
index d4be6bb61..8ea7d4f57 100644
--- a/comfy/ldm/flux/model.py
+++ b/comfy/ldm/flux/model.py
@@ -248,7 +248,7 @@ class Flux(nn.Module):
index += 1
h_offset = 0
w_offset = 0
- elif ref_latents_method == "uso":
+ elif ref_latents_method == "uxo":
index = 0
h_offset = h_len * patch_size + h
w_offset = w_len * patch_size + w
diff --git a/comfy_extras/nodes_flux.py b/comfy_extras/nodes_flux.py
index 1bf7ddd92..25e029ffd 100644
--- a/comfy_extras/nodes_flux.py
+++ b/comfy_extras/nodes_flux.py
@@ -105,7 +105,7 @@ class FluxKontextMultiReferenceLatentMethod:
def INPUT_TYPES(s):
return {"required": {
"conditioning": ("CONDITIONING", ),
- "reference_latents_method": (("offset", "index", "uso"), ),
+ "reference_latents_method": (("offset", "index", "uxo/uno"), ),
}}
RETURN_TYPES = ("CONDITIONING",)
@@ -115,6 +115,8 @@ class FluxKontextMultiReferenceLatentMethod:
CATEGORY = "advanced/conditioning/flux"
def append(self, conditioning, reference_latents_method):
+ if "uxo" in reference_latents_method or "uso" in reference_latents_method:
+ reference_latents_method = "uxo"
c = node_helpers.conditioning_set_values(conditioning, {"reference_latents_method": reference_latents_method})
return (c, )