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
24a8cee6
Unverified
Commit
24a8cee6
authored
Aug 25, 2025
by
Binyao Jiang
Committed by
GitHub
Aug 25, 2025
Browse files
Fix GLM45v launch server cuda torch compile bug (#9554)
parent
3affa9dc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
python/sglang/srt/models/qwen2_5_vl.py
python/sglang/srt/models/qwen2_5_vl.py
+1
-0
No files found.
python/sglang/srt/models/qwen2_5_vl.py
View file @
24a8cee6
...
@@ -526,6 +526,7 @@ class Qwen2_5_VLForConditionalGeneration(nn.Module):
...
@@ -526,6 +526,7 @@ class Qwen2_5_VLForConditionalGeneration(nn.Module):
def
get_input_embeddings
(
self
):
def
get_input_embeddings
(
self
):
return
self
.
model
.
embed_tokens
return
self
.
model
.
embed_tokens
@
torch
.
no_grad
()
def
forward
(
def
forward
(
self
,
self
,
input_ids
:
torch
.
Tensor
,
input_ids
:
torch
.
Tensor
,
...
...
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