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
00023d62
Unverified
Commit
00023d62
authored
Aug 07, 2024
by
Ying Sheng
Committed by
GitHub
Aug 08, 2024
Browse files
[minor] Update type annotation in tokenizer_manager.py (#982)
parent
c62d560c
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/tokenizer_manager.py
python/sglang/srt/managers/tokenizer_manager.py
+1
-1
No files found.
python/sglang/srt/managers/tokenizer_manager.py
View file @
00023d62
...
...
@@ -459,7 +459,7 @@ class TokenizerManager:
async
def
handle_loop
(
self
):
while
True
:
recv_obj
:
Batch
TokenID
Out
=
await
self
.
recv_from_detokenizer
.
recv_pyobj
()
recv_obj
:
Batch
Str
Out
=
await
self
.
recv_from_detokenizer
.
recv_pyobj
()
assert
isinstance
(
recv_obj
,
BatchStrOut
)
for
i
,
rid
in
enumerate
(
recv_obj
.
rids
):
...
...
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