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
d03308be
Unverified
Commit
d03308be
authored
Mar 29, 2025
by
shangmingc
Committed by
GitHub
Mar 28, 2025
Browse files
[Misc] Remove stale func in KVTransferConfig (#14746)
Signed-off-by:
Shangming Cai
<
caishangming@linux.alibaba.com
>
parent
c6bc0034
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
vllm/config.py
vllm/config.py
+0
-6
No files found.
vllm/config.py
View file @
d03308be
...
@@ -2986,12 +2986,6 @@ class KVTransferConfig(BaseModel):
...
@@ -2986,12 +2986,6 @@ class KVTransferConfig(BaseModel):
return
self
.
kv_connector
is
not
None
and
\
return
self
.
kv_connector
is
not
None
and
\
self
.
kv_role
in
[
"kv_producer"
,
"kv_consumer"
,
"kv_both"
]
self
.
kv_role
in
[
"kv_producer"
,
"kv_consumer"
,
"kv_both"
]
@
property
def
need_kv_parallel_group
(
self
)
->
bool
:
# for those database-based connector, vLLM does not need to create
# parallel group, and in that case the kv parallel size will be 1.
return
self
.
kv_connector
is
not
None
and
self
.
kv_parallel_size
>
1
@
property
@
property
def
is_kv_producer
(
self
)
->
bool
:
def
is_kv_producer
(
self
)
->
bool
:
return
self
.
kv_connector
is
not
None
and
\
return
self
.
kv_connector
is
not
None
and
\
...
...
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