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/completionsendpoint - vLLM Compatible:
/tokenize,/detokenizeendpoints - 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 completionsPOST /tokenize- Tokenize textPOST /detokenize- Detokenize tokensGET /health- Health check
Links
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31079c94979d4e917d530c29185b9be541dbed24d2a027fec792e3cb47f54250
|
|
| MD5 |
d0721f4a3247fe75f0fff7a4d0e0e140
|
|
| BLAKE2b-256 |
64e472cb66928b8c84eb3c4622b96a68336f5795d2b7d20a98ecffc5081c66e3
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1b9761885bf4bca9b9f5a1249ce2891b78cf691b295ac3e377ea878d74b99040
|
|
| MD5 |
2f9c6703f07cb74d8d2831664ce1c576
|
|
| BLAKE2b-256 |
bb6319024b7a2a17341aa78e3790d810d5f20290ca8c2585a1311e058ccc5868
|