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
ba69c153
Unverified
Commit
ba69c153
authored
Jul 06, 2025
by
Nan Jiang
Committed by
GitHub
Jul 06, 2025
Browse files
[RL]: Fix error tagging in multi-stage wake up (#7812)
Co-authored-by:
hebiao064
<
hebiaobuaa@gmail.com
>
parent
3589aa79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
python/sglang/srt/managers/scheduler.py
python/sglang/srt/managers/scheduler.py
+2
-2
No files found.
python/sglang/srt/managers/scheduler.py
View file @
ba69c153
...
...
@@ -2333,9 +2333,8 @@ class Scheduler(
def
release_memory_occupation
(
self
,
recv_req
:
ReleaseMemoryOccupationReqInput
):
tags
=
recv_req
.
tags
import
subprocess
if
tags
is
None
:
if
tags
is
None
or
len
(
tags
)
==
0
:
tags
=
[
GPU_MEMORY_TYPE_WEIGHTS
,
GPU_MEMORY_TYPE_KV_CACHE
]
if
GPU_MEMORY_TYPE_KV_CACHE
in
tags
:
...
...
@@ -2353,6 +2352,7 @@ class Scheduler(
def
resume_memory_occupation
(
self
,
recv_req
:
ResumeMemoryOccupationReqInput
):
tags
=
recv_req
.
tags
if
tags
is
None
or
len
(
tags
)
==
0
:
tags
=
[
GPU_MEMORY_TYPE_WEIGHTS
,
GPU_MEMORY_TYPE_KV_CACHE
]
...
...
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