[BugFix] fix num_lookahead_slots missing in async executor (#4165)

Co-authored-by: Lei Wen <wenlei03@qiyi.com>
This commit is contained in:
leiwen83
2024-04-30 10:12:59 -07:00
committed by GitHub
co-authored by Lei Wen
parent 26f2fb5113
commit 4bb53e2dde
9 changed files with 163 additions and 19 deletions
+1
View File
@@ -112,6 +112,7 @@ class ExecutorAsyncBase(ExecutorBase):
blocks_to_swap_in: Dict[int, int],
blocks_to_swap_out: Dict[int, int],
blocks_to_copy: Dict[int, List[int]],
num_lookahead_slots: int,
) -> List[SamplerOutput]:
"""Executes one model step on the given sequences."""
raise NotImplementedError