[Performance] Enable chunked prefill and prefix caching together (#7753)

This commit is contained in:
Cody Yu
2024-08-28 00:36:31 -07:00
committed by GitHub
parent f508e03e7f
commit e3580537a4
9 changed files with 224 additions and 26 deletions
+2 -1
View File
@@ -115,7 +115,8 @@ class BlockSpaceManager(ABC):
pass
@abstractmethod
def mark_blocks_as_computed(self, seq_group: SequenceGroup):
def mark_blocks_as_computed(self, seq_group: SequenceGroup,
token_chunk_size: int):
pass
@abstractmethod