Unverified Commit 00023d62 authored by Ying Sheng's avatar Ying Sheng Committed by GitHub
Browse files

[minor] Update type annotation in tokenizer_manager.py (#982)

parent c62d560c
...@@ -459,7 +459,7 @@ class TokenizerManager: ...@@ -459,7 +459,7 @@ class TokenizerManager:
async def handle_loop(self): async def handle_loop(self):
while True: while True:
recv_obj: BatchTokenIDOut = await self.recv_from_detokenizer.recv_pyobj() recv_obj: BatchStrOut = await self.recv_from_detokenizer.recv_pyobj()
assert isinstance(recv_obj, BatchStrOut) assert isinstance(recv_obj, BatchStrOut)
for i, rid in enumerate(recv_obj.rids): for i, rid in enumerate(recv_obj.rids):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment