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
28b26dbf
Unverified
Commit
28b26dbf
authored
Apr 29, 2025
by
Chang Su
Committed by
GitHub
Apr 29, 2025
Browse files
[Bugfix]: fix missing queue_time_start for requests from grammar_queue (#5696)
parent
2b06484b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
python/sglang/srt/managers/scheduler.py
python/sglang/srt/managers/scheduler.py
+1
-0
No files found.
python/sglang/srt/managers/scheduler.py
View file @
28b26dbf
...
@@ -900,6 +900,7 @@ class Scheduler(
...
@@ -900,6 +900,7 @@ class Scheduler(
add_to_grammar_queue
=
True
add_to_grammar_queue
=
True
if
add_to_grammar_queue
:
if
add_to_grammar_queue
:
req
.
queue_time_start
=
time
.
time
()
self
.
grammar_queue
.
append
(
req
)
self
.
grammar_queue
.
append
(
req
)
else
:
else
:
self
.
_add_request_to_queue
(
req
)
self
.
_add_request_to_queue
(
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