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-Magic-Assistant > ⚡ Magic Cache 缓存加速 (TeaCache + FBCache)

ComfyUI Node: ⚡ Magic Cache 缓存加速 (TeaCache + FBCache)

Class Name

MagicCache

Category
✨ Magic Assistant
Author
shigjfg (Account age: 3708days)
Extension
ComfyUI-Magic-Assistant
Latest Updated
2026-06-02
Github Stars
0.02K

How to Install ComfyUI-Magic-Assistant

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

⚡ Magic Cache 缓存加速 (TeaCache + FBCache) Description

Versatile cache optimization node for AI models, combining TeaCache and FBCache functionalities for enhanced performance and resource management.

⚡ Magic Cache 缓存加速 (TeaCache + FBCache):

MagicCache is a versatile and efficient cache optimization node designed to enhance the performance of AI models by integrating the functionalities of TeaCache and FBCache. This node is particularly beneficial for AI artists and developers who require optimized processing speeds and resource management in their creative workflows. By supporting three distinct modes—TeaCache only, FBCache only, and a combination of both—MagicCache provides flexibility in how caching is handled, allowing users to tailor the caching strategy to their specific needs. The primary goal of MagicCache is to reduce computational overhead and improve the efficiency of model execution, making it an essential tool for those working with complex AI models in environments like ComfyUI. Its self-contained nature ensures that it operates independently of the original source files, providing a seamless and integrated experience.

⚡ Magic Cache 缓存加速 (TeaCache + FBCache) Input Parameters:

mode

The mode parameter determines the caching strategy employed by the MagicCache node. It can be set to one of three options: TeaCache only, FBCache only, or a combination of both. This parameter significantly impacts the node's execution by dictating how data is cached and retrieved, which in turn affects the speed and efficiency of model processing. Selecting the appropriate mode based on your specific use case can lead to optimized performance and resource utilization. The default value is typically set to a balanced mode that leverages both TeaCache and FBCache, but users can adjust this according to their needs.

⚡ Magic Cache 缓存加速 (TeaCache + FBCache) Output Parameters:

cached_data

The cached_data output parameter represents the data that has been processed and stored by the MagicCache node. This output is crucial as it provides the optimized data ready for further use in the AI model pipeline. The cached data ensures that repeated computations are minimized, thereby speeding up the overall processing time and reducing the computational load on the system. Understanding the structure and content of the cached data can help users effectively integrate it into subsequent stages of their workflow.

⚡ Magic Cache 缓存加速 (TeaCache + FBCache) Usage Tips:

  • To maximize performance, choose the caching mode that best fits your workflow requirements. For instance, if your model benefits more from temporal data caching, consider using the TeaCache mode.
  • Regularly monitor the performance impact of different caching strategies to ensure that the selected mode continues to meet your needs as your project evolves.

⚡ Magic Cache 缓存加速 (TeaCache + FBCache) Common Errors and Solutions:

"Cache mode not supported"

  • Explanation: This error occurs when an invalid or unsupported caching mode is selected.
  • Solution: Verify that the mode parameter is set to one of the supported options: TeaCache only, FBCache only, or a combination of both.

"Cached data retrieval failed"

  • Explanation: This error indicates that the node was unable to retrieve data from the cache, possibly due to a misconfiguration or corrupted cache.
  • Solution: Ensure that the cache is properly configured and that the data being accessed is available and not corrupted. Consider clearing the cache and re-running the process if the issue persists.

⚡ Magic Cache 缓存加速 (TeaCache + FBCache) Related Nodes

Go back to the extension to check out more related nodes.
ComfyUI-Magic-Assistant
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.

⚡ Magic Cache 缓存加速 (TeaCache + FBCache)