[Performance] Optimize get_seqs (#7051)

This commit is contained in:
Woosuk Kwon
2024-08-01 18:29:52 -07:00
committed by GitHub
parent 6a11fdfbb8
commit 6ce01f3066
3 changed files with 22 additions and 22 deletions
+1 -1
View File
@@ -700,5 +700,5 @@ class BlockSpaceManagerV1(BlockSpaceManager):
def mark_blocks_as_computed(self, seq_group: SequenceGroup):
if self.enable_caching:
for seq in seq_group.seqs_dict.values():
for seq in seq_group.get_seqs():
self.compute_full_blocks_in_seq(seq)