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
d969504d
Unverified
Commit
d969504d
authored
Jul 14, 2025
by
Lifu Huang
Committed by
GitHub
Jul 14, 2025
Browse files
Fix flaky CI: test_vlm_models (#8006)
parent
1ebec1a8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
4 deletions
+0
-4
python/sglang/srt/managers/mm_utils.py
python/sglang/srt/managers/mm_utils.py
+0
-1
python/sglang/srt/multimodal/processors/gemma3.py
python/sglang/srt/multimodal/processors/gemma3.py
+0
-3
No files found.
python/sglang/srt/managers/mm_utils.py
View file @
d969504d
...
...
@@ -76,7 +76,6 @@ class MultiModalityDataPaddingPatternTokenPairs(MultiModalityDataPaddingPattern)
This function will replace the data-tokens in between with pad_values accordingly
"""
pad_values
=
[
item
.
pad_value
for
item
in
mm_inputs
.
mm_items
]
print
(
f
"
{
mm_inputs
.
mm_items
=
}
"
)
data_token_pairs
=
self
.
data_token_id_pairs
mm_inputs
.
data_offsets
=
[]
if
data_token_pairs
is
None
:
...
...
python/sglang/srt/multimodal/processors/gemma3.py
View file @
d969504d
...
...
@@ -36,7 +36,6 @@ class Gemma3SGLangImageProcessor(SGLangBaseProcessor):
*
args
,
**
kwargs
,
):
print
(
f
"
{
image_data
=
}
"
)
base_output
=
self
.
load_mm_data
(
prompt
=
input_text
,
image_data
=
image_data
,
...
...
@@ -48,8 +47,6 @@ class Gemma3SGLangImageProcessor(SGLangBaseProcessor):
)
mm_items
,
input_ids
,
_
=
self
.
process_and_combine_mm_data
(
base_output
)
print
(
f
"
{
base_output
=
}
"
)
print
(
f
"
{
mm_items
=
}
"
)
return
{
"input_ids"
:
input_ids
.
tolist
(),
"mm_items"
:
mm_items
,
...
...
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