Skip to main content

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.

Metadata

Release files for tokenspeed-smg-grpc-servicer 0.5.2.post20260514

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

Source distribution (sdist)

Source distribution for tokenspeed-smg-grpc-servicer 0.5.2.post20260514
File Size Uploaded
tokenspeed_smg_grpc_servicer-0.5.2.post20260514.tar.gz 82.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tokenspeed-smg-grpc-servicer 0.5.2.post20260514
File Interpreter ABI Platform
tokenspeed_smg_grpc_servicer-0.5.2.post20260514-py3-none-any.whl Python 3 none any Details

Total release size: 162.1 kB

Release files / tokenspeed_smg_grpc_servicer-0.5.2.post20260514.tar.gz

Download URL tokenspeed_smg_grpc_servicer-0.5.2.post20260514.tar.gz
Size 82.2 kB
Tags Source
SHA-256 checksum
How to use checksums
340648252a2d3e5e05471f7f135c3a07402c55113366be40016dd5b2430dec97
BLAKE2b-256 checksum
How to use checksums
41ad35787e67c194704aac4423677b5a3b1a9fdf6edf19227dcdb0a058166ed5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 14, 2026.

Transparency log

Release files / tokenspeed_smg_grpc_servicer-0.5.2.post20260514-py3-none-any.whl

Download URL tokenspeed_smg_grpc_servicer-0.5.2.post20260514-py3-none-any.whl
Size 79.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b099884c1ad0a93868bd03ab851c3a5d9ad0888aa865534ac55b77721dcd03d2
BLAKE2b-256 checksum
How to use checksums
d1806b6234e6c1a707aabfbda8c77fb36d962f2fb719600826ab4556d44209f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 14, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.5.2.post20260514 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