ComfyUI > Nodes > ComfyUI-TeaCache

ComfyUI Extension: ComfyUI-TeaCache

Repo Name

ComfyUI-TeaCache

Author
welltop-cn (Account age: 1895 days)
Nodes
View all nodes(3)
Latest Updated
2025-04-24
Github Stars
0.76K

How to Install ComfyUI-TeaCache

Install this extension via the ComfyUI Manager by searching for ComfyUI-TeaCache
  • 1. Click the Manager button in the main menu
  • 2. Select Custom Nodes Manager button
  • 3. Enter ComfyUI-TeaCache 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

ComfyUI-TeaCache Description

ComfyUI-TeaCache is an unofficial implementation of TeaCache for ComfyUI, designed to enhance caching capabilities within the user interface, optimizing performance and resource management.

ComfyUI-TeaCache Introduction

ComfyUI-TeaCache is an innovative extension designed to enhance the performance of AI models used in creative applications such as image, video, and audio diffusion. This extension integrates the Timestep Embedding Aware Cache (TeaCache) into ComfyUI, a user-friendly interface for AI model workflows. TeaCache is a training-free caching approach that estimates and leverages the differences in model outputs across various timesteps, significantly accelerating the inference process. For AI artists, this means faster generation times without compromising the quality of the output, making it an invaluable tool for those working with diffusion models.

How ComfyUI-TeaCache Works

At its core, ComfyUI-TeaCache operates by caching certain computations that occur during the model's inference process. Imagine you are baking a cake, and you have to measure ingredients repeatedly. Instead of measuring each time, you measure once and reuse that measurement. Similarly, TeaCache identifies and stores certain computations that remain consistent across timesteps, allowing the model to skip redundant calculations. This results in a faster workflow, akin to having pre-measured ingredients ready to go, thus speeding up the baking process.

ComfyUI-TeaCache Features

ComfyUI-TeaCache offers several features that enhance its usability and performance:

  • Seamless Integration: The extension integrates smoothly with ComfyUI's native nodes, allowing you to easily add the TeaCache node to your workflow.
  • Retention Mode: This feature is available for specific models like Wan2.1, providing faster generation times and improved quality.
  • Max Skip Steps Option: This allows you to balance between speed and quality by adjusting how many steps the model can skip during inference.
  • Unified Node for Image and Video: Previously separate nodes for image and video generation have been merged into a single TeaCache node, simplifying the workflow.

ComfyUI-TeaCache Models

ComfyUI-TeaCache supports a variety of models, each optimized for different tasks:

  • FLUX: Ideal for text-to-image tasks, offering up to 2x speedup.
  • PuLID-FLUX: Provides a 1.7x speedup for image generation.
  • HunyuanVideo: Suitable for video tasks, achieving a 1.9x speedup.
  • LTX-Video: Offers a 1.7x speedup for video generation.
  • CogVideoX: Supports both text-to-video and image-to-video, with a 2x speedup.
  • Wan2.1: Available in various configurations for text-to-video and image-to-video, with speedups ranging from 1.6x to 2.3x.

What's New with ComfyUI-TeaCache

Recent updates have introduced several enhancements:

  • Retention Mode for Wan2.1: Improves both speed and quality.
  • Max Skip Steps: Offers a customizable balance between speed and quality.
  • Bug Fixes: Various bugs have been addressed, improving overall stability and performance.

Troubleshooting ComfyUI-TeaCache

If you encounter issues with ComfyUI-TeaCache, here are some common solutions:

  • Low-Quality Output: If the generated video appears static or lacks motion, try reducing the rel_l1_thresh or max_skip_steps settings.
  • Node Removal Issues: If removing a TeaCache node doesn't revert the workflow, ensure you are using the latest version, which fixes this bug.

Learn More about ComfyUI-TeaCache

To further explore ComfyUI-TeaCache, consider visiting the TeaCache project page for detailed information and updates. Additionally, you can find community support and discussions on platforms like GitHub, where you can ask questions and share your experiences with other AI artists.

ComfyUI-TeaCache Related Nodes

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 Playground, enabling artists to harness the latest AI tools to create incredible art.