Skip to main content

Crate vllm_proto

Crate vllm_proto 

Source
Expand description

Protobuf messages and gRPC clients and servers for vLLM’s Inference and Control APIs.

Modules§

candidate_token_info
Nested message and enum types in CandidateTokenInfo.
candidate_tokens
Nested message and enum types in CandidateTokens.
control_client
Generated client implementations.
control_server
Generated server implementations.
decoding_parameters
Nested message and enum types in DecodingParameters.
finish_info
Nested message and enum types in FinishInfo.
generate_request
Nested message and enum types in GenerateRequest.
inference_client
Generated client implementations.
inference_server
Generated server implementations.
media_item
Nested message and enum types in MediaItem.

Structs§

AbortRequest
AbortResponse
CandidateTokenInfo
Info for candidate tokens other than the input/sampled token at a given position
CandidateTokens
Controls which extra candidate tokens at each position should be returned
DecodingParameters
EngineReasoningGate
Inputs to the engine’s reasoning gate, which keeps a structured-output constraint inactive until the engine’s reasoning parser detects the end of reasoning.
FinishInfo
Finish info, returned in the final response
FinishWeightUpdateRequest
FinishWeightUpdateResponse
GenerateRequest
GenerateResponse
GetKvEventSourcesRequest
GetKvEventSourcesResponse
GetModelInfoRequest
GetServerInfoRequest
GetWeightVersionRequest
GetWeightVersionResponse
InitWeightTransferEngineRequest
The payloads are backend-specific JSON objects. Tensor data remains on the configured NCCL, IPC, or sparse-NCCL transport rather than crossing gRPC.
InitWeightTransferEngineResponse
IsPausedRequest
IsPausedResponse
IsSleepingRequest
IsSleepingResponse
KvCacheParameters
KvEventSource
KvHintAction
KvHintsEnvelope
ListLorasRequest
ListLorasResponse
LoadLoraRequest
LoadLoraResponse
LoraAdapter
MediaItem
ModelInfo
ParallelismInfo
PauseGenerationRequest
PauseGenerationResponse
PreprocessedMediaFeatures
Engine-ready multimodal features produced by a version-compatible frontend. kwargs is the MessagePack wire representation of one MmKwargsItem.
PromptInfo
Prompt info, returned in the first response
RandomSampling
ResponseOptions
ResumeGenerationRequest
ResumeGenerationResponse
RlCapabilities
SequenceOutput
ServerInfo
ShutdownRequest
ShutdownResponse
Acknowledges acceptance, not completion; shutdown may close the connection first.
SleepRequest
SleepResponse
StartDraftWeightUpdateRequest
StartDraftWeightUpdateResponse
StartWeightUpdateRequest
StartWeightUpdateResponse
StoppingCriteria
TokenIds
Token ids used for prompt
UnloadLoraRequest
UnloadLoraResponse
UpdateWeightVersionRequest
UpdateWeightVersionResponse
UpdateWeightsRequest
UpdateWeightsResponse
WakeUpRequest
WakeUpResponse

Enums§

Modality
PauseMode

Constants§

VERSION
Schema version of this crate, reported by servers as ServerInfo.proto_version.