mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-23 08:21:53 +08:00
[fix] fix cache transfer manager init failed when using block_wise_fp8 and no storage backend (#6517)
This commit is contained in:
@@ -230,7 +230,8 @@ class CacheTransferManager:
|
||||
self._init_gpu_cache(args)
|
||||
if self.num_cpu_blocks > 0:
|
||||
self._init_cpu_cache(args)
|
||||
self._init_storage(args)
|
||||
if args.kvcache_storage_backend is not None:
|
||||
self._init_storage(args)
|
||||
|
||||
cache_task_broadcast_data = np.zeros(shape=[1], dtype=np.int32)
|
||||
self.cache_task_broadcast_signal = IPCSignal(
|
||||
|
||||
Reference in New Issue
Block a user