lmcache could use infinistore as a backend storage.
Infinistore is a memory storage which support RDMA and NVLINK. lmcache's infinistore connector is using RDMA transport for now.
This is a simple instruction how to use lmcache with infinistore
install infistore
- make sure RDMA driver is installed.
use ibverbs-utils to find active NIC. In this example we assume NIC:mlx5_0 is the active NIC.
ibv_devinfo
- install infinistore
pip install infinistore
now, infinistore support python3.10, python3.11, python3.12
start infinistore and lmcache
- start infinistore
mlx5_0 is an active RDMA NIC
python -m infinistore.server --service-port 12345 --dev-name mlx5_0 --link-type Ethernet --manage-port 8080
- start lmcache
LMCACHE_CONFIG_FILE=backend_type.yaml python -m lmcache_vllm.vllm.entrypoints.openai.api_server --model mistralai/Mistral-7B-Instruct-v0.2 --max-model-len 8192