1
0
mirror of https://github.com/kijai/ComfyUI-WanVideoWrapper.git synced 2026-01-26 23:41:35 +03:00

Support mixed precision fp8 scaled models

This commit is contained in:
kijai
2025-12-22 21:40:14 +02:00
parent 41683a0423
commit 3e45021422

View File

@@ -1480,6 +1480,8 @@ class WanVideoModelLoader:
sd.update(extra_sd)
del extra_sd
sd = {k.replace(".weight_scale", ".scale_weight"): v for k, v in sd.items()}
# FlashVSR
if "LQ_proj_in.norm1.gamma" in sd:
log.info("FlashVSR model detected, patching model...")