[Mypy Fix] Mypy fix for "vllm/model_executor/models/[aA][bB]" (#48977)
Signed-off-by: yewentao256 <zhyanwentao@126.com>
This commit is contained in:
@@ -97,6 +97,7 @@ class BertPooler(SequencePooler):
|
||||
def __init__(self, model_config: ModelConfig):
|
||||
pooler_config = model_config.pooler_config
|
||||
assert pooler_config is not None
|
||||
assert pooler_config.seq_pooling_type is not None
|
||||
|
||||
config: BertConfig = model_config.hf_config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user