From 55463a6290f14d7ec70e14916c1c82fc2e2acf7a Mon Sep 17 00:00:00 2001 From: kijai <40791699+kijai@users.noreply.github.com> Date: Fri, 17 Oct 2025 18:12:54 +0300 Subject: [PATCH] Fix audio_cfg_scale --- nodes_sampler.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nodes_sampler.py b/nodes_sampler.py index a1199a0..a828943 100644 --- a/nodes_sampler.py +++ b/nodes_sampler.py @@ -1116,6 +1116,7 @@ class WanVideoSampler: humo_image_cond=None, humo_image_cond_neg=None, humo_audio=None, humo_audio_neg=None, wananim_pose_latents=None, wananim_face_pixels=None, uni3c_data=None, latent_model_input_ovi=None, flashvsr_LQ_latent=None,): nonlocal transformer + nonlocal audio_cfg_scale autocast_enabled = ("fp8" in model["quantization"] and not transformer.patched_linear) with torch.autocast(device_type=mm.get_autocast_device(device), dtype=dtype) if autocast_enabled else nullcontext():