2025-01-17 13:43:11 +08:00
2025-01-16 15:46:49 +08:00
2025-01-15 10:26:17 +08:00
2025-01-15 10:21:46 +08:00
2025-01-16 15:46:49 +08:00
2025-01-15 10:21:46 +08:00
2025-01-17 13:42:43 +08:00
2025-01-17 13:43:11 +08:00
2025-01-17 13:42:43 +08:00
2025-01-16 17:04:55 +08:00
2025-01-17 13:42:43 +08:00

ComfyUI-Lightning

The codes are modified from SageAttention, ComfyUI-TeaCache, comfyui-flux-accelerator and Comfy-WaveSpeed.

I use follow tips to accelerate FLUX inference speed:

  1. Add TeaCache or FBCache or MBCache;
  2. Skip some unnessasery blocks;
  3. Compile and quantize model;
  4. Use fast CuDNN attention kernels;
  5. Use SageAttention;
  6. Fix AttributeError: 'SymInt' object has no attribute 'size' to speed up recompilation after a resolution change.

MBCache extends FBCache and is applied to cache multiple blocks. More details see above given repositories.

Usage

fbcache_and_skip_blocks

teacache_and_skip_blocks

S
Description
No description provided
Readme MIT
4.3 MiB
Languages
Python 99.9%