[BugFix] fix prefixcache performance and accuracy on ascend (#13573)
This commit is contained in:
@@ -503,7 +503,7 @@ class HiCacheController:
|
||||
elif self.mem_pool_host.layout == "page_first_direct":
|
||||
return host_indices, device_indices.cpu()
|
||||
elif self.io_backend == "kernel_ascend":
|
||||
return host_indices, device_indices
|
||||
return host_indices, device_indices.cpu()
|
||||
else:
|
||||
raise ValueError(f"Unsupported io backend")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user