Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion comfy_extras/nodes_compositor.py
Original file line number Diff line number Diff line change
Expand Up @@ -486,7 +486,10 @@ def define_schema(cls):
node_id="ImageCompositor",
display_name="Create Layered Image",
category="image",
search_aliases=["compositor", "composite", "layer", "layers", "layer editor", "psd"],
is_experimental=True,
# both flags on purpose: terminal compositor graphs must execute (the
# editor needs a run to open), and cache hits must replay the layer UI
is_output_node=True,
has_intermediate_output=True,
inputs=[
Expand Down Expand Up @@ -605,7 +608,7 @@ def define_schema(cls):
options=list(_LAYER_MODES),
default="normal",
optional=True,
tooltip="Initial blend mode.",
tooltip="Initial blend mode, applied against the layers below. On the bottom layer over the default transparent background, non-normal modes produce transparency.",
),
io.Float.Input(
"rotation",
Expand Down
2 changes: 1 addition & 1 deletion comfy_extras/nodes_upscale_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def execute(cls, upscale_model, image) -> io.NodeOutput:

memory_required = (512 * 512 * 3) * image.element_size() * max(upscale_model.scale, 1.0) * 384.0 #The 384.0 is an estimate of how much some of these models take, TODO: make it more accurate
memory_required += image.nelement() * image.element_size()
model_management.load_models_gpu([upscale_model.patcher], memory_required=memory_required)
model_management.load_models_gpu([upscale_model.patcher], memory_required=memory_required, force_full_load=True)

in_img = image.movedim(-1,-3).to(device)

Expand Down
Loading