Skip to content

Commit

Permalink
Print quant_config
Browse files Browse the repository at this point in the history
Signed-off-by: Flavia Beo <[email protected]>
  • Loading branch information
flaviabeo committed Oct 21, 2024
1 parent 80f5874 commit 3025341
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions vllm/model_executor/models/bert.py
Original file line number Diff line number Diff line change
Expand Up @@ -390,8 +390,9 @@ def __init__(
) -> None:
super().__init__()
self.model = BertModel(config, cache_config, quant_config)
print("====================================================")
print(cache_config.__dict__)
print("======================== quant_config.__dict__ ============================")
print(quant_config.__dict__)
print("======================== quant_config.__dict__ ============================")
# self.pooling_type = ModelConfig.get_pooling_type(config)
# self._pooler = Pooler(pooling_type=self.pooling_type, normalize=True)
self._pooler = Pooler(PoolingType.CLS, normalize=True)
Expand Down

0 comments on commit 3025341

Please sign in to comment.