You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CacheRoute's current environment and integration documentation still describe a vLLM 0.13.x / LMCache 0.3.x serving stack, including the older LMCache remote_url configuration and the older vLLM KV-offloading startup path.
CacheRoute should track the current stable vLLM and LMCache capabilities instead of keeping an old stack as the primary development baseline. This is especially important because the revised v0.2.0 roadmap depends on LMCache MP mode, public connector/plugin contracts, remote-cache serving, observability, cache events, and compatibility profiles that are more complete in current releases.
This Issue establishes a new serving-environment baseline before the remaining v0.1.10 contract Issues are implemented.
Version Decision
Primary target baseline
The target CacheRoute serving stack is:
Component
Target
Python
3.12.x
CUDA
13.0
PyTorch
2.11.0
vLLM
0.25.1
LMCache
0.5.2
torchvision
0.26.0
Transformers
>=5.5.3,<6.0
sentence-transformers
>=5.6,<6.0
huggingface-hub
>=1.5,<2.0
FastAPI
>=0.133,<0.137
Starlette
>=1.0.1
aiohttp
>=3.13.3,<4.0
Pydantic
>=2.12,<3.0
NumPy
>=1.26,<2.3
setuptools
>=77,<81
LMCache 0.5.2 and vLLM 0.25.1 both align their build stack with PyTorch 2.11.0. LMCache 0.5.2 publishes CUDA 13.0 build settings. The exact LMCache 0.5.2 + vLLM 0.25.1 pair is the CacheRoute target and must pass the acceptance suite in this Issue before being documented as a supported CacheRoute baseline.
LMCache's official clean-environment example has directly validated:
Python 3.12;
LMCache 0.5.1;
vLLM 0.25.1;
LMCache MP server mode;
vLLM LMCacheMPConnector;
matching cold and cache-hit output with observed LMCache reads.
This combination is the initial rollback/reference profile while CacheRoute validates LMCache 0.5.2.
Python support policy
The package-level overlap permits Python 3.10 through 3.13, but CacheRoute should use Python 3.12 as the primary reproducible serving and CI lane for this upgrade. Set CacheRoute package metadata to requires-python = ">=3.10,<3.14" unless validation identifies a narrower requirement.
Current Dependency Conflicts
The current CacheRoute requirements.txt cannot coexist with the target serving stack without adjustment:
sentence-transformers~=5.1.2 requires Transformers <5.0, while vLLM 0.25.1 requires Transformers >=5.5.3 and LMCache 0.5.2 requires Transformers >=5.4;
transformers~=4.57.3 is below both current serving requirements;
huggingface-hub~=0.36.0 is below LMCache's >=1.5.0 requirement;
fastapi~=0.124.0 is below vLLM's >=0.133,<0.137 range;
starlette~=0.50.0 is below vLLM's >=1.0.1 requirement;
aiohttp~=3.13.2 is below vLLM's >=3.13.3 requirement.
The current NumPy 1.26.4 and setuptools 78.1.x are within the target constraints and do not need to be upgraded merely for this baseline.
Dependency Management Strategy
Keep PyTorch, vLLM, and LMCache out of the generic application requirements.txt; installing CacheRoute application dependencies must not overwrite the CUDA/ABI-compatible serving stack.
Add an exact serving-stack constraints file, for example:
Updated LMCache MP and vLLM connector configuration examples.
Runtime version/capability validation and debug output.
CPU-only dependency and startup contract tests.
A GPU end-to-end cache reuse smoke test.
An updated compatibility matrix recording target, validated, rollback, and unsupported combinations.
Acceptance Criteria
Dependency resolution
A fresh Python 3.12 environment resolves the target stack without manual package replacement.
python3 -m pip check succeeds.
Installing CacheRoute's generic requirements after the serving stack does not downgrade or replace PyTorch, vLLM, LMCache, Transformers, FastAPI, Starlette, or aiohttp with incompatible versions.
requirements.txt, pyproject.toml, the serving constraints file, and documentation describe consistent ranges.
Runtime diagnostics print the exact Python, CUDA, PyTorch, vLLM, LMCache, Transformers, connector, and compatibility-profile versions.
Current-stack integration
LMCache starts in MP server mode.
vLLM starts with LMCacheMPConnector using public configuration.
A cache-isolated request reports no LMCache cache read.
A warm/cache-hit request reports one or more LMCache reads.
Cold and cache-hit deterministic outputs match.
Cache identity remains stable only when model revision, tokenizer, tensor parallelism, KV dtype/layout, block/chunk size, and relevant profiles match.
CacheRoute regression
Scheduler, KDN, Proxy, and Instance start with the target environment.
Instance registration exposes the exact target runtime versions through the existing capability contract.
Text-only and explicit fallback requests remain functional.
Legacy Redis behavior remains available only as a documented compatibility path.
Generic pytest collection performs no external request at module-import time.
CPU-only tests do not require a GPU, live vLLM endpoint, LMCache daemon, or Redis service.
Documentation and support status
vLLM 0.13.x / LMCache 0.3.x is no longer presented as the current primary baseline.
The target pair vLLM 0.25.1 + LMCache 0.5.2 is marked supported only after the complete acceptance suite passes.
The reference pair vLLM 0.25.1 + LMCache 0.5.1 is documented as the initial known-good rollback profile.
Known unsupported combinations and limitations are explicit.
Non-Goals
Tracking nightly or unreleased main branches.
Supporting every CUDA/PyTorch build in this Issue.
Implementing the KDN Remote Cache Serving Plane or a new storage Provider.
Changing routing, placement, queue, or maintenance policy.
Claiming performance improvements before separate benchmarks are run.
Background
CacheRoute's current environment and integration documentation still describe a vLLM
0.13.x/ LMCache0.3.xserving stack, including the older LMCacheremote_urlconfiguration and the older vLLM KV-offloading startup path.CacheRoute should track the current stable vLLM and LMCache capabilities instead of keeping an old stack as the primary development baseline. This is especially important because the revised v0.2.0 roadmap depends on LMCache MP mode, public connector/plugin contracts, remote-cache serving, observability, cache events, and compatibility profiles that are more complete in current releases.
This Issue establishes a new serving-environment baseline before the remaining v0.1.10 contract Issues are implemented.
Version Decision
Primary target baseline
The target CacheRoute serving stack is:
3.12.x13.02.11.00.25.10.5.20.26.0>=5.5.3,<6.0>=5.6,<6.0>=1.5,<2.0>=0.133,<0.137>=1.0.1>=3.13.3,<4.0>=2.12,<3.0>=1.26,<2.3>=77,<81LMCache
0.5.2and vLLM0.25.1both align their build stack with PyTorch2.11.0. LMCache0.5.2publishes CUDA 13.0 build settings. The exactLMCache 0.5.2 + vLLM 0.25.1pair is the CacheRoute target and must pass the acceptance suite in this Issue before being documented as a supported CacheRoute baseline.Officially validated reference / rollback baseline
LMCache's official clean-environment example has directly validated:
3.12;0.5.1;0.25.1;LMCacheMPConnector;This combination is the initial rollback/reference profile while CacheRoute validates LMCache
0.5.2.Python support policy
The package-level overlap permits Python
3.10through3.13, but CacheRoute should use Python3.12as the primary reproducible serving and CI lane for this upgrade. Set CacheRoute package metadata torequires-python = ">=3.10,<3.14"unless validation identifies a narrower requirement.Current Dependency Conflicts
The current CacheRoute
requirements.txtcannot coexist with the target serving stack without adjustment:sentence-transformers~=5.1.2requires Transformers<5.0, while vLLM0.25.1requires Transformers>=5.5.3and LMCache0.5.2requires Transformers>=5.4;transformers~=4.57.3is below both current serving requirements;huggingface-hub~=0.36.0is below LMCache's>=1.5.0requirement;fastapi~=0.124.0is below vLLM's>=0.133,<0.137range;starlette~=0.50.0is below vLLM's>=1.0.1requirement;aiohttp~=3.13.2is below vLLM's>=3.13.3requirement.The current NumPy
1.26.4and setuptools78.1.xare within the target constraints and do not need to be upgraded merely for this baseline.Dependency Management Strategy
requirements.txt; installing CacheRoute application dependencies must not overwrite the CUDA/ABI-compatible serving stack.env/constraints/vllm-0.25.1-lmcache-0.5.2-cu130.txt.pyproject.tomlwithrequirements.txt; the lightweight package install surface must not declare conflicting ranges.pip checkand a second resolver path such asuv pipto detect hidden conflicts.Runtime Migration Scope
0.13.x/ LMCache0.3.xenvironment documentation as the primary supported baseline.remote_urland vLLM--kv-offloading-backend lmcacheexamples with the current LMCache MP server and vLLMLMCacheMPConnectorflow.doc/integrations/lmcache.md,env/README.md, root documentation, environment sanity checks, and image/tag examples.Deliverables
requirements.txtandpyproject.tomlwith compatible ranges.Acceptance Criteria
Dependency resolution
python3 -m pip checksucceeds.requirements.txt,pyproject.toml, the serving constraints file, and documentation describe consistent ranges.Current-stack integration
LMCacheMPConnectorusing public configuration.CacheRoute regression
Documentation and support status
0.13.x/ LMCache0.3.xis no longer presented as the current primary baseline.vLLM 0.25.1 + LMCache 0.5.2is marked supported only after the complete acceptance suite passes.vLLM 0.25.1 + LMCache 0.5.1is documented as the initial known-good rollback profile.Non-Goals
Relationships