Skip to content

Commit ef30e0c

Browse files
committed
fix
1 parent b275e52 commit ef30e0c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

fastdeploy/cache_manager/cache_transfer_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ def read_storage_task(self, task: ReadStorageTask):
796796
try:
797797
valid_gpu_block_ids = self._run_read_storage(
798798
task.task_id,
799-
task.token_ids[: match_block_num * self.block_size],
799+
task.token_ids[: match_block_num * self.block_size] if task.token_ids else None,
800800
task.start_read_block_idx,
801801
k_cache_keys,
802802
v_cache_keys,

0 commit comments

Comments
 (0)