22 Commits

Author SHA1 Message Date
Yousef R. Gamaleldin
8ede2b6fa9
Merge branch 'master' into yousef 2025-08-31 14:14:40 +03:00
Jedrzej Kosinski
fc247150fe
Implement EasyCache and Invent LazyCache (#9496)
* Attempting a universal implementation of EasyCache, starting with flux as test; I screwed up the math a bit, but when I set it just right it works.

* Fixed math to make threshold work as expected, refactored code to use EasyCacheHolder instead of a dict wrapped by object

* Use sigmas from transformer_options instead of timesteps to be compatible with a greater amount of models, make end_percent work

* Make log statement when not skipping useful, preparing for per-cond caching

* Added DIFFUSION_MODEL wrapper around forward function for wan model

* Add subsampling for heuristic inputs

* Add subsampling to output_prev (output_prev_subsampled now)

* Properly consider conds in EasyCache logic

* Created SuperEasyCache to test what happens if caching and reuse is moved outside the scope of conds, added PREDICT_NOISE wrapper to facilitate this test

* Change max reuse_threshold to 3.0

* Mark EasyCache/SuperEasyCache as experimental (beta)

* Make Lumina2 compatible with EasyCache

* Add EasyCache support for Qwen Image

* Fix missing comma, curse you Cursor

* Add EasyCache support to AceStep

* Add EasyCache support to Chroma

* Added EasyCache support to Cosmos Predict t2i

* Make EasyCache not crash with Cosmos Predict ImagToVideo latents, but does not work well at all

* Add EasyCache support to hidream

* Added EasyCache support to hunyuan video

* Added EasyCache support to hunyuan3d

* Added EasyCache support to LTXV (not very good, but does not crash)

* Implemented EasyCache for aura_flow

* Renamed SuperEasyCache to LazyCache, hardcoded subsample_factor to 8 on nodes

* Eatra logging when verbose is true for EasyCache
2025-08-22 22:41:08 -04:00
comfyanonymous
9df8792d4b
Make last PR not crash comfy on old pytorch. (#9324) 2025-08-13 15:12:41 -04:00
contentis
3da5a07510
SDPA backend priority (#9299) 2025-08-13 14:53:27 -04:00
Yousef Rafat
1d923123b0 styling 2025-07-31 02:28:17 +03:00
Yousef Rafat
f2a2d6b7b0 style changes 2025-07-31 02:07:57 +03:00
Yousef Rafat
db06eebbd8 compatibility with previous nodes + block replace 2025-07-17 23:53:27 +03:00
Yousef Rafat
491a49c828 merged vaes and improved surface net 2025-07-13 13:54:13 +03:00
Yousef Rafat
dff570e364 file management and removed code redundancy 2025-07-12 00:00:25 +03:00
Yousef Rafat
f49e4b5411 integerated hunyuan3dv2_1 2025-07-10 19:58:59 +03:00
Yousef Rafat
3ac2861b17 fixed a bug in saving 2025-07-09 00:38:15 +03:00
Yousef Rafat
84bcc096ce removed trimesh, replacing with native impl. 2025-07-09 00:34:40 +03:00
Yousef Rafat
5b246946f6 testing and small fixes 2025-07-08 15:33:47 +03:00
Yousef Rafat
174655006c fixed some bugs and rewrote OpenCV resize funcs 2025-07-08 00:51:21 +03:00
Yousef Rafat
b3839ca722 Added Pipeline, Conditioner, Diffusion, Scheduler,
and Image Processor
2025-07-05 21:05:53 +03:00
Yousef Rafat
cd94296273 Merge branch 'yousef' 2025-07-05 21:01:59 +03:00
Yousef Rafat
6515519507 Added Pipeline, Conditioner, Diffusion, Scheduler, and Image Processor 2025-07-05 20:57:24 +03:00
Yousef R. Gamaleldin
b445dd3af3
Update moe.py
fixed not returning y in the forward method of MoEBlock
2025-06-29 14:10:56 +03:00
Yousef Rafat
8ecad4cbb3 Added MoE file for the Hunyuan 3D 2.1 Model 2025-06-29 11:39:34 +03:00
Yousef Rafat
295cdb1a81 Implementation of VAE for Hunyuan 3D 2.1 2025-06-28 01:27:44 +03:00
comfyanonymous
32ca0805b7 Fix orientation of hunyuan 3d model. 2025-03-19 19:55:24 -04:00
comfyanonymous
11f1b41bab Initial Hunyuan3Dv2 implementation.
Supports the multiview, mini, turbo models and VAEs.
2025-03-19 16:52:58 -04:00