[Documentation Request] vLLM kv_load_failure_policy doesn't apply to load failures in L2 adapters
Label Please label your issue so that it can easily be easily categorized under LMCache Onboarding
Summary kv_load_failure_policy doesn't seem to apply to remote KV data load failures in L2 adapters.
Details
vLLM supports setting kv_load_failure_policy, which defines the behavior during KV load failures. However, this configuration option doesn't seem to apply to L2 adapters. We've tested the nixl_store L2 adapter and the s3 L2 adapter with injected errors, and LMCache seems to treat L2 load failures as cache misses instead of failures.
is this an intentional design choice? It would be great to document the expected behavior of failures at different cache levels in LMCache.
Steps / Reproduction (if applicable)
- Start LMCache with L2 adapter set to
nixl_storewith OBJ backend, ors3. - Start vLLM, use LMCache for KV cache offloading and internal prefix caching disabled with
--no-enable-prefix-caching. - Send data to vLLM and Intercept all GetObject calls to the S3 endpoint.
Expected Outcome / Goal
With "kv_load_failure_policy": "fail", requests with external cache hits should return error code.
Actual Outcome (if applicable) LMCache log errors to the console, vLLM proceed to serve all requests with recomputed KV data as if it's only a cache miss.
Additional Context This issue was first discovered by Anish Sana under HPE's internal testing.
Source: LMCache/LMCache