Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
1c0aabde
Unverified
Commit
1c0aabde
authored
Mar 24, 2026
by
Sage
Committed by
GitHub
Mar 24, 2026
Browse files
[Bugfix] Suppress spurious CPU KV cache warning in `launch render` (#37911)
Signed-off-by:
Sage Ahrac
<
sagiahrak@gmail.com
>
parent
14acf429
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
vllm/entrypoints/cli/launch.py
vllm/entrypoints/cli/launch.py
+6
-2
No files found.
vllm/entrypoints/cli/launch.py
View file @
1c0aabde
...
...
@@ -5,6 +5,8 @@ import argparse
import
uvloop
from
vllm
import
envs
from
vllm.config
import
VllmConfig
from
vllm.engine.arg_utils
import
AsyncEngineArgs
from
vllm.entrypoints.cli.types
import
CLISubcommand
from
vllm.entrypoints.openai.api_server
import
(
...
...
@@ -108,8 +110,6 @@ def cmd_init() -> list[CLISubcommand]:
async
def
run_launch_fastapi
(
args
:
argparse
.
Namespace
)
->
None
:
"""Run the online serving layer with FastAPI (no GPU inference)."""
from
vllm.config
import
VllmConfig
# 1. Socket binding
listen_address
,
sock
=
setup_server
(
args
)
...
...
@@ -121,6 +121,10 @@ async def run_launch_fastapi(args: argparse.Namespace) -> None:
# Clear quantization so VllmConfig skips quant dtype/capability validation.
model_config
.
quantization
=
None
# Render servers never allocate KV cache; suppress the spurious CPU KV
# cache space warning from CpuPlatform.check_and_update_config.
envs
.
VLLM_CPU_KVCACHE_SPACE
=
0
vllm_config
=
VllmConfig
(
model_config
=
model_config
)
shutdown_task
=
await
build_and_serve_renderer
(
vllm_config
,
listen_address
,
sock
,
args
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment