Skip to content

Commit 3724d5f

Browse files
authored
[Bugfix][Model] Fix Python 3.8 compatibility in Pixtral model by updating type annotations (#8490)
1 parent 50e9ec4 commit 3724d5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vllm/model_executor/models/pixtral.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -454,7 +454,7 @@ def forward(
454454
return x
455455

456456

457-
def position_meshgrid(patch_embeds_list: list[torch.Tensor], ) -> torch.Tensor:
457+
def position_meshgrid(patch_embeds_list: List[torch.Tensor], ) -> torch.Tensor:
458458
positions = torch.cat([
459459
torch.stack(
460460
torch.meshgrid(

0 commit comments

Comments
 (0)