Restart in ComfyUI restarts the UI and reloads all nodes, preserving your workflow state.

Restarting ComfyUI refreshes the interface, reloads all nodes, and clears temporary errors without losing your current workflow. This process helps resolve issues like unresponsive nodes, failed connections, or memory leaks while keeping your project intact.

Methods to restart ComfyUI

  • UI Restart: Click the "Restart" button in the ComfyUI interface to refresh the UI without closing the application.
  • Service Restart: Use the ComfyUI manager to restart the ComfyUI service, which reloads all nodes and clears memory.
  • Manual Restart: Close ComfyUI completely and relaunch it from the command line or desktop shortcut.

When to use restart in ComfyUI

  • Unresponsive nodes: If nodes freeze or stop responding, a restart can restore functionality.
  • Failed connections: Restarting can resolve issues where nodes fail to connect or communicate properly.
  • Memory leaks: If ComfyUI consumes excessive memory, restarting clears the memory cache.

Comparison of restart methods

Method Duration Impact
UI Restart Seconds Preserves workflow
Service Restart Minutes Reloads all nodes
Manual Restart Minutes Full refresh

Best practices for restarting ComfyUI

  • Save your workflow: Always save your current workflow before restarting to avoid losing progress.
  • Check for updates: Restarting can help apply updates to ComfyUI or installed nodes.
  • Monitor performance: Use restart as a troubleshooting step if ComfyUI becomes sluggish or unresponsive.