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
zhaoyu6
sglang
Commits
519ff5c8
".github/vscode:/vscode.git/clone" did not exist on "3d0bfa3e17bb1468ccb93fcc731c7e2e99d12af1"
Unverified
Commit
519ff5c8
authored
Jul 17, 2025
by
fzyzcjy
Committed by
GitHub
Jul 17, 2025
Browse files
Super tiny fix typo (#8046)
parent
af1cc8fe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
python/sglang/srt/layers/attention/flashattention_backend.py
python/sglang/srt/layers/attention/flashattention_backend.py
+3
-3
No files found.
python/sglang/srt/layers/attention/flashattention_backend.py
View file @
519ff5c8
...
...
@@ -1617,7 +1617,7 @@ class FlashAttentionBackend(AttentionBackend):
metadata
.
max_seq_len_k
+
self
.
page_size
-
1
)
//
self
.
page_size
normal_decode_set_me
d
adata
(
normal_decode_set_me
t
adata
(
metadata
.
cache_seqlens_int32
,
metadata
.
cu_seqlens_k
,
metadata
.
page_table
,
...
...
@@ -1666,7 +1666,7 @@ class FlashAttentionBackend(AttentionBackend):
max_seq_pages
=
(
max_len
+
self
.
page_size
-
1
)
//
self
.
page_size
metadata
.
max_seq_len_k
=
max_len
normal_decode_set_me
d
adata
(
normal_decode_set_me
t
adata
(
metadata
.
cache_seqlens_int32
,
metadata
.
cu_seqlens_k
,
metadata
.
page_table
,
...
...
@@ -2089,7 +2089,7 @@ class FlashAttentionMultiStepBackend:
# @torch.compile(dynamic=True, backend=get_compiler_backend())
# TODO: fuse these kernels
# NOTE: torch.compile makes it slower in speculative decoding
def
normal_decode_set_me
d
adata
(
def
normal_decode_set_me
t
adata
(
cache_seqlens_int32
:
torch
.
Tensor
,
cu_seqlens_k
:
torch
.
Tensor
,
page_table
:
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