Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
ac698850
Unverified
Commit
ac698850
authored
Mar 10, 2025
by
shimin
Committed by
GitHub
Mar 10, 2025
Browse files
fix the input_ids is None error (#4144)
parent
aa957102
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
python/sglang/srt/models/qwen2_5_vl.py
python/sglang/srt/models/qwen2_5_vl.py
+0
-1
No files found.
python/sglang/srt/models/qwen2_5_vl.py
View file @
ac698850
...
@@ -678,7 +678,6 @@ class Qwen2_5_VLForConditionalGeneration(nn.Module):
...
@@ -678,7 +678,6 @@ class Qwen2_5_VLForConditionalGeneration(nn.Module):
)
)
image_embeds_offset
+=
num_image_tokens
image_embeds_offset
+=
num_image_tokens
input_ids
=
None
hidden_states
=
self
.
model
(
hidden_states
=
self
.
model
(
input_ids
=
input_ids
,
input_ids
=
input_ids
,
positions
=
positions
,
positions
=
positions
,
...
...
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