Skip to main content

SMG gRPC servicer implementations for LLM inference engines (vLLM, SGLang, MLX, TokenSpeed)

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

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file tokenspeed_smg_grpc_servicer-0.5.3.post20260607.tar.gz.

File metadata

File hashes

Hashes for tokenspeed_smg_grpc_servicer-0.5.3.post20260607.tar.gz
Algorithm Hash digest
SHA256 d8d6fac193ff703322252d18f83ab5112770d1292a827bf76d1256f55860e4ce
MD5 f83771fe3dc8f7699acec62f1b12fb2e
BLAKE2b-256 e23177c72f98058148267ff74c65ed168e2ebabea5044b121536ce9bae011bb9

See more details on using hashes here.

Provenance

The following attestation bundles were made for tokenspeed_smg_grpc_servicer-0.5.3.post20260607.tar.gz:

Publisher: tokenspeed-smg-grpc-servicer.yml on lightseekorg/tokenspeed-third-party

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file tokenspeed_smg_grpc_servicer-0.5.3.post20260607-py3-none-any.whl.

File metadata

File hashes

Hashes for tokenspeed_smg_grpc_servicer-0.5.3.post20260607-py3-none-any.whl
Algorithm Hash digest
SHA256 51f28d25ba9ce7203edbd4318db2ee66f02e44fac332b24e7e69ec104b8d8124
MD5 16d8a2f17f1c9c8472ed56793d6a0012
BLAKE2b-256 6b9bb70bb0b718d98609bd89cfa643b1b5709d75ff60fbf0a3f945f6ebd376fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for tokenspeed_smg_grpc_servicer-0.5.3.post20260607-py3-none-any.whl:

Publisher: tokenspeed-smg-grpc-servicer.yml on lightseekorg/tokenspeed-third-party

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page