External logging backend implementation for LMCache
Project description
LMCache External Log Backend
This project provides an external logging backend implementation for LMCache.
Features
- Implements the
StorageBackendInterfacefrom LMCache - Logs all backend operations (put, get, prefetch, pin, etc.)
- Easy to integrate with existing LMCache systems
Installation
pip install lmc_external_log_backend
Usage
To use this backend in your LMCache,
Add the following to your LMCache Configuration:
chunk_size: 64
local_cpu: False
max_local_cpu_size: 5
external_backends: "log_external_backend"
extra_config:
external_backend.log_external_backend.module_path: lmc_external_log_backend.lmc_external_log_backend
external_backend.log_external_backend.class_name: ExternalLogBackend
Development
To build the package:
python setup.py sdist bdist_wheel
To install locally:
pip install -e .
License
Apache-2.0 License
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lmc_external_log_backend-0.1.2-py3-none-any.whl.
File metadata
- Download URL: lmc_external_log_backend-0.1.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cc9a30294c2108e1052f7e56ce627ab5402297723c3e9ae47ba46b5445d7c2c9
|
|
| MD5 |
637b013c53178d684be8d4498d84dc44
|
|
| BLAKE2b-256 |
c96a2bac873f1d6d1a08c358f7d5f245ffaefe38c9fd5317fa04a60b5b19373d
|