🔶 Cache Reloader Any-> Load
🔶 Cache Reloader Any-> Load
- restart
- any_pre_Save_Out
- ANY
ComfyUI graphs aren't allowed to have real cycles - you can't wire a node's output back into its own input and expect it to work. That's the actual problem this node exists to solve. Chaosaiart's whole animation approach is "generate frame N, feed frame N's result into frame N+1" run over run, and since the graph itself can't loop, the pack fakes it with a save/load pair that persists a value across separate executions of the same workflow. This is the "Load" half, and it works on literally any data type - model, latent, a number, a string, whatever you wire in.
The mechanism: somewhere else in your graph, a matching chaosaiart_reloadAny_Save node writes a value tagged with a specific reloader slot number. This Load node, tagged with the same reloader number, hands that saved value back out on the next run. The restart input (wired from chaosaiart_restarter_advanced's RESTART output) is what tells it whether it's actually a "next run" or the very first one. On the first run there's nothing saved yet, so it falls back to whatever you plug into any_pre_Save_Out - your default/seed value. After that, every subsequent run pulls whatever was saved last time.
The fields that matter: any_pre_Save_Out is the fallback value used only on frame one (type *, so it accepts anything - hook up whatever your "starting" value should be). reloader is just an integer 0–100 that acts as the slot ID; it has to match the number on the Save node you're pairing it with. If you've got multiple Save/Load pairs caching different things (say, a latent and a running counter), give each pair its own reloader number or they'll collide. restart is required and has to come from the restarter node - this isn't optional wiring you can skip.
Output is a single ANY passthrough carrying whichever value applies for this run.
Install the same way as the rest of the pack: search "Chaosaiart-Nodes" in ComfyUI Manager, or Manager's "Install via Git URL" pointed at https://github.com/chaosaiart/Chaosaiart-Nodes. Manually: cd ComfyUI/custom_nodes && git clone https://github.com/chaosaiart/Chaosaiart-Nodes, then restart. Linux users additionally need pip install opencv-python and pip install tqdm (activate your venv first) - the Windows installer script does this step automatically, the Linux path doesn't.
Where people get stuck: this node does nothing useful if you only queue the workflow once - the whole point is that it behaves differently across repeated executions, so you need chaosaiart_restarter_advanced actually driving a loop (queue-many, "run forever," or manual repeated queuing) for the cache to ever populate. The other classic mistake is a reloader number mismatch - Save writes to slot 3, Load reads from slot 4, and you get silence or a stale default forever with no error telling you why. If your animation loop looks completely static frame after frame, check that number first before assuming your sampler settings are wrong.
Inputs (3)
| Name | Type | Default | Description |
|---|---|---|---|
| restart | RESTART | — | |
| any_pre_Save_Out | * | — | |
| reloader | INT | 00–100 | — |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| ANY | * | — |