fix: Propagate Quantization Configuration to HunyuanVideo-1.5 I2V Transformer to Enable FP8 Layers (#4245)

Signed-off-by: weizhoublue <weizhou.lan@daocloud.io>
This commit is contained in:
weizhoublue authored and GitHub committed 2026-06-09 15:28:32 +08:00
1 parent 5de3b11822
commit 1b85df0510
3 files changed
+165 -1

No files matched your search

@@ -186,7 +186,9 @@ class HunyuanVideo15I2VPipeline(
self.scheduler._shift = od_config.flow_shift
transformer_kwargs = get_transformer_config_kwargs(od_config.tf_model_config, HunyuanVideo15Transformer3DModel)
self.transformer = HunyuanVideo15Transformer3DModel(od_config=od_config, **transformer_kwargs)
self.transformer = HunyuanVideo15Transformer3DModel(
od_config=od_config, quant_config=od_config.quantization_config, **transformer_kwargs
)
self.use_meanflow = getattr(od_config.tf_model_config, "use_meanflow", False)