Nodes Browser

ComfyDeploy: How comfy_remote_run works in ComfyUI?

What is comfy_remote_run?

Nodes to run nodes on remote ComfyUI instances.

How to install it in ComfyDeploy?

Head over to the machine page

  1. Click on the "Create a new machine" button
  2. Select the Edit build steps
  3. Add a new step -> Custom Node
  4. Search for comfy_remote_run and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

Nodes to run nodes on remote ComfyUI instances.

Included Nodes:

  • Remote Run Input Graph: Runs everything going to its inputs on the specified remote instance
  • Remote Run Start From Here ->: Used together with above node, makes it only run its input nodes up to hitting a start node
  • Remote Run JSON: Runs the JSON on the specified remote instance
  • Remote Run Lazy Toggle: Simple toggle switch that runs parts of the graph either only locally or only remotely

Serialization:

  • Safetensors: default, uses safetensors, fine for serializing latents and conditionings but may not support more complex types
  • Torch Unsafe: normal torch pt, should have widest compatibility, probably best if you have full control or trust of the remote instance.
  • Torch Safe: minimal safe implementation of torch pt, safe but only supports a small subset of types

Offloaded text encoder and VAE to remote instances

Offloaded text encoder and VAE to remote instances

Same but with lora and toggles to avoid loading unnecessary models:

Offloaded text encoder and VAE to remote instances, with lora