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
01fdb2f3
Unverified
Commit
01fdb2f3
authored
Oct 10, 2024
by
Byron Hsu
Committed by
GitHub
Oct 10, 2024
Browse files
Fix test_vision_openai_server on CI (#1620)
parent
c996e8cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
python/sglang/srt/managers/scheduler.py
python/sglang/srt/managers/scheduler.py
+3
-3
No files found.
python/sglang/srt/managers/scheduler.py
View file @
01fdb2f3
...
...
@@ -433,6 +433,9 @@ class Scheduler:
result
=
self
.
run_batch
(
batch
)
self
.
process_batch_result
(
batch
,
result
)
if
self
.
running_batch
.
is_empty
():
self
.
running_batch
=
None
if
self
.
running_batch
is
None
:
break
...
...
@@ -772,9 +775,6 @@ class Scheduler:
if
self
.
tp_rank
==
0
and
self
.
decode_forward_ct
%
40
==
0
:
self
.
print_decode_stats
()
if
self
.
running_batch
.
is_empty
():
self
.
running_batch
=
None
def
add_logprob_return_values
(
self
,
i
:
int
,
...
...
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