Skip to content

Commit 376ce81

Browse files
Xerxes-cnxinnan.hou
authored andcommitted
[Chore]: qwen3-moe-type-hints-mistake (vllm-project#19860)
Co-authored-by: xinnan.hou <[email protected]> Signed-off-by: fhl <[email protected]>
1 parent f6f4e71 commit 376ce81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/models/qwen3_moe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ def forward(
294294
positions: torch.Tensor,
295295
hidden_states: torch.Tensor,
296296
residual: Optional[torch.Tensor],
297-
) -> torch.Tensor:
297+
) -> tuple[torch.Tensor, torch.Tensor]:
298298
# Self Attention
299299
if residual is None:
300300
residual = hidden_states

0 commit comments

Comments
 (0)