[HiCache] Critical fix to host memory double free (#13501)
Co-authored-by: Hao Chen <cighao@gmail.com>
This commit is contained in:
@@ -647,11 +647,6 @@ class HiCacheController:
|
|||||||
if prefix_keys and len(prefix_keys) > 0:
|
if prefix_keys and len(prefix_keys) > 0:
|
||||||
prefix_keys += batch_hashes
|
prefix_keys += batch_hashes
|
||||||
|
|
||||||
# release pre-allocated memory
|
|
||||||
self.append_host_mem_release(
|
|
||||||
operation.host_indices[operation.completed_tokens :]
|
|
||||||
)
|
|
||||||
|
|
||||||
def prefetch_io_aux_func(self):
|
def prefetch_io_aux_func(self):
|
||||||
"""
|
"""
|
||||||
Auxiliary function conducting IO operations for prefetching.
|
Auxiliary function conducting IO operations for prefetching.
|
||||||
|
|||||||
Reference in New Issue
Block a user