Skip to main content

Patch Model Patcher Order

KJNodes/experimentalDeprecated
PatchModelPatcherOrder

NO LONGER NECESSARY, keeping node for backwards compatibility. Use the v2 compile nodes to use LoRA with torch.compile.

Deprecated: This node is deprecated and may be removed in future versions. Consider using an alternative node if available.

Example

JSON Example
{
  "class_type": "PatchModelPatcherOrder",
  "inputs": {
    "model": [
      "node_id",
      0
    ],
    "patch_order": "weight_patch_first",
    "full_load": "auto"
  }
}

This example shows required inputs only. Connection values like ["node_id", 0] should reference actual node IDs from your workflow.

Inputs

NameTypeStatusConstraintsDefault
modelMODELrequired--
patch_order?ENUM
2 options
  • object_patch_first
  • weight_patch_first
required-"weight_patch_first"
full_load?ENUM
3 options
  • enabled
  • disabled
  • auto
required-"auto"

Outputs

IndexNameTypeIs ListConnection Reference
0MODELMODELNo["{node_id}", 0]
How to connect to these outputs

To connect another node's input to an output from this node, use the connection reference format:

["node_id", output_index]

Where node_id is the ID of this PatchModelPatcherOrder node in your workflow, and output_index is the index from the table above.

Example

If this node has ID "5" in your workflow:

  • MODEL (MODEL): ["5", 0]
Was this page helpful?