From bf5e71dcec805032ea1be9388a96934f8d8e4204 Mon Sep 17 00:00:00 2001 From: MARATRIX Date: Wed, 22 Apr 2026 10:45:53 +0800 Subject: [PATCH] [MUSA][19/N] Support HiCache with pin_memory allocator (#23361) Signed-off-by: yafeng.li --- python/sglang/srt/mem_cache/memory_pool_host.py | 1 + 1 file changed, 1 insertion(+) diff --git a/python/sglang/srt/mem_cache/memory_pool_host.py b/python/sglang/srt/mem_cache/memory_pool_host.py index 3132d9844..f45c1d616 100644 --- a/python/sglang/srt/mem_cache/memory_pool_host.py +++ b/python/sglang/srt/mem_cache/memory_pool_host.py @@ -147,6 +147,7 @@ ALLOC_MEMORY_FUNCS = defaultdict( lambda: alloc_with_host_register, { "npu": alloc_with_pin_memory, + "musa": alloc_with_pin_memory, }, )