MCPcopy Create free account
hub / github.com/PaddlePaddle/FastDeploy / get_peer_mem_addr

Function get_peer_mem_addr

fastdeploy/cache_manager/ops.py:41–42  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

39 memory_allocated = paddle.device.cuda.memory_allocated
40
41 def get_peer_mem_addr(*args, **kwargs):
42 raise RuntimeError("CUDA no need of get_peer_mem_addr!")
43
44 elif current_platform.is_maca():
45 from fastdeploy.model_executor.ops.gpu import ( # get_output_kv_signal,; ipc_sent_key_value_cache_by_remote_ptr_block_sync,

Callers 3

__init__Method · 0.90
__init__Method · 0.90
__init__Method · 0.85

Calls

no outgoing calls

Tested by 1

__init__Method · 0.68