Unverified Commit 95f5fbf1 authored by rainred's avatar rainred Committed by GitHub
Browse files

Fix create_abort_task, GenerateReqInput does not have rids. (#1079)


Co-authored-by: default avatarlzhang <zhanglei@modelbest.cn>
parent cebd78d8
...@@ -507,7 +507,7 @@ class TokenizerManager: ...@@ -507,7 +507,7 @@ class TokenizerManager:
if obj.is_single: if obj.is_single:
self.abort_request(obj.rid) self.abort_request(obj.rid)
else: else:
for rid in obj.rids: for rid in obj.rid:
self.abort_request(rid) self.abort_request(rid)
background_tasks = BackgroundTasks() background_tasks = BackgroundTasks()
......
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