mirror of
https://github.com/PaddlePaddle/FastDeploy.git
synced 2026-04-24 01:29:57 +08:00
* [BugFix] Fix error in dynamic c8 cache * fix device id
This commit is contained in:
@@ -302,7 +302,7 @@ class CacheTransferManager:
|
||||
def _init_storage(self, args):
|
||||
try:
|
||||
# TODO: support cache scale for other backend
|
||||
if self.has_cache_scale:
|
||||
if self.has_cache_scale and self.storage_backend_type is not None:
|
||||
if self.storage_backend_type not in ["mooncake"]:
|
||||
raise ValueError(
|
||||
f"Unsupported storage backend ({self.storage_backend_type}) "
|
||||
|
||||
Reference in New Issue
Block a user