Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
0da30dbc
Unverified
Commit
0da30dbc
authored
Nov 06, 2025
by
jiapingW
Committed by
GitHub
Nov 06, 2025
Browse files
fix qwen3-omni audio length < 30s (#12674)
Co-authored-by:
canghua
<
canghua.wjp@alibaba-inc.com
>
parent
58095cb0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
python/sglang/srt/multimodal/processors/base_processor.py
python/sglang/srt/multimodal/processors/base_processor.py
+2
-0
No files found.
python/sglang/srt/multimodal/processors/base_processor.py
View file @
0da30dbc
...
...
@@ -245,6 +245,8 @@ class BaseMultimodalProcessor(ABC):
}:
# Note(Xinyuan): for gemma3n, ref: https://github.com/huggingface/transformers/blob/ccf2ca162e33f381e454cdb74bf4b41a51ab976d/src/transformers/models/gemma3n/processing_gemma3n.py#L107
kwargs
[
"audio"
]
=
audios
kwargs
[
"audio_kwargs"
]
=
{}
kwargs
[
"audio_kwargs"
].
setdefault
(
"truncation"
,
False
)
else
:
kwargs
[
"audios"
]
=
audios
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment