[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:
co-authored by
Bugen Zhao
Codex
parent
2d9c30a7b5
commit
7632f767f0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user