Skip to content

Commit 4f659ff

Browse files
ddchenhao66Copilot
andauthored
Update fastdeploy/cache_manager/ops.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 5c2073d commit 4f659ff

File tree

1 file changed

+3
-3
lines changed
  • fastdeploy/cache_manager

1 file changed

+3
-3
lines changed

fastdeploy/cache_manager/ops.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,13 @@ def get_peer_mem_addr(*args, **kwargs):
3636
memory_allocated = paddle.device.xpu.memory_allocated
3737

3838
def get_data_ptr_ipc(*args, **kwargs):
39-
raise RuntimeError("XPU get_data_ptr_ipc UNIMPLENENTED!")
39+
raise RuntimeError("XPU get_data_ptr_ipc UNIMPLEMENTED!")
4040

4141
def ipc_sent_key_value_cache_by_remote_ptr(*args, **kwargs):
42-
raise RuntimeError("XPU ipc_sent_key_value_cache_by_remote_ptr UNIMPLENENTED")
42+
raise RuntimeError("XPU ipc_sent_key_value_cache_by_remote_ptr UNIMPLEMENTED")
4343

4444
def ipc_sent_key_value_cache_by_remote_ptr_block_sync(*args, **kwargs):
45-
raise RuntimeError("XPU No ipc_sent_key_value_cache_by_remote_ptr UNIMPLENENTED")
45+
raise RuntimeError("XPU No ipc_sent_key_value_cache_by_remote_ptr UNIMPLEMENTED")
4646

4747
else:
4848
raise RuntimeError("Prefix cache ops only supported CUDA nor XPU platform ")

0 commit comments

Comments
 (0)