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
efb099cd
Unverified
Commit
efb099cd
authored
Oct 21, 2024
by
Liangsheng Yin
Committed by
GitHub
Oct 21, 2024
Browse files
Fix prefill oom (#1743)
parent
09603c6d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
python/sglang/srt/managers/scheduler.py
python/sglang/srt/managers/scheduler.py
+1
-1
No files found.
python/sglang/srt/managers/scheduler.py
View file @
efb099cd
...
...
@@ -427,7 +427,7 @@ class Scheduler:
if
req
.
sampling_params
.
max_new_tokens
is
not
None
else
1
<<
30
),
self
.
max_req_input_len
-
1
-
len
(
req
.
origin_input_ids
),
self
.
max_req_input_len
-
len
(
req
.
origin_input_ids
),
)
self
.
waiting_queue
.
append
(
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