File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
tests/models/multimodal/pooling Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -33,8 +33,10 @@ def _run_test(
33
33
skip_tokenizer_init = True ) as vllm_model :
34
34
vllm_model .encode (prompt )
35
35
36
+
36
37
MODELS = ["christian-pinto/Prithvi-EO-2.0-300M-TL-VLLM" ]
37
38
39
+
38
40
@pytest .mark .parametrize ("model" , MODELS )
39
41
def test_models_image (
40
42
hf_runner ,
Original file line number Diff line number Diff line change @@ -642,8 +642,6 @@ def __post_init__(self) -> None:
642
642
self .original_max_model_len = self .max_model_len
643
643
self .max_model_len = self .get_and_verify_max_len (self .max_model_len )
644
644
self .multimodal_config = self ._init_multimodal_config ()
645
- self .is_pooling_model = self .registry .is_pooling_model (
646
- self .architectures )
647
645
self .model_supports_multimodal_raw_input = (
648
646
self ._init_model_supports_multimodal_raw_input ())
649
647
if not self .skip_tokenizer_init :
@@ -1516,6 +1514,10 @@ def uses_mrope(self) -> bool:
1516
1514
@property
1517
1515
def is_multimodal_model (self ) -> bool :
1518
1516
return self .multimodal_config is not None
1517
+
1518
+ @property
1519
+ def is_pooling_model (self ) -> bool :
1520
+ return self .registry .is_pooling_model (self .architectures )
1519
1521
1520
1522
@property
1521
1523
def is_cross_encoder (self ) -> bool :
You can’t perform that action at this time.
0 commit comments