[Bugfix]: Fix online serving failure when using deploy config (#3537)
Signed-off-by: KexiongYu <yukexiong1@huawei.com> Signed-off-by: Y. Fisher <yukexiong1@huawei.com>
This commit is contained in:
1 parent
e818dba016
commit
51b4b1131e
4 files changed
+9
-7
No files matched your search
@@ -1128,6 +1128,7 @@ def _hunyuan_image3_unpack_packed_topk(
|
||||
gating_output: torch.Tensor,
|
||||
topk: int,
|
||||
renormalize: bool,
|
||||
num_experts: int,
|
||||
) -> tuple[torch.Tensor, torch.Tensor]:
|
||||
"""Unpack pre-computed ``(topk_weights, topk_indices)`` packed by
|
||||
:class:`HunyuanImage3SparseMoeBlock` into ``gating_output``.
|
||||
|
||||
@@ -17,7 +17,7 @@ _HUNYUAN_IMAGE3_INPUT_PROCESSOR = "vllm_omni.model_executor.stage_input_processo
|
||||
|
||||
|
||||
HUNYUAN_IMAGE3_PIPELINE = PipelineConfig(
|
||||
model_type="hunyuan_image3",
|
||||
model_type="hunyuan_image_3_moe",
|
||||
model_arch=_HUNYUAN_IMAGE3_MODEL_ARCH,
|
||||
hf_architectures=_HUNYUAN_IMAGE3_HF_ARCHS,
|
||||
stages=(
|
||||
|
||||
Reference in new issue
Block a user