refactor: remove unused parameter from create_config method in LightX2VQuantization for cleaner implementation

This commit is contained in:
gaclove
2025-10-21 17:21:44 +08:00
parent 50844d8dfe
commit bc9b43c89c
-2
View File
@@ -350,7 +350,6 @@ class LightX2VQuantization:
def create_config(
self,
dit_quant_schema,
dit_quant_scheme,
t5_quant_scheme,
clip_quant_scheme,
@@ -358,7 +357,6 @@ class LightX2VQuantization:
):
"""Create quantization configuration."""
config = QuantizationConfig(
quant_op=quant_op,
dit_quant_scheme=dit_quant_scheme,
t5_quant_scheme=t5_quant_scheme,
clip_quant_scheme=clip_quant_scheme,