Skip to content

Commit 4d9077c

Browse files
TryorishCopilot
andcommitted
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 596f40e commit 4d9077c

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

  • fastdeploy/cache_manager

fastdeploy/cache_manager/ops.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,9 @@ def swap_cache_per_layer(*args, **kwargs): # 单层 KV cache 换入算子(同
7777
def swap_cache_per_layer_async(*args, **kwargs): # 单层 KV cache 换入算子(异步)
7878
raise RuntimeError("Metax swap_cache_per_layer_async UNIMPLEMENTED")
7979

80+
def swap_cache_layout(*args, **kwargs):
81+
raise RuntimeError("Metax swap_cache_layout UNIMPLEMENTED")
82+
8083
elif current_platform.is_xpu():
8184
from fastdeploy.model_executor.ops.xpu import (
8285
cuda_host_alloc,

0 commit comments

Comments
 (0)