[MUSA][19/N] Support HiCache with pin_memory allocator (#23361)
Signed-off-by: yafeng.li <yafeng.li@mthreads.com>
This commit is contained in:
@@ -147,6 +147,7 @@ ALLOC_MEMORY_FUNCS = defaultdict(
|
|||||||
lambda: alloc_with_host_register,
|
lambda: alloc_with_host_register,
|
||||||
{
|
{
|
||||||
"npu": alloc_with_pin_memory,
|
"npu": alloc_with_pin_memory,
|
||||||
|
"musa": alloc_with_pin_memory,
|
||||||
},
|
},
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user