[V1] Enable multi-input by default (#15799)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
@@ -972,10 +972,13 @@ def test_limit_mm_per_prompt_dummy(model_id, limit, num_supported, is_valid):
|
||||
if is_valid:
|
||||
exc_ctx = nullcontext()
|
||||
else:
|
||||
exc_ctx = pytest.raises(ValueError, match="this model only supports")
|
||||
exc_ctx = pytest.raises(ValueError, match="The model only supports")
|
||||
|
||||
with exc_ctx:
|
||||
profiler.get_decoder_dummy_data(model_config.max_model_len)
|
||||
profiler.get_decoder_dummy_data(
|
||||
model_config.max_model_len,
|
||||
mm_counts=limit_mm_per_prompt,
|
||||
)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("model_id", ["llava-hf/llava-v1.6-mistral-7b-hf"])
|
||||
|
||||
Reference in New Issue
Block a user