File tree Expand file tree Collapse file tree 2 files changed +1
-2
lines changed
lightllm/server/router/req_queue/chunked_prefill Expand file tree Collapse file tree 2 files changed +1
-2
lines changed Original file line number Diff line number Diff line change 22from typing import List
33from ...batch import Batch , Req
44from lightllm .server .router .req_queue .base_queue import BaseQueue
5- from lightllm .utils .envs_utils import get_env_start_args
65
76
87class ChunkedBeamContinuesBatchQueue (BaseQueue ):
Original file line number Diff line number Diff line change 33from ...batch import Batch , Req
44from lightllm .server .router .req_queue .base_queue import BaseQueue
55from lightllm .common .basemodel .infer_lock import g_router_lock
6- from lightllm .utils .envs_utils import get_env_start_args
76
87
98class ChunkedPrefillQueue (BaseQueue ):
@@ -78,6 +77,7 @@ def generate_new_batch(self, current_batch: Batch):
7877 aborted_count = 0
7978
8079 waiting_queue = self .waiting_req_list
80+
8181 for req in waiting_queue :
8282 if req .is_aborted :
8383 # 由于管理的复杂性,只有没有被调度运行过的请求可以因为abort直接在队列中忽略掉.
You can’t perform that action at this time.
0 commit comments