[Mypy] Fix mypy typing for Qwen and Qianfan models (#58046)

Signed-off-by: Ashraf Bhuiyan <mbhuiyan@redhat.com>
This commit is contained in:
Ashraf Bhuiyan
2026-09-26 14:31:51 +00:00
committed by GitHub
parent dfab504333
commit 5113cf9d16
23 changed files with 302 additions and 157 deletions
+3
View File
@@ -757,6 +757,9 @@ class Qwen3NextModel(nn.Module, EagleModelMixin):
class QwenNextMixtureOfExperts(MixtureOfExperts):
model: Qwen3NextModel
num_local_physical_experts: int
def update_physical_experts_metadata(
self,
num_physical_experts: int,