From 4588c2d970f9eaba5f9c4850ab490f1302e62604 Mon Sep 17 00:00:00 2001 From: spawner Date: Sat, 7 Jun 2025 16:47:53 +0800 Subject: [PATCH] Update teacache_lumina2.py --- TeaCache4Lumina2/teacache_lumina2.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TeaCache4Lumina2/teacache_lumina2.py b/TeaCache4Lumina2/teacache_lumina2.py index 0145d24..021daea 100644 --- a/TeaCache4Lumina2/teacache_lumina2.py +++ b/TeaCache4Lumina2/teacache_lumina2.py @@ -68,7 +68,7 @@ def teacache_forward_working( current_cache["accumulated_rel_l1_distance"] = 0.0 else: if current_cache["previous_modulated_input"] is not None: - coefficients = [393.76566581, -603.50993606, 209.10239044, -23.00726601, 0.86377344] # taken from teacache_lumina_next.py + coefficients = [225.7042019806413, -608.8453716535591, 304.1869942338369, 124.21267720116742, -1.4089066892956552] rescale_func = np.poly1d(coefficients) prev_mod_input = current_cache["previous_modulated_input"] prev_mean = prev_mod_input.abs().mean()