[BugFix] Fix error in dynamic c8 cache (#6544) (#6692)

* [BugFix] Fix error in dynamic c8 cache

* fix device id
This commit is contained in:
jc
2026-03-06 17:25:55 +08:00
committed by GitHub
parent 2851d89696
commit bcfd3168ce
2 changed files with 3 additions and 3 deletions
@@ -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}) "