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.post20260519.tar.gz.

File metadata

File hashes

Hashes for tokenspeed_smg_grpc_servicer-0.5.3.post20260519.tar.gz
Algorithm Hash digest
SHA256 23387d4386eb43d35252e081aed343527c82b6015f14cf1aaaef9aa7f62348c0
MD5 6d2171b6e8e53e5facd05f3c7ffcd646
BLAKE2b-256 587d2ba0f85a3be7be4f49a15dcf04eb8303c9cf01efb06a55053ca0859d4282

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for tokenspeed_smg_grpc_servicer-0.5.3.post20260519-py3-none-any.whl
Algorithm Hash digest
SHA256 d8d4dc41fa4b6a8a465c36e9043e40cb854c21f23d71374a03cbdd35a58545fa
MD5 7bca0b81fa843ab4567e5b1737b5828e
BLAKE2b-256 9f9fb3626881e72454b31d0256d048c8b064c3c4993b98391f38717b17dd3e7c

See more details on using hashes here.

Provenance

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