> ## Documentation Index
> Fetch the complete documentation index at: https://docs.comfy.org/llms.txt
> Use this file to discover all available pages before exploring further.

# WanAnimate2Cache - ComfyUI Built-in Node Documentation

> Complete documentation for the WanAnimate2Cache node in ComfyUI. Learn its inputs, outputs, parameters and usage.

Caches the pose-video's per-block activations once so they do not need to be recomputed on every sampling step, which roughly halves generation time. The tradeoff is extra memory usage: about 12.5 GB of system RAM at 480x832 resolution with 81 frames in bf16, scaling with resolution and video length.

## Inputs

| Parameter | Description                                                                                                                                                                       | Data Type | Required | Range                             |
| --------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------- | -------- | --------------------------------- |
| `model`   | The Wan Animate2 model to attach the cache to.                                                                                                                                    | MODEL     | Yes      |                                   |
| `device`  | Where to keep the cache. cpu (RAM) is the safe choice, the cache will not fit in VRAM alongside the model at typical sizes. gpu (VRAM) can be faster if it fits. (default: "cpu") | STRING    | Yes      | "cpu"<br />"gpu"                  |
| `dtype`   | Storage precision. default stores the activations in the model's compute dtype. int8 halves the cache, int4 quarters it, convrot is used to retain accuracy. (default: "default") | STRING    | Yes      | "default"<br />"int8"<br />"int4" |

Note: When context windows are used, each window is cached separately, so memory usage scales with the window count. The static\_standard schedule should be used, because uniform schedules shift the windows on every step and the cache is never reused.

## Outputs

| Output Name | Description                                                                                                                | Data Type |
| ----------- | -------------------------------------------------------------------------------------------------------------------------- | --------- |
| `model`     | The cloned model with the pose-video activation cache attached. The cache is automatically freed when generation finishes. | MODEL     |

> This documentation was AI-generated. If you find any errors or have suggestions for improvement, please feel free to contribute! [Edit on GitHub](https://github.com/Comfy-Org/embedded-docs/blob/main/comfyui_embedded_docs/docs/WanAnimate2Cache/en.md)

***

**Source fingerprint (SHA-256):** `06305432601afd7c797ef29ef4be3f2bb1aa660e05edde270499e94ccdd54f84`
