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
a1f2dc90
Unverified
Commit
a1f2dc90
authored
Oct 28, 2025
by
Xuchun Shang
Committed by
GitHub
Oct 28, 2025
Browse files
[Bug fix] [PP] fix wrong dtype for quantified model (#12247)
Signed-off-by:
Xuchun Shang
<
xuchun.shang@gmail.com
>
parent
ea961060
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/sglang/srt/model_executor/cuda_graph_runner.py
python/sglang/srt/model_executor/cuda_graph_runner.py
+2
-2
No files found.
python/sglang/srt/model_executor/cuda_graph_runner.py
View file @
a1f2dc90
...
...
@@ -323,11 +323,11 @@ class CudaGraphRunner:
self
.
pp_proxy_tensors
=
{
"hidden_states"
:
torch
.
zeros
(
(
self
.
max_bs
,
self
.
model_runner
.
model_config
.
hidden_size
),
dtype
=
torch
.
bfloat16
,
dtype
=
self
.
model_runner
.
model_config
.
dtype
,
),
"residual"
:
torch
.
zeros
(
(
self
.
max_bs
,
self
.
model_runner
.
model_config
.
hidden_size
),
dtype
=
torch
.
bfloat16
,
dtype
=
self
.
model_runner
.
model_config
.
dtype
,
),
}
...
...
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