[Multimodal] Expose mm hash algothrim selection to cli args (#49686)
Signed-off-by: Isotr0py <Isotr0py@outlook.com>
This commit is contained in:
@@ -24,6 +24,11 @@ def test_mm_encoder_attn_backend_invalid():
|
||||
MultiModalConfig(mm_encoder_attn_backend="not_a_backend") # type: ignore[arg-type]
|
||||
|
||||
|
||||
def test_mm_hasher_algorithm_invalid():
|
||||
with pytest.raises(ValueError, match="mm_hasher_algorithm"):
|
||||
MultiModalConfig(mm_hasher_algorithm="md5") # type: ignore[arg-type]
|
||||
|
||||
|
||||
def test_mm_encoder_attn_backend_hash_updates():
|
||||
base_hash = MultiModalConfig().compute_hash()
|
||||
overridden_hash = MultiModalConfig(
|
||||
|
||||
Reference in New Issue
Block a user