Comfy-Org / Comfy-Org/ComfyUI

Implement DiCache (for Flux, HunyuanVideo and WAN)

Open
#9,827 2 comments 3 reactions 0 assignees View on GitHub
Feature
Dominant language
Python
Stars
133k
Forks
15.7k
Avg merge
1d 7h
Merged PRs (30d)
158

Description

### Feature Idea

Their code (and paper and site) can be found here: https://github.com/Bujiazi/DiCache

An image tells a thousand words, right? Here are a thousand words.

Image

### Existing Solutions

EasyCache, TeaCache, .... and many others.

### Other

This one seems to be easy in code (just the forward function).
I unfortunately lack the python and comfyui skill to implement this so i'm just throwing this out here hoping someone would be skilled enough to pick it up and implement it. From their results this seems to be the best caching mechanism (for flux) to date improving speed and retaining detail.

Note that they only released code for Flux and HunyuanVideo, WAN is to be released at a future date (don't know when, ask them).

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.