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
ae7428a8
"vscode:/vscode.git/clone" did not exist on "926daa30f977a75c01b835405c1878730388cb94"
Unverified
Commit
ae7428a8
authored
Aug 27, 2025
by
huangtingwei
Committed by
GitHub
Aug 27, 2025
Browse files
fix mooncake store mla zero copy meta (#9678)
parent
a3aee7c3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
python/sglang/srt/mem_cache/memory_pool_host.py
python/sglang/srt/mem_cache/memory_pool_host.py
+1
-2
No files found.
python/sglang/srt/mem_cache/memory_pool_host.py
View file @
ae7428a8
...
...
@@ -705,7 +705,6 @@ class MLATokenToKVPoolHost(HostKVCache):
raise
ValueError
(
f
"Unsupported layout:
{
self
.
layout
}
"
)
def
get_buffer_meta
(
self
,
keys
,
indices
):
local_rank
=
get_tensor_model_parallel_rank
()
ptr_list
=
[]
key_list
=
[]
kv_buffer_data_ptr
=
self
.
kv_buffer
.
data_ptr
()
...
...
@@ -719,7 +718,7 @@ class MLATokenToKVPoolHost(HostKVCache):
)
ptr_list
.
append
(
k_ptr
)
key_
=
keys
[
index
//
self
.
page_size
]
key_list
.
append
(
f
"
{
key_
}
_
{
local_rank
}
_
k"
)
key_list
.
append
(
f
"
{
key_
}
_k"
)
element_size
=
(
self
.
layer_num
*
self
.
dtype
.
itemsize
...
...
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