LMCache Modules#
Subpackages#
Submodules#
lmcache.logging module#
lmcache.protocol module#
- class lmcache.protocol.ClientMetaMessage(command: int, key: str, length: int)[source]#
Control message from LMCServerConnector to LMCacheServer
- static deserialize(s: bytes) ClientMetaMessage [source]#
lmcache.utils module#
- class lmcache.utils.CacheEngineKey(fmt: str, model_name: str, world_size: int, worker_id: int, chunk_hash: str)[source]#
- class lmcache.utils.DiskCacheMetadata(path: str, size: int, shape: torch.Size | None = None, dtype: torch.dtype | None = None)[source]#