Skip to content
Merged
Show file tree
Hide file tree
Changes from 18 commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
6cfee03
[Frontend] Write run-batch responses incrementally instead of at the end
fangchenli Aug 14, 2026
58b7b29
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Aug 14, 2026
4e6fa5f
[Frontend] Guard run-batch against truncating its own input
fangchenli Aug 14, 2026
9e51b92
[Frontend] Type the run-batch endpoint registry with a TypedDict
fangchenli Aug 14, 2026
d5141ec
[Frontend] Drop the run-batch submitted-request counter
fangchenli Aug 14, 2026
5faef5d
[Frontend] Drain run-batch responses from a single loop
fangchenli Aug 15, 2026
5b0f696
[Frontend] Stage unseekable run-batch inputs and tighten the edges
fangchenli Aug 15, 2026
cb0edb8
[Frontend] Test that run-batch honours its inflight bound
fangchenli Aug 15, 2026
8ac66f2
[Frontend] Cover the remaining run-batch streaming paths
fangchenli Aug 15, 2026
d8533d3
[Frontend] Stage descriptor aliases for run-batch inputs
fangchenli Aug 15, 2026
47e3073
[Frontend] Build the unsupported-URL error from the endpoint registry
fangchenli Aug 16, 2026
dd4e072
[Frontend] Build the supported-endpoint list once per batch
fangchenli Aug 16, 2026
0ccd29f
[Frontend] Describe each batch endpoint by one URL pattern
fangchenli Aug 16, 2026
88d72e8
[Frontend] State the batch URL matching rule instead of encoding it
fangchenli Aug 16, 2026
f17a22d
[Frontend] Keep responses that finished alongside a failed request
fangchenli Aug 16, 2026
7b74ee3
[Frontend] Match batch score and rerank URLs by version prefix
fangchenli Aug 16, 2026
3b4b52b
[Frontend] Infer batch endpoint versioning from the URL
fangchenli Aug 16, 2026
da0ae19
[Doc] Correct the endpoints the batch runner claims to support
fangchenli Aug 16, 2026
417dc97
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Aug 19, 2026
e6c754c
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Oct 5, 2026
6c2996e
[Frontend] Address review: fail fast, bounded dispatch, restore suffi…
fangchenli Oct 5, 2026
3be40f2
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Oct 5, 2026
08af037
[Frontend] Trim run-batch tests and drop regex import
fangchenli Oct 5, 2026
0b5537b
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Oct 6, 2026
f1e65d7
[Frontend] Do not write responses for requests cancelled on abort
fangchenli Oct 6, 2026
5be3f7b
[Frontend] Scale run-batch in-flight default with DP and check output…
fangchenli Oct 6, 2026
c654f95
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Oct 8, 2026
a3f69d0
[Frontend] Write run-batch responses in input order
fangchenli Oct 8, 2026
1e28b15
[Frontend] Harden run-batch input, output checks, and engine failure
fangchenli Oct 8, 2026
5dbc1cb
[Frontend] Drop a redundant run-batch test and fix a stale docstring
fangchenli Oct 8, 2026
5111856
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Oct 8, 2026
c1f660a
[Frontend] Detect run-batch URLs by scheme
fangchenli Oct 8, 2026
213ddff
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Oct 10, 2026
c042556
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Oct 12, 2026
93f290f
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Oct 13, 2026
2d7d7cd
[Frontend] Time out a stalled run-batch input download
fangchenli Oct 13, 2026
a068458
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Oct 13, 2026
5f6920f
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Oct 14, 2026
2008759
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Oct 16, 2026
d73fed1
[Frontend] Stop run-batch output at the first dead-engine error
fangchenli Oct 16, 2026
5b69d6c
[Frontend] Ignore queue admission limits in run-batch
fangchenli Oct 17, 2026
5857a40
Merge remote-tracking branch 'upstream/main' into feat/run-batch-stre…
fangchenli Oct 17, 2026
13f63dd
Merge branch 'main' into feat/run-batch-streaming-output
DarkLight1337 Oct 17, 2026
9f2aef2
Merge branch 'main' into feat/run-batch-streaming-output
fangchenli Oct 18, 2026
faa8175
Merge branch 'main' into feat/run-batch-streaming-output
fangchenli Oct 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion examples/features/openai_batch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ The OpenAI batch file format consists of a series of json objects on new lines.
Each line represents a separate request. See the [OpenAI package reference](https://platform.openai.com/docs/api-reference/batch/requestInput) for more details.

```{note}
We currently support `/v1/chat/completions`, `/v1/embeddings`, and `/v1/score` endpoints (completions coming soon).
We currently support `/v1/chat/completions`, `/v1/embeddings`, `/score`, `/rerank`,
`/v1/audio/transcriptions`, and `/v1/audio/translations` endpoints (`/v1/completions`
coming soon). Score and rerank are also served under a version prefix, such as
`/v1/score`.
```

## Pre-requisites
Expand Down Expand Up @@ -67,6 +70,10 @@ vllm run-batch \

You should now have your results at `results.jsonl`. You can check your results by running `cat results.jsonl`

Responses are written as each request finishes, so their order does not follow
the input file. Match a response to its request with `custom_id` rather than by
line number.

```bash
cat results.jsonl
{"id":"vllm-383d1c59835645aeb2e07d004d62a826","custom_id":"request-1","response":{"id":"cmpl-61c020e54b964d5a98fa7527bfcdd378","object":"chat.completion","created":1715633336,"model":"meta-llama/Meta-Llama-3-8B-Instruct","choices":[{"index":0,"message":{"role":"assistant","content":"Hello! It's great to meet you! I'm here to help with any questions or tasks you may have. What's on your mind today?"},"logprobs":null,"finish_reason":"stop","stop_reason":null}],"usage":{"prompt_tokens":25,"total_tokens":56,"completion_tokens":31}},"error":null}
Expand Down
Loading
Loading