mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-10 01:24:54 +08:00
[Minor] Fix type annotation in Mixtral (#2036)
This commit is contained in:
parent
5dd80d3777
commit
81ce2a4b26
@ -251,7 +251,7 @@ class BlockSparseMoE(nn.Module):
|
||||
return column_indices_t, offsets_t, block_offsets_t
|
||||
|
||||
def topology(self, x: torch.Tensor,
|
||||
padded_bins: torch.Tensor) -> stk.Matrix:
|
||||
padded_bins: torch.Tensor) -> "stk.Matrix":
|
||||
padded_tokens, _ = x.size()
|
||||
assert padded_tokens % self.blocking == 0
|
||||
assert self.ffn_dim_per_partition % self.blocking == 0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user