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
550a4f78
Unverified
Commit
550a4f78
authored
Apr 09, 2024
by
Tom Dörr
Committed by
GitHub
Apr 09, 2024
Browse files
Fix typos in infer_batch.py (#354)
parent
ff99c38a
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/router/infer_batch.py
python/sglang/srt/managers/router/infer_batch.py
+2
-2
No files found.
python/sglang/srt/managers/router/infer_batch.py
View file @
550a4f78
...
...
@@ -240,7 +240,7 @@ class Batch:
out_cache_loc
=
self
.
token_to_kv_pool
.
alloc
(
extend_num_tokens
)
if
out_cache_loc
is
None
:
print
(
"Prefill out of memory. This should ne
r
ver happen."
)
print
(
"Prefill out of memory. This should never happen."
)
self
.
tree_cache
.
pretty_print
()
exit
()
...
...
@@ -402,7 +402,7 @@ class Batch:
self
.
out_cache_loc
=
self
.
token_to_kv_pool
.
alloc
(
bs
)
if
self
.
out_cache_loc
is
None
:
print
(
"Decode out of memory. This should ne
r
ver happen."
)
print
(
"Decode out of memory. This should never happen."
)
self
.
tree_cache
.
pretty_print
()
exit
()
...
...
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