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
ea228b44
Unverified
Commit
ea228b44
authored
Nov 28, 2025
by
Cyrus Leung
Committed by
GitHub
Nov 27, 2025
Browse files
[Misc] Remove unused code from `protocol.py` (#29616)
Signed-off-by:
DarkLight1337
<
tlleungac@connect.ust.hk
>
parent
d45269b3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
9 deletions
+0
-9
vllm/engine/protocol.py
vllm/engine/protocol.py
+0
-9
No files found.
vllm/engine/protocol.py
View file @
ea228b44
# SPDX-License-Identifier: Apache-2.0
# SPDX-License-Identifier: Apache-2.0
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
import
enum
from
abc
import
ABC
,
abstractmethod
from
abc
import
ABC
,
abstractmethod
from
collections.abc
import
AsyncGenerator
,
Iterable
,
Mapping
from
collections.abc
import
AsyncGenerator
,
Iterable
,
Mapping
from
typing
import
Any
from
typing
import
Any
from
vllm.config
import
ModelConfig
,
VllmConfig
from
vllm.config
import
ModelConfig
,
VllmConfig
from
vllm.inputs.data
import
PromptType
from
vllm.inputs.data
import
PromptType
from
vllm.logger
import
init_logger
from
vllm.lora.request
import
LoRARequest
from
vllm.lora.request
import
LoRARequest
from
vllm.outputs
import
PoolingRequestOutput
,
RequestOutput
from
vllm.outputs
import
PoolingRequestOutput
,
RequestOutput
from
vllm.plugins.io_processors
import
IOProcessor
from
vllm.plugins.io_processors
import
IOProcessor
...
@@ -19,13 +17,6 @@ from vllm.transformers_utils.tokenizer import AnyTokenizer
...
@@ -19,13 +17,6 @@ from vllm.transformers_utils.tokenizer import AnyTokenizer
from
vllm.v1.engine
import
EngineCoreRequest
from
vllm.v1.engine
import
EngineCoreRequest
from
vllm.v1.engine.processor
import
Processor
from
vllm.v1.engine.processor
import
Processor
logger
=
init_logger
(
__name__
)
class
Device
(
enum
.
Enum
):
GPU
=
enum
.
auto
()
CPU
=
enum
.
auto
()
class
EngineClient
(
ABC
):
class
EngineClient
(
ABC
):
"""Protocol class for Clients to Engine"""
"""Protocol class for Clients to Engine"""
...
...
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