Nodes Browser

ComfyDeploy: How ComfyUI-WorkflowCheckpointing works in ComfyUI?

What is ComfyUI-WorkflowCheckpointing?

Automatically creates checkpoints during workflow execution. If If an workflow is canceled or ComfyUI crashes mid-execution, then these checkpoints are used when the workflow is re-queued to resume execution with minimal progress loss.

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 ComfyUI-WorkflowCheckpointing and select it
  5. Close the build step dialig and then click on the "Save" button to rebuild the machine

ComfyUI-WorkflowCheckpointing

Automatically creates checkpoints during workflow execution. If If an workflow is canceled or ComfyUI crashes mid-execution, then these checkpoints are used when the workflow is re-queued to resume execution with minimal progress loss.

Configuration

By default, checkpoints are saved localy to a checkpoint folder.

Networked checkpoints backed by the Salad Simple Storage Service can be enabled by setting the SALAD_ORGANIZATION environment variable. When deployed to salad, authentication is automatically pulled, but an api key can be applied when testing locally by setting SALAD_API_KEY

If a request sent to /prompt contains a client_id. It is utilized to allow independent caching of executions by multiple users.

To facilitate testing FORCE_CRASH_AT can be set to an integer to terminate workflow execution at a given sampling step