[Mypy Fix] Mypy fix for "vllm/model_executor/models/[gG]" (#53616)

Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
Wentao Ye
2026-08-25 09:47:16 -07:00
committed by GitHub
parent 217a0b5cef
commit 70021a0081
26 changed files with 350 additions and 123 deletions
+1
View File
@@ -311,6 +311,7 @@ class GemmaModel(nn.Module):
hidden_states = self.embed_input_ids(input_ids)
residual = None
else:
assert intermediate_tensors is not None
hidden_states = intermediate_tensors["hidden_states"]
residual = intermediate_tensors["residual"]
for layer in islice(self.layers, self.start_layer, self.end_layer):