[EPD] Support metadata-only audio inputs (#57887)
Signed-off-by: Tianyu Guo <guoty@inferact.ai> Co-authored-by: Cyrus Leung <tlleungac@connect.ust.hk>
This commit is contained in:
co-authored by
Cyrus Leung
parent
826e300cde
commit
3ee2906f47
@@ -144,6 +144,11 @@ def test_qwen3_omni_get_updates_use_audio_in_video(
|
||||
# Create a mock context
|
||||
mock_ctx = Mock(spec=InputProcessingContext)
|
||||
mock_ctx.tokenizer = mock_tokenizer
|
||||
# `model_config` is an instance attribute, so it is not covered by the
|
||||
# spec; the data parser reads it for `allow_missing_mm_embeddings`.
|
||||
mock_ctx.model_config = SimpleNamespace(
|
||||
multimodal_config=SimpleNamespace(allow_missing_mm_embeddings=False)
|
||||
)
|
||||
|
||||
# Create processing info
|
||||
info = Qwen3OmniMoeThinkerProcessingInfo(mock_ctx)
|
||||
|
||||
Reference in New Issue
Block a user