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
f5b5f2bf
Unverified
Commit
f5b5f2bf
authored
Nov 30, 2024
by
Lianmin Zheng
Committed by
GitHub
Nov 30, 2024
Browse files
Revert "[Fix] fix assertion error for chunked prefill when disabling cache" (#2286)
parent
7e4c6dd8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
python/sglang/srt/managers/schedule_policy.py
python/sglang/srt/managers/schedule_policy.py
+0
-3
No files found.
python/sglang/srt/managers/schedule_policy.py
View file @
f5b5f2bf
...
...
@@ -231,9 +231,6 @@ class PrefillAdder:
break
self
.
req_states
.
insert
(
i
,
(
tokens_left
,
tokens_occupied
))
if
len
(
self
.
can_run_list
)
!=
0
:
return
AddReqResult
.
OTHER
if
self
.
req_states
is
None
:
self
.
req_states
=
[]
add_req_state
(
req
)
...
...
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