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
0089c4bc
Unverified
Commit
0089c4bc
authored
Oct 24, 2024
by
Lianmin Zheng
Committed by
GitHub
Oct 24, 2024
Browse files
[Fix] Fix NaN issues by fixing the cuda graph padding values for flashinfer (#1779)
parent
72e7b57a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/model_executor/cuda_graph_runner.py
python/sglang/srt/model_executor/cuda_graph_runner.py
+1
-1
No files found.
python/sglang/srt/model_executor/cuda_graph_runner.py
View file @
0089c4bc
...
...
@@ -290,7 +290,7 @@ class CudaGraphRunner:
index
=
bisect
.
bisect_left
(
self
.
capture_bs
,
raw_bs
)
bs
=
self
.
capture_bs
[
index
]
if
bs
!=
raw_bs
:
self
.
seq_lens
.
fill_
(
self
.
seq_len_fill_value
)
self
.
seq_lens
.
fill_
(
1
)
self
.
out_cache_loc
.
zero_
()
# Common inputs
...
...
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