fix black in pre-commit (#1940)
This commit is contained in:
@@ -911,8 +911,7 @@ class ScheduleBatch:
|
||||
keep_indices = [
|
||||
i
|
||||
for i in range(len(self.reqs))
|
||||
if not self.reqs[i].finished()
|
||||
and self.reqs[i] is not being_chunked_req
|
||||
if not self.reqs[i].finished() and self.reqs[i] is not being_chunked_req
|
||||
]
|
||||
|
||||
if keep_indices is None or len(keep_indices) == 0:
|
||||
@@ -1043,6 +1042,7 @@ class ScheduleBatch:
|
||||
for req in self.reqs:
|
||||
req.started_time = time.time()
|
||||
|
||||
|
||||
@dataclasses.dataclass
|
||||
class ModelWorkerBatch:
|
||||
# The batch id
|
||||
|
||||
Reference in New Issue
Block a user