SMG gRPC servicer implementations for LLM inference engines (vLLM, SGLang)
Project description
smg-grpc-servicer
gRPC servicer implementations for LLM inference engines. Supports vLLM and SGLang.
Installation
For vLLM:
pip install smg-grpc-servicer[vllm]
For SGLang:
pip install smg-grpc-servicer[sglang]
Usage
vLLM
vllm serve meta-llama/Llama-2-7b-hf --grpc
SGLang
sglang serve --model-path meta-llama/Llama-2-7b-hf --grpc-mode
Architecture
smg-grpc-servicer[vllm] ──optional dep──> vllm (lazy import)
smg-grpc-servicer[sglang] ──optional dep──> sglang (lazy import)
smg-grpc-servicer ──depends on──> smg-grpc-proto (hard dependency)
vllm ──optional──> smg-grpc-servicer (via vllm serve --grpc)
sglang ──optional──> smg-grpc-servicer (via --grpc-mode)
Backend dependencies are isolated via extras to avoid conflicts between vLLM and SGLang.
Development
See DEVELOPMENT.md for local development setup, CI, and release workflows.
Project details
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 smg_grpc_servicer-0.5.2.tar.gz.
File metadata
- Download URL: smg_grpc_servicer-0.5.2.tar.gz
- Upload date:
- Size: 37.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
dc8c809fdd1fe6be61289e2afad88f4f575642a6d7802660c5a91dfbd64a8971
|
|
| MD5 |
622f2bfd4609f72bc907fe5c52b51784
|
|
| BLAKE2b-256 |
8f3868c781d764800e11b9ede3533ea90df3c2b0ea0499016094417d5bc1ddb1
|
File details
Details for the file smg_grpc_servicer-0.5.2-py3-none-any.whl.
File metadata
- Download URL: smg_grpc_servicer-0.5.2-py3-none-any.whl
- Upload date:
- Size: 40.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2a10c50ffa3615b1eebeefb5386b0be12d1a4dc4ca5ce05a13c94b7802f1d436
|
|
| MD5 |
c43f9f0175516999da7c282c5d9c8c1e
|
|
| BLAKE2b-256 |
3ab9e86889dd5f405f845b5dd991dd91b4dfb4ff566d98449c97c980ad6f83e2
|