REST-to-gRPC proxy server for the vllm-grpc frontend
Project description
vllm-grpc-proxy
A REST-to-gRPC proxy for the vllm-grpc
frontend. It exposes an HTTP surface (chat + completions endpoints and a
/healthz check) and forwards each request over gRPC to a running
vllm-grpc-frontend server. Use it when you want REST clients to reach the gRPC
backend.
Affiliation: vllm-grpc is an independent, community project and is not affiliated with, endorsed by, or sponsored by the vLLM project. "vLLM" is used here only to identify the inference engine this project works with.
Install
pip install vllm-grpc-proxy
Run
The package installs a vllm-grpc-proxy console script that launches the REST
surface with uvicorn:
vllm-grpc-proxy # serves on 0.0.0.0:8000 by default
Configure with environment variables:
PROXY_HOST/PROXY_PORT— bind address (default0.0.0.0:8000)FRONTEND_ADDR— the gRPC frontend to forward to (defaultlocalhost:50051)
curl http://127.0.0.1:8000/healthz
# {"status": "ok"} when the gRPC frontend is reachable
Links
- Repository: https://github.com/AncientStudying/vllm-grpc
- Changelog: https://github.com/AncientStudying/vllm-grpc/blob/main/CHANGELOG.md
- Issues: https://github.com/AncientStudying/vllm-grpc/issues
License
MIT
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file vllm_grpc_proxy-0.1.0.tar.gz.
File metadata
- Download URL: vllm_grpc_proxy-0.1.0.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
470f991127e95b1dcbafd1d348cec41c79c237905247ee9852f3894dcf69100f
|
|
| MD5 |
192bf0bfa9b5717ad118499732f11df6
|
|
| BLAKE2b-256 |
176f9035232533bed6f77794b69b029fccfd063515ab9615590d868864a89569
|
File details
Details for the file vllm_grpc_proxy-0.1.0-py3-none-any.whl.
File metadata
- Download URL: vllm_grpc_proxy-0.1.0-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
53e2578bce6396ef748c043f6e0ef9d88351d72f5b59f9222c4c70ddbcb7dced
|
|
| MD5 |
7cf896773a75cc3cb57a0341c089ffb9
|
|
| BLAKE2b-256 |
a76c71da03e43361e8522b2a09437b040236a53c76c9f29022a421b721da4cb2
|