Unverified Commit 5124f5bf authored by Roger Wang's avatar Roger Wang Committed by GitHub
Browse files

[Model] Qwen2.5-Omni Cleanup (#16872)

parent 83f3c3bd
...@@ -1117,8 +1117,8 @@ Our PaliGemma implementations have the same problem as Gemma 3 (see above) for b ...@@ -1117,8 +1117,8 @@ Our PaliGemma implementations have the same problem as Gemma 3 (see above) for b
::: :::
:::{note} :::{note}
To use Qwen2.5-Omni, you have to install a fork of Hugging Face Transformers library from source via To use Qwen2.5-Omni, you have to install Hugging Face Transformers library from source via
`pip install git+https://github.com/BakerBunker/transformers.git@qwen25omni`. `pip install git+https://github.com/huggingface/transformers.git`.
Read audio from video pre-processing is currently supported on V0 (but not V1), because overlapping modalities is not yet supported in V1. Read audio from video pre-processing is currently supported on V0 (but not V1), because overlapping modalities is not yet supported in V1.
`--mm-processor-kwargs '{"use_audio_in_video": True}'`. `--mm-processor-kwargs '{"use_audio_in_video": True}'`.
......
...@@ -518,9 +518,6 @@ class Qwen2_5OmniThinkerMultiModalProcessor( ...@@ -518,9 +518,6 @@ class Qwen2_5OmniThinkerMultiModalProcessor(
""" """
Qwen2.5-Omni reimplements this function to handle text only. Qwen2.5-Omni reimplements this function to handle text only.
""" """
print(prompt)
print(hf_processor_mm_kwargs)
print(mm_items)
if isinstance(prompt, str): if isinstance(prompt, str):
if enable_hf_prompt_update: if enable_hf_prompt_update:
return self._apply_hf_processor_text_mm( return self._apply_hf_processor_text_mm(
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment