9 lines
344 B
Python
9 lines
344 B
Python
# SPDX-License-Identifier: Apache-2.0
|
|
"""CPU-specific platform primitives.
|
|
|
|
:class:`~lmcache.v1.platform.cpu.shm.CpuShmTensorWrapper` carries a
|
|
``device_type`` ClassVar and a ``wrap`` factory classmethod, which
|
|
:func:`~lmcache.v1.platform._registry._discover_wrappers_once` picks
|
|
up at run-time -- no static ``register_kv_wrapper`` needed.
|
|
"""
|