Skip to main content

MLX inference engine and API for Zeta MLX

Project description

zeta-mlx-inference

MLX-based LLM inference engine with OpenAI/vLLM compatible API.

Installation

pip install zeta-mlx-inference

Features

  • MLX Optimized: Native Apple Silicon performance
  • OpenAI Compatible: /v1/chat/completions endpoint
  • vLLM Compatible: /tokenize, /detokenize endpoints
  • Streaming: Real-time token streaming support
  • Multi-model: Support for Qwen, Llama, and more

Usage

from zeta_mlx.inference import InferenceEngine

# Create engine
engine = InferenceEngine("mlx-community/Qwen3-8B-4bit")

# Generate response
result = engine.generate(messages, params)

API Endpoints

  • POST /v1/chat/completions - Chat completions
  • POST /tokenize - Tokenize text
  • POST /detokenize - Detokenize tokens
  • GET /health - Health check

Links

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

zeta_mlx_inference-0.3.2.tar.gz (15.6 kB view details)

Uploaded Source

Built Distribution

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

zeta_mlx_inference-0.3.2-py3-none-any.whl (22.9 kB view details)

Uploaded Python 3

File details

Details for the file zeta_mlx_inference-0.3.2.tar.gz.

File metadata

  • Download URL: zeta_mlx_inference-0.3.2.tar.gz
  • Upload date:
  • Size: 15.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.0 Darwin/25.1.0

File hashes

Hashes for zeta_mlx_inference-0.3.2.tar.gz
Algorithm Hash digest
SHA256 31079c94979d4e917d530c29185b9be541dbed24d2a027fec792e3cb47f54250
MD5 d0721f4a3247fe75f0fff7a4d0e0e140
BLAKE2b-256 64e472cb66928b8c84eb3c4622b96a68336f5795d2b7d20a98ecffc5081c66e3

See more details on using hashes here.

File details

Details for the file zeta_mlx_inference-0.3.2-py3-none-any.whl.

File metadata

  • Download URL: zeta_mlx_inference-0.3.2-py3-none-any.whl
  • Upload date:
  • Size: 22.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.2.1 CPython/3.14.0 Darwin/25.1.0

File hashes

Hashes for zeta_mlx_inference-0.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1b9761885bf4bca9b9f5a1249ce2891b78cf691b295ac3e377ea878d74b99040
MD5 2f9c6703f07cb74d8d2831664ce1c576
BLAKE2b-256 bb6319024b7a2a17341aa78e3790d810d5f20290ca8c2585a1311e058ccc5868

See more details on using hashes here.

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