diff --git a/vllm_omni/model_executor/models/hunyuan_image3/hunyuan_image3.py b/vllm_omni/model_executor/models/hunyuan_image3/hunyuan_image3.py index 0c2afb2ac..a59b30e44 100644 --- a/vllm_omni/model_executor/models/hunyuan_image3/hunyuan_image3.py +++ b/vllm_omni/model_executor/models/hunyuan_image3/hunyuan_image3.py @@ -1167,7 +1167,7 @@ def _hunyuan_image3_unpack_packed_topk( gating_output: torch.Tensor, topk: int, renormalize: bool, - num_experts: int, + num_experts: int | None = None, ) -> tuple[torch.Tensor, torch.Tensor]: """Unpack pre-computed ``(topk_weights, topk_indices)`` packed by :class:`HunyuanImage3SparseMoeBlock` into ``gating_output``.