Skip to main content
The QwenImage21Cache node configures the KV prefix cache of the Qwen-Image 2.1 model: where the cached keys and values are stored and at what precision. Text and reference tokens are computed once and reused across sampling steps, which is where most of the speedup on edit workflows comes from, and this node lets you trade memory for speed or rule the cache out entirely. This node is marked as experimental.

Inputs

When the cache does not fit, the model recomputes the prefix instead of evicting the other branch’s slot, so an oversized setting degrades speed rather than failing the run.

Outputs

This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! Edit on GitHub

Source fingerprint (SHA-256): 0c10cdb465d1ee4063273ffbb4913def3830f7e329694cd0a2e292d6f3c37ae4