Skip to content

Commit

Permalink
Mypy type ignore
Browse files Browse the repository at this point in the history
Signed-off-by: Flavia Beo <[email protected]>
  • Loading branch information
flaviabeo committed Oct 29, 2024
1 parent 0739409 commit 83eec19
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vllm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -433,8 +433,9 @@ def get_pooling_config(
pooling_type = self.get_pooling_type(
pooling_config["pooling_type"])
normalize = pooling_config["normalize"]
pooling_config = PoolingConfig(pooling_type=pooling_type,
normalize=normalize)
pooling_config = PoolingConfig(
pooling_type=pooling_type, # type: ignore
normalize=normalize)
if pooling_type_arg is not None:
pooling_config.pooling_type = self.get_pooling_type(
pooling_type_arg)
Expand Down

0 comments on commit 83eec19

Please sign in to comment.