[Misc] Reorganize inputs (#35182)
Signed-off-by: DarkLight1337 <tlleungac@connect.ust.hk>
This commit is contained in:
+43
-17
@@ -1,38 +1,64 @@
|
||||
# SPDX-License-Identifier: Apache-2.0
|
||||
# SPDX-FileCopyrightText: Copyright contributors to the vLLM project
|
||||
|
||||
from .data import (
|
||||
from .engine import (
|
||||
DecoderOnlyEngineInput,
|
||||
EmbedsInput,
|
||||
EncoderDecoderInput,
|
||||
EngineInput,
|
||||
MultiModalEncDecInput,
|
||||
MultiModalHashes,
|
||||
MultiModalInput,
|
||||
MultiModalPlaceholders,
|
||||
SingletonInput,
|
||||
TokensInput,
|
||||
build_enc_dec_input,
|
||||
embeds_input,
|
||||
mm_enc_dec_input,
|
||||
mm_input,
|
||||
split_enc_dec_input,
|
||||
tokens_input,
|
||||
)
|
||||
from .llm import (
|
||||
DataPrompt,
|
||||
DecoderOnlyInputs,
|
||||
EmbedsInputs,
|
||||
EmbedsPrompt,
|
||||
EncoderDecoderInputs,
|
||||
ExplicitEncoderDecoderPrompt,
|
||||
ProcessorInputs,
|
||||
ModalityData,
|
||||
MultiModalDataBuiltins,
|
||||
MultiModalDataDict,
|
||||
MultiModalUUIDDict,
|
||||
PromptType,
|
||||
SingletonInputs,
|
||||
SingletonPrompt,
|
||||
TextPrompt,
|
||||
TokenInputs,
|
||||
TokensPrompt,
|
||||
embeds_inputs,
|
||||
token_inputs,
|
||||
)
|
||||
|
||||
__all__ = [
|
||||
"ModalityData",
|
||||
"MultiModalDataBuiltins",
|
||||
"MultiModalDataDict",
|
||||
"MultiModalUUIDDict",
|
||||
"DataPrompt",
|
||||
"TextPrompt",
|
||||
"TokensPrompt",
|
||||
"PromptType",
|
||||
"SingletonPrompt",
|
||||
"ExplicitEncoderDecoderPrompt",
|
||||
"TokenInputs",
|
||||
"EmbedsInputs",
|
||||
"EmbedsPrompt",
|
||||
"token_inputs",
|
||||
"embeds_inputs",
|
||||
"DecoderOnlyInputs",
|
||||
"EncoderDecoderInputs",
|
||||
"ProcessorInputs",
|
||||
"SingletonInputs",
|
||||
"MultiModalHashes",
|
||||
"MultiModalPlaceholders",
|
||||
"TokensInput",
|
||||
"EmbedsInput",
|
||||
"MultiModalInput",
|
||||
"MultiModalEncDecInput",
|
||||
"tokens_input",
|
||||
"embeds_input",
|
||||
"mm_input",
|
||||
"mm_enc_dec_input",
|
||||
"build_enc_dec_input",
|
||||
"split_enc_dec_input",
|
||||
"DecoderOnlyEngineInput",
|
||||
"EncoderDecoderInput",
|
||||
"SingletonInput",
|
||||
"EngineInput",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user