ComfyUI Node

SSG Smart Vault

Cache a generation in RAM and stop re-running the model

By SgtSauv·Created 7 days ago·Updated a day ago· 1
SSG Smart Vault
  • SSG_0
  • SSG_1
  • SSG_2
  • SSG_3
  • SSG_4
  • SSG_5
  • SSG_6
  • SSG_7
  • SSG_8
  • SSG_9
  • SSG_10
  • SSG_11
  • SSG_12
  • SSG_13
  • SSG_14
  • SSG_15
  • SSG_16
  • SSG_17
  • SSG_18
  • SSG_19
  • SSG_20
  • SSG_21
  • SSG_22
  • SSG_23
flush_switchtrue
cache_switchfalse

SSG Smart Vault is the suite's memory node: an inline buffer that records a run's 24 lanes into RAM and can play them back later without re-running whatever produced them. The pitch is prompt iteration and upscaling - you generate a base latent once, "record" it, then iterate on the downstream upscale/refine stages over and over while the Vault hands back the cached tensors instead of re-running the whole model. If that sounds like the ideal workflow-caching node, it half-delivers, and the half it misses matters.

The state machine is a tri-state mutex you drive with two booleans, flush_switch (default on) and cache_switch (default off):

  • BUFFER (recording): flush_switch on, cache_switch off. Signals pass through live and are written into the in-process cache. This is the "warm the vault" pass.
  • PLAYBACK: cache_switch on. The node ignores its live inputs entirely and returns whatever's in the cache for that vault. This is the fast iteration mode.
  • FROZEN: both off. Signals pass through live but nothing is written, so the stored cache stays as it was.

The frontend renders a state badge on the node title (❄ / 🔴 / ⚡) so you can tell at a glance. Inputs and outputs are the usual 24 wildcard SSG_0SSG_23 bus, and each Vault is keyed by a vault_id the frontend auto-generates - distinct Vaults don't stomp each other's cache.

Now the reality check, because the README oversells. It calls PLAYBACK "severed" and promises "zero upstream execution time" - that's not how ComfyUI works. The Vault's Python just reads the cache and returns it; the nodes wired into its inputs will still execute, because ComfyUI schedules by wired dependencies and doesn't know the Vault is ignoring them. You get the caching win - downstream iterating on cached tensors is genuinely fast - but you don't get ComfyUI magically skipping your model loaders. The second limitation is that the cache lives in process memory (torch._ssg_vault_registry). Restart ComfyUI and the vault is empty; playback on a cold vault returns Nones until you re-record. Plan around both and it's a handy iteration tool; expect either and you'll be confused.

Installing it

cd ComfyUI/custom_nodes
git clone https://github.com/SgtSauv/ComfyUI-SSG-Smart-Suite.git

Restart, or install via Manager by searching "SSG Smart Suite". No model files, no Python dependencies (requirements.txt literally says "No external dependencies"), just a console boot banner on startup.

Common issues

  • Playback returns Nones → cold vault: the cache was never recorded in this process, or ComfyUI was restarted. Run once in BUFFER, then switch to playback.
  • "Severed" doesn't actually skip upstream work → correct; the Vault ignores its inputs in playback but ComfyUI still runs what's wired in. Bypass the expensive loaders yourself if that's the goal.
  • Thin community → this suite has almost no Reddit presence as of 2026; GitHub issues is your support channel.
CategorySSG Network Logic

Inputs (26)

NameTypeDefaultDescription
flush_switchBOOLEANtrue
cache_switchBOOLEANfalse
SSG_0opt*
SSG_1opt*
SSG_2opt*
SSG_3opt*
SSG_4opt*
SSG_5opt*
SSG_6opt*
SSG_7opt*
SSG_8opt*
SSG_9opt*
SSG_10opt*
SSG_11opt*
SSG_12opt*
SSG_13opt*
SSG_14opt*
SSG_15opt*
SSG_16opt*
SSG_17opt*
SSG_18opt*
SSG_19opt*
SSG_20opt*
SSG_21opt*
SSG_22opt*
SSG_23opt*

Outputs (24)

NameTypeDescription
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*