RuntimeError: Mooncake Store L2 adapter requires the C++ Mooncake extension. There are many dependency issues that need to be fixed, and even after fixing them, it seems that they cannot be used
Label Please label your issue with "bug" and any other relevant labels so that it can easily be easily categorized under LMCache Onboarding
Describe the bug When I tried to connect to Mooncake using LMCache, I wanted to use Mooncake Store as the L2 backend, but encountered this error:
File "/usr/local/lib/python3.12/dist-packages/lmcache/v1/distributed/l2_adapters/mooncake_store_l2_adapter.py", line 164, in _create_mooncake_store_l2_adapter raise RuntimeError( RuntimeError: Mooncake Store L2 adapter requires the C++ Mooncake extension. Build with: MOONCAKE_INCLUDE_DIR=/path/to/mooncake-store/include pip install -e .
I went to the official website to check the tutorial and found that there are two ways to install extensions. I tried to use pip from the source code folder (the first method seems to not work, as I need to build it in the mooncake source code first, and then specify the relevant directories for building lmcache), but the dependency issues have been one after another, such as cusparse. h no such..., Salb. h no such file... and so on (not only the problem of missing files, but also many other problems, totaling no less than 20). I want to know if it can be solved with just one click?
my env
(workspace) root@notebook-baoxinguanxl-kvtest-prd:/mnt/workspace# nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2025 NVIDIA Corporation
Built on Wed_Aug_20_01:58:59_PM_PDT_2025
Cuda compilation tools, release 13.0, V13.0.88
Build cuda_13.0.r13.0/compiler.36424714_0
(workspace) root@notebook-baoxinguanxl-kvtest-prd:/mnt/workspace# nvidia-smi
Wed Jul 29 11:46:48 2026
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 580.105.08 Driver Version: 580.105.08 CUDA Version: 13.0 |
+-----------------------------------------+------------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+========================+======================|
| 0 NVIDIA H20-3e On | 00000000:7E:00.0 Off | 0 |
| N/A 36C P0 119W / 500W | 132723MiB / 143771MiB | 0% Default |
| | | Disabled |
+-----------------------------------------+------------------------+----------------------+
| 1 NVIDIA H20-3e On | 00000001:09:00.0 Off | 0 |
| N/A 33C P0 79W / 500W | 4MiB / 143771MiB | 0% Default |
| | | Disabled |
+-----------------------------------------+------------------------+----------------------+
| 2 NVIDIA H20-3e On | 00000001:7F:00.0 Off | 0 |
| N/A 34C P0 76W / 500W | 4MiB / 143771MiB | 0% Default |
| | | Disabled |
+-----------------------------------------+------------------------+----------------------+
| 3 NVIDIA H20-3e On | 00000001:A3:00.0 Off | 0 |
| N/A 32C P0 78W / 500W | 4MiB / 143771MiB | 0% Default |
| | | Disabled |
+-----------------------------------------+------------------------+----------------------+
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
Source: LMCache/LMCache