From 39908c9aea10c3bb1f041051dc5aef2a5ff311fe Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Tue, 19 Aug 2025 18:21:21 +0300 Subject: [PATCH] Fix fp8_fast with multitalk --- nodes_model_loading.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/nodes_model_loading.py b/nodes_model_loading.py index be893ab..60deda7 100644 --- a/nodes_model_loading.py +++ b/nodes_model_loading.py @@ -1272,7 +1272,7 @@ class WanVideoModelLoader: else: weight_dtype = base_dtype - params_to_keep = {"norm", "bias", "time_in", "patch_embedding", "time_", "img_emb", "modulation", "text_embedding", "adapter", "add", "ref_conv"} + params_to_keep = {"norm", "bias", "time_in", "patch_embedding", "time_", "img_emb", "modulation", "text_embedding", "adapter", "add", "ref_conv", "audio_proj"} control_lora = False @@ -1309,9 +1309,6 @@ class WanVideoModelLoader: raise NotImplementedError("fp8_fast is not supported with unmerged LoRAs") from .fp8_optimization import convert_fp8_linear convert_fp8_linear(transformer, base_dtype, params_to_keep, scale_weight_keys=scale_weights) - patch_linear = False - - #del sd if multitalk_model is not None: transformer.audio_proj = multitalk_model["proj_model"]