Save 4 hours! We auto-setup your workflow! Free!

Drop your workflow.json — we handle every dependency, custom node, and model. Just open the link and run.

Auto-Setup Workflow Json (Free) Now!
ComfyUI > Nodes > ComfyUI-H3-AudioRefine > H3 Frozen Video Cache

ComfyUI Node: H3 Frozen Video Cache

Class Name

H3FrozenVideoCache

Category
model/minimax
Author
Adudeguyman (Account age: 1039days)
Extension
ComfyUI-H3-AudioRefine
Latest Updated
2026-08-27
Github Stars
0.08K

How to Install ComfyUI-H3-AudioRefine

Install this extension via the ComfyUI Manager by searching for ComfyUI-H3-AudioRefine
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-H3-AudioRefine in the search bar
After installation, click the Restart button to restart ComfyUI. Then, manually refresh your browser to clear the cache and access the updated list of nodes.

Visit ComfyUI Online for ready-to-use ComfyUI environment

  • Free trial available
  • 16GB VRAM to 80GB VRAM GPU machines
  • 400+ preloaded models/nodes
  • Freedom to upload custom models/nodes
  • 200+ ready-to-run workflows
  • 100% private workspace with up to 200GB storage
  • Dedicated Support

Run ComfyUI Online

H3 Frozen Video Cache Description

Optimizes audio refinement in AI models using frozen-video cache for efficient processing and resource management.

H3 Frozen Video Cache:

The H3FrozenVideoCache is a specialized node designed to optimize the audio refinement process in AI models by leveraging a frozen-video key-value (KV) cache. This node is particularly useful when the video stream is fully frozen, meaning that the denoise mask is set to zero across the video, and the audio is fully generated. In such scenarios, the node ensures that non-audio rows of the packed sequence, such as text and video, receive constant inputs and timesteps, making their attention key/value pairs identical across steps, except for their interaction with changing audio tokens. By caching these constant inputs, the node reduces computational overhead by severing the video-to-audio attention edge, allowing the model to compute only the audio rows while attending to the cached key/value pairs. This approach approximates the model's behavior by stopping cached context rows from reacting to audio changes between cache rebuilds. The node activates only when the model is called with a fully frozen video mask and fully generated audio, ensuring efficient processing and resource management.

H3 Frozen Video Cache Input Parameters:

backend

The backend parameter determines where the cache is stored, with options including "ram" for host memory and "disk" for storage on a drive. Choosing "ram" allows for faster access times but requires sufficient RAM, while "disk" can handle larger caches at the cost of increased SSD wear. The default is typically "ram," but users can enable "disk" if they accept the associated wear and have large cache requirements.

precision

The precision parameter specifies the numerical precision used in computations, with options such as "fp8," "bf16," or "int4." Higher precision like "bf16" offers more accurate results but requires more memory, while lower precision like "int4" reduces memory usage at the cost of potential accuracy loss. The default precision is often "bf16," balancing accuracy and resource usage.

allow_disk

The allow_disk parameter is a boolean toggle that, when enabled, allows the cache to be written to disk. This is useful for handling large caches that exceed RAM capacity but should be used with caution due to potential SSD wear. The default setting is typically False to prevent unintended disk usage.

verbose

The verbose parameter controls the level of logging detail. When set to True, it provides detailed logs of the cache building and usage process, which can be helpful for debugging and performance monitoring. The default is usually False to minimize log output.

H3 Frozen Video Cache Output Parameters:

cache_status

The cache_status output provides information on the current state of the cache, including whether it was successfully built, the number of blocks cached, and any errors encountered during the process. This output is crucial for understanding the effectiveness of the cache and diagnosing potential issues.

memory_usage

The memory_usage output details the amount of memory used by the cache, both in RAM and on disk if applicable. It helps users monitor resource consumption and make informed decisions about cache configuration and system requirements.

H3 Frozen Video Cache Usage Tips:

  • To optimize performance, ensure that your system has sufficient RAM if using the "ram" backend, or enable allow_disk if you have large cache requirements and are willing to accept SSD wear.
  • Use the precision parameter to balance between accuracy and resource usage, selecting lower precision for faster performance when high accuracy is not critical.
  • Enable verbose logging during initial setup or troubleshooting to gain insights into the cache's behavior and identify potential bottlenecks.

H3 Frozen Video Cache Common Errors and Solutions:

"H3 Frozen Video Cache: this PyTorch build has no float8_e4m3fn"

  • Explanation: This error occurs when the selected precision "fp8" is not supported by the current PyTorch build.
  • Solution: Switch to a supported precision such as "bf16" or "int4" to resolve the issue.

"H3 Frozen Video Cache: writing X GB to disk for this cache build"

  • Explanation: This warning indicates that the cache is being written to disk, which can cause SSD wear.
  • Solution: Consider reducing the cache size or using the "ram" backend if possible, or accept the disk usage if necessary.

"H3 Frozen Video Cache: could not pin cache memory (RAM pressure)"

  • Explanation: This warning suggests that the system is under RAM pressure, preventing memory from being pinned for faster access.
  • Solution: Free up RAM by closing unnecessary applications or increase system RAM to allow for memory pinning.

H3 Frozen Video Cache Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-H3-AudioRefine
RunComfy
Copyright 2025 RunComfy. All Rights Reserved.

RunComfy is the premier ComfyUI platform, offering ComfyUI online environment and services, along with ComfyUI workflows featuring stunning visuals. RunComfy also provides AI Models, enabling artists to harness the latest AI tools to create incredible art.

H3 Frozen Video Cache