1
0
mirror of https://github.com/kijai/ComfyUI-WanVideoWrapper.git synced 2026-01-28 12:20:55 +03:00

Update nodes_model_loading.py

This commit is contained in:
kijai
2025-07-22 15:41:32 +03:00
parent 98fa84bb17
commit bfd6af8141

View File

@@ -801,8 +801,8 @@ class WanVideoModelLoader:
quantization = "fp8_e5m2_scaled"
break
if "scaled_fp8" in sd and quantization != "fp8_e4m3fn_scaled":
raise ValueError("The model is a scaled fp8 model, please set quantization to 'fp8_e4m3fn_scaled'")
if "scaled_fp8" in sd and "scaled" not in quantization:
raise ValueError("The model is a scaled fp8 model, please set quantization to '_scaled'")
if merge_loras and "scaled" in quantization:
raise ValueError("scaled models currently do not support merging LoRAs, please disable merging or use a non-scaled model")