external-log-connector: Logging-enhanced Remote Connector
A RemoteConnector extension module based on lmcache, with behavior identical to BlackholeConnector but with detailed logging for each operation.
Features
- Fully compatible with
lmcache'sRemoteConnectorinterface - Structured logging added for each method (
exists/get/put/list/close) - Behavior identical to
BlackholeConnector(no actual data storage)
Installation
Install from pypi
pip install external_log_connector
Build whl package from source
# Clone the project and enter the directory
cd external_log_connector
# Build the whl file (will be generated in the dist/ directory)
./build_whl.sh
pip install dist/*.whl
How to use
# lmcache.yaml
chunk_size: 256
local_device: "cpu"
local_cpu: False
max_local_cpu_size: 5
remote_url: "external://host:0/external_log_connector.lmc_external_log_connector/?connector_name=ExternalLogConnector"
remote_serde: "naive"
pipelined_backend: False
extra_config:
ext_log_connector_support_ping: True
ext_log_connector_health_interval: 10.0
ext_log_connector_stuck_time: 6.0
LMCACHE_USE_EXPERIMENTAL=True LMCACHE_TRACK_USAGE=false \
VLLM_MLA_DISABLE=0 VLLM_USE_V1=1 LMCACHE_CONFIG_FILE=./lmcache.yaml \
vllm serve /disc/data1/deepseek/DeepSeek-V2-Lite-Chat/ \
--trust-remote-code \
--served-model-name vllm_cpu_offload \
--max-model-len 32768 \
--max-seq-len-to-capture 10000 \
--max-num-seqs 64 \
--gpu-memory-utilization 0.9 \
--host 0.0.0.0 \
-tp 1 \
--kv-transfer-config '{"kv_connector":"LMCacheConnectorV1","kv_role":"kv_both","kv_parallel_size":2}'
Metadata
Release files for external-log-connector 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| external_log_connector-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for external_log_connector-0.1.2-py3-none-any.whl |
Release files / external_log_connector-0.1.2-py3-none-any.whl
| Download URL | external_log_connector-0.1.2-py3-none-any.whl |
|---|---|
| Size | 4.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ba0b20f9769b71009ab28c2ef0096208c30d558b6c3a543ef4cac507103f995c
|
|
BLAKE2b-256 checksum How to use checksums |
c125ad553b1915f2a01d3b6467c2ee4c6b2088331d75df2071277d307966b421
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.9
|
Security for external-log-connector 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.