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
2bb246b8
Unverified
Commit
2bb246b8
authored
Jun 22, 2025
by
Ning Xie
Committed by
GitHub
Jun 22, 2025
Browse files
[MISC] add cpu_kvcache_space_bytes to CacheConfig (#19812)
Signed-off-by:
Andy Xie
<
andy.xning@gmail.com
>
parent
4c409cab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
vllm/config.py
vllm/config.py
+2
-0
No files found.
vllm/config.py
View file @
2bb246b8
...
@@ -1506,6 +1506,8 @@ class CacheConfig:
...
@@ -1506,6 +1506,8 @@ class CacheConfig:
"""This enables dynamic calculation of `k_scale` and `v_scale` when
"""This enables dynamic calculation of `k_scale` and `v_scale` when
kv_cache_dtype is fp8. If `False`, the scales will be loaded from the model
kv_cache_dtype is fp8. If `False`, the scales will be loaded from the model
checkpoint if available. Otherwise, the scales will default to 1.0."""
checkpoint if available. Otherwise, the scales will default to 1.0."""
cpu_kvcache_space_bytes
:
Optional
[
int
]
=
None
"""(CPU backend only) CPU key-value cache space."""
# Will be set after profiling.
# Will be set after profiling.
num_gpu_blocks
:
Optional
[
int
]
=
field
(
default
=
None
,
init
=
False
)
num_gpu_blocks
:
Optional
[
int
]
=
field
(
default
=
None
,
init
=
False
)
...
...
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