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.2.post20260514.tar.gz.

File metadata

File hashes

Hashes for tokenspeed_smg_grpc_servicer-0.5.2.post20260514.tar.gz
Algorithm Hash digest
SHA256 340648252a2d3e5e05471f7f135c3a07402c55113366be40016dd5b2430dec97
MD5 982fa4be3b4f91b7f71e321609831c09
BLAKE2b-256 41ad35787e67c194704aac4423677b5a3b1a9fdf6edf19227dcdb0a058166ed5

See more details on using hashes here.

Provenance

The following attestation bundles were made for tokenspeed_smg_grpc_servicer-0.5.2.post20260514.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.2.post20260514-py3-none-any.whl.

File metadata

File hashes

Hashes for tokenspeed_smg_grpc_servicer-0.5.2.post20260514-py3-none-any.whl
Algorithm Hash digest
SHA256 b099884c1ad0a93868bd03ab851c3a5d9ad0888aa865534ac55b77721dcd03d2
MD5 fa969aaf9973f36cf2297721d8afe53d
BLAKE2b-256 d1806b6234e6c1a707aabfbda8c77fb36d962f2fb719600826ab4556d44209f5

See more details on using hashes here.

Provenance

The following attestation bundles were made for tokenspeed_smg_grpc_servicer-0.5.2.post20260514-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