[Feature]: support Flux.2-dev tea_cache (#1871)

Co-authored-by: wuzhongjian <wuzhongjian@cmss.chinamobile.com>
This commit is contained in:
JohnJanandwuzhongjian authored and GitHub committed 2026-04-13 17:51:48 +08:00
1 parent 0d4e975e1b
commit cd2761e15c
5 files changed
+281 -2

No files matched your search

+9
View File
@@ -64,6 +64,15 @@ _MODEL_COEFFICIENTS = {
-1.04182570e01,
6.78098549e-01,
],
# Flux2 transformer coefficients
# Copied from Qwen-Image, need to be tuned specifically for Flux2 in future
"Flux2Transformer2DModel": [
-4.50000000e02,
2.80000000e02,
-4.50000000e01,
3.20000000e00,
-2.00000000e-02,
],
}