Skip to main content

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 (default 0.0.0.0:8000)
  • FRONTEND_ADDR — the gRPC frontend to forward to (default localhost:50051)
curl http://127.0.0.1:8000/healthz
# {"status": "ok"}   when the gRPC frontend is reachable

Links

License

MIT

Metadata

Release files for vllm-grpc-proxy 0.1.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vllm-grpc-proxy 0.1.0
File Size Uploaded
vllm_grpc_proxy-0.1.0.tar.gz 11.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for vllm-grpc-proxy 0.1.0
File Interpreter ABI Platform
vllm_grpc_proxy-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 20.7 kB

Release files / vllm_grpc_proxy-0.1.0.tar.gz

Download URL vllm_grpc_proxy-0.1.0.tar.gz
Size 11.8 kB
Tags Source
SHA-256 checksum
How to use checksums
470f991127e95b1dcbafd1d348cec41c79c237905247ee9852f3894dcf69100f
BLAKE2b-256 checksum
How to use checksums
176f9035232533bed6f77794b69b029fccfd063515ab9615590d868864a89569
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release files / vllm_grpc_proxy-0.1.0-py3-none-any.whl

Download URL vllm_grpc_proxy-0.1.0-py3-none-any.whl
Size 8.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
53e2578bce6396ef748c043f6e0ef9d88351d72f5b59f9222c4c70ddbcb7dced
BLAKE2b-256 checksum
How to use checksums
a76c71da03e43361e8522b2a09437b040236a53c76c9f29022a421b721da4cb2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page