[Rust Frontend] Support HTTP RL weight synchronization (#56567)

Co-authored-by: Bugen Zhao <i@bugenzhao.com>
Co-authored-by: Codex <noreply@openai.com>
Signed-off-by: Wang Zupeng <zupenwang@gmail.com>
Signed-off-by: Bugen Zhao <i@bugenzhao.com>
This commit is contained in:
Zupeng Wang
2026-09-14 03:37:04 +00:00
committed by GitHub
co-authored by Bugen Zhao Codex
parent 2d9c30a7b5
commit 7632f767f0
8 changed files with 483 additions and 6 deletions
+11
View File
@@ -43,6 +43,17 @@ For example:
VLLM_USE_RUST_FRONTEND=1 vllm serve Qwen/Qwen3-0.6B
```
### RL weight synchronization
With `VLLM_SERVER_DEV_MODE=1`, the Rust frontend supports the HTTP weight-transfer
lifecycle used by `HTTPVLLMWeightSyncClient`: initialization, starting an update,
transferring weights, and finishing the update. It also supports draft-model
updates and `/update_weight_version` and `/weight_info` for version tracking.
For trainer-side usage, see the [IPC](../examples/rl/rlhf_http_ipc.py) and
[NCCL](../examples/rl/rlhf_http_nccl.py) examples. Configure the weight-transfer
backend on the server and pause generation during updates, as shown there.
### External Engine
`vllm-rs serve` can be run standalone with `--data-parallel-size-local 0` when the Python engines