SMG gRPC proto definitions for SGLang, vLLM, and TRT-LLM
Project description
smg-grpc-proto
Protocol Buffer definitions for SMG (Shepherd Model Gateway) gRPC services.
This package provides pre-compiled Python gRPC stubs for:
- SGLang scheduler service (
sglang_scheduler.proto) - vLLM engine service (
vllm_engine.proto) - TensorRT-LLM service (
trtllm_service.proto)
Installation
pip install smg-grpc-proto
Requires grpcio>=1.78.0 and protobuf>=5.26.0.
Usage
from smg_grpc_proto import sglang_scheduler_pb2, sglang_scheduler_pb2_grpc
from smg_grpc_proto import vllm_engine_pb2, vllm_engine_pb2_grpc
from smg_grpc_proto import trtllm_service_pb2, trtllm_service_pb2_grpc
Proto Source
The proto source files live in grpc_client/proto/ in the SMG repository. Python stubs are generated at build time using grpcio-tools and shipped in the wheel.
Development
To install in editable mode from the repo root:
pip install -e grpc_client/python/
For CI or environments where symlinks don't work:
mkdir -p grpc_client/python/smg_grpc_proto/proto
cp grpc_client/proto/*.proto grpc_client/python/smg_grpc_proto/proto/
pip install -e grpc_client/python/
License
Apache-2.0
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 smg_grpc_proto-0.3.3.tar.gz.
File metadata
- Download URL: smg_grpc_proto-0.3.3.tar.gz
- Upload date:
- Size: 13.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
069bfab2ceb0ca972e9ac278459d6fd343a3b1c0f58f9ea2720b5d6a0db0fb6d
|
|
| MD5 |
5e7e7204ae852835c039582a0fe3db2b
|
|
| BLAKE2b-256 |
d31e033e5d867b9a51c5e80cb395e27a6514861b825ad8ee27a2dda58cf2b6a1
|
File details
Details for the file smg_grpc_proto-0.3.3-py3-none-any.whl.
File metadata
- Download URL: smg_grpc_proto-0.3.3-py3-none-any.whl
- Upload date:
- Size: 44.3 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 |
2aaf353ae65623073e9d8d64372a0b2c2b62633beb3670ddf9a9ffcfc3668384
|
|
| MD5 |
dd27bdf5a629dabd827163d2b3453af7
|
|
| BLAKE2b-256 |
d4ddbe1eb2edcad430bb908525ebfa6aad8d2a50fe007f4980b16b1f87b91fd4
|