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
d8a060dd
Commit
d8a060dd
authored
Aug 01, 2025
by
zhuwenwen
Browse files
set default block_size to 16
parent
66092265
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/config.py
vllm/config.py
+1
-1
No files found.
vllm/config.py
View file @
d8a060dd
...
...
@@ -1630,7 +1630,7 @@ PrefixCachingHashAlgo = Literal["builtin", "sha256", "sha256_cbor_64bit"]
class
CacheConfig
:
"""Configuration for the KV cache."""
block_size
:
BlockSize
=
None
if
not
envs
.
VLLM_USE_FLASH_ATTN_PA
else
64
# type: ignore
block_size
:
BlockSize
=
16
if
not
envs
.
VLLM_USE_FLASH_ATTN_PA
else
64
# type: ignore
"""Size of a contiguous cache block in number of tokens. This is ignored on
neuron devices and set to `--max-model-len`. On CUDA devices, only block
sizes up to 32 are supported. On HPU devices, block size defaults to 128.
...
...
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