add mimo-audio, Qwen-TTS model backbone quantization#1810
Open
WeiweiZhang1 wants to merge 5 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds audio/omni model quantization support paths for MiMo-Audio, Qwen3-TTS, StableAudio, and AudioCaps calibration data across MLLM and diffusion flows.
Changes:
- Registers audio model templates, processors, block handlers, and model-type resolution.
- Adds AudioCaps calibration dataset support for text and diffusion pipelines.
- Adds StableAudio pipeline/block handling and related documentation updates.
Reviewed changes
Copilot reviewed 15 out of 15 changed files in this pull request and generated 8 comments.
Show a summary per file
| File | Description |
|---|---|
test/README.md |
Updates model test category wording for Omni. |
test/helpers.py |
Extends tiny-model config reduction for audio/TTS configs. |
auto_round/utils/model.py |
Adds Qwen3-TTS loading and StableAudio pipeline fallback handling. |
auto_round/special_model_handler.py |
Adds MiMo-Audio/Qwen3-TTS model resolution, block handlers, and forward patching. |
auto_round/compressors/mllm/template.py |
Registers MiMo-Audio and Qwen3-TTS templates. |
auto_round/compressors/mllm/README.md |
Documents audio/omni MLLM support. |
auto_round/compressors/mllm/processor.py |
Adds text-only processors for MiMo-Audio and Qwen3-TTS. |
auto_round/compressors/mllm/compressor.py |
Uses resolved model type for template/dataset compatibility. |
auto_round/compressors/diffusion/README.md |
Adds StableAudio to diffusion validation table. |
auto_round/compressors/diffusion/dataset.py |
Adds AudioCaps CSV loading for diffusion calibration. |
auto_round/compressors/diffusion/compressor.py |
Adds StableAudio block output mapping. |
auto_round/compressors_new/mllm_mixin.py |
Uses resolved model type for new MLLM template selection. |
auto_round/compressors_new/diffusion_mixin.py |
Uses attached custom diffusion pipeline functions during calibration. |
auto_round/calib_dataset.py |
Adds AudioCaps as a text calibration dataset. |
auto_round/algorithms/quantization/base.py |
Adds StableAudio block input mapping to base quantization config. |
Comments suppressed due to low confidence (2)
auto_round/special_model_handler.py:442
- The newly registered audio model block handlers are not covered by tests. Similar multimodal handlers have tests for block discovery, forward patching, processor registration, and template registration in
test/test_cpu/models/test_omni_model.py; please add coverage for the MiMo-Audio and Qwen3-TTS paths so regressions inresolve_model_type,_handle_special_model, and template/processor registration are caught.
position_ids=None,
attention_mask=None,
auto_round/special_model_handler.py:430
- This fallback is also skipped when a
talker.modelattribute exists but does not exposelayers, so the standardmodel.model.layerslayout described above would not be discovered. Please make the layout checks independent or fall through when a candidate layout does not actually add any block names.
"qwen2_5_omni": _get_qwen2_5_omni_multimodal_block,
n1ck-guo
reviewed
May 13, 2026
n1ck-guo
reviewed
May 13, 2026
Contributor
|
LGTM |
Contributor
Author
|
/azp run Unit-Test-CUDA-AutoRound |
|
Azure Pipelines successfully started running 1 pipeline(s). |
yiliu30
approved these changes
May 13, 2026
Contributor
There was a problem hiding this comment.
Please add some UTs using dummy models; you may refer to:
auto-round/test/test_cuda/models/test_omni_model.py
Lines 55 to 59 in cb9b0b7
Left a few nitpicks; overall LGTM.
Signed-off-by: WeiweiZhang1 <weiwei1.zhang@intel.com>
for more information, see https://pre-commit.ci
Signed-off-by: WeiweiZhang1 <weiwei1.zhang@intel.com>
…caps utility, add explicit error for missing text pathway
79dbaeb to
7124716
Compare
for more information, see https://pre-commit.ci
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Support mimo-audio, Qwen-TTS model quantizationc(for new-architecture)
Type of Change
New feature
Related Issues
Fixes or relates to #
Checklist Before Submitting
/azp run Unit-Test-CUDA-AutoRound.