feat(vllm): add LMCache sidecar in MP mode with period-notation flags#246
Open
genevera wants to merge 1 commit into
Open
feat(vllm): add LMCache sidecar in MP mode with period-notation flags#246genevera wants to merge 1 commit into
genevera wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an LMCache multiprocess (MP) sidecar container that runs alongside vLLM, following the official Docker quickstart.
Changes
compose.x.lmcache.vllm.yml: Defines thelmcache-serverservice usinglmcache/standalone:nightlywith the quickstart CLI flags (--l1-size-gb,--eviction-policy LRU,--max-workers,--port 6555), GPU device reservations for CUDA IPC, and shared memory (ipc: host,shm_size: 16g)profiles/default.env: AddsHARBOR_LMCACHE_L1_SIZE_GB,HARBOR_LMCACHE_MAX_WORKERS,HARBOR_LMCACHE_PORT; setsHARBOR_VLLM_EXTRA_ARGSto use period-notation--kv-transfer-config.*flags (appended, not replacing existing args)services/vllm/Dockerfile: Switches default base image tolmcache/vllm-openai(required for LMCacheMPConnector support in the vLLM container)docs/2.1.VLLM-LMCache-Integration.md: Architecture and configuration docsKey design decisions
--kv-transfer-config.kv_connector LMCacheMPConnectorinstead of inline JSON — easier to read and extend--network host): Host istcp://lmcache-servervia Docker Compose DNS, matching Harbor'sharbor-networkconventionHARBOR_VLLM_EXTRA_ARGSalongside any other flags; the compose overlay does not override the env var