[Rust Frontend][Multimodal] Accept preprocessed multimodal gRPC features (#55047)

Signed-off-by: Biswa Panda <biswa.panda@gmail.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
Co-authored-by: Bugen Zhao <i@bugenzhao.com>
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Biswa Panda
2026-09-12 02:29:49 +00:00
committed by GitHub
co-authored by Bugen Zhao Codex
parent a0844fa6c6
commit 31759ccb6d
16 changed files with 986 additions and 113 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
[package]
name = "vllm-proto"
version = "0.1.0"
version = "0.2.0"
edition.workspace = true
license.workspace = true
description = "Protobuf messages and gRPC bindings for the vLLM Rust frontend"
+1 -1
View File
@@ -17,7 +17,7 @@ Repository setup requires a `BUF_TOKEN` GitHub Actions secret with permission to
```toml
[dependencies]
vllm-proto = "0.1"
vllm-proto = "0.2"
```
For example, import `vllm_proto::inference_client::InferenceClient` or
+13
View File
@@ -228,7 +228,20 @@ message MediaItem {
string url = 2; // http:// or https://
string data_uri = 3; // data:
bytes raw_bytes = 4;
PreprocessedMediaFeatures features = 7;
}
string mime_type = 5;
string uuid = 6;
}
// Engine-ready multimodal features produced by a version-compatible frontend.
// `kwargs` is the MessagePack wire representation of one MmKwargsItem.
message PreprocessedMediaFeatures {
// Required inline payload. Cache-only references are not accepted.
optional bytes kwargs = 1;
string identifier = 2;
uint64 offset = 3;
uint64 length = 4;
optional string mm_hash = 5;
repeated bool is_embed = 6;
}