Siphon serves Inkling 2 Mini through an OpenAI-compatible API on Linux with CUDA and on Apple Silicon with MLX.
| Platform | Backend |
|---|---|
Linux with Blackwell (sm_120a, RTX 50-series / RTX PRO Blackwell) or Ada (sm_89, RTX 40-series) |
CUDA with speculative decoding, batching, prefix caching, host expert offloading (12–16 GB GPUs), and image inputs |
| Apple Silicon macOS | MLX-LM baseline for one text request at a time |
| GPU | Speculative code Greedy / sampled |
Prefill 4K prompt |
Batched decode 32 streams |
Single-stream context NVFP4 KV |
|---|---|---|---|---|
| RTX 5090 | 885 / 715 tok/s | 34,316 tok/s | 2,145 tok/s | 1,048,576 |
| RTX PRO 6000 Blackwell | 883 / 706 tok/s | 36,053 tok/s | 2,176 tok/s | 1,048,576 |
| RTX 4090 | 601 / 446 tok/s | 15,608 tok/s | 1,480 tok/s | 1,048,576 |
Sampled decode uses temperature 0.8 and lossless speculation. Batched decode reports aggregate throughput. Configurations and longer-context results are in the CUDA benchmarks.
With Rust installed, run the commands below from the repository root. Download the model checkpoint and set MODEL_DIR to its local directory.
Linux with CUDA. Install a CUDA 13.5-compatible driver and pixi.
pixi run cargo build --release -p siphon-cli
target/release/siphon serve "$MODEL_DIR"The build auto-detects the local GPU architecture (sm_120a on RTX 50-series, sm_89 on RTX 40-series, and portable clusters on non-GB202 Blackwell cards such as RTX 5080 / 5070 Ti). When cross-compiling or building in a container without a GPU attached, pass SIPHON_CUDA_ARCH=sm_89 (for Ada) or SIPHON_CLUSTER16=0 (for non-GB202 Blackwell). See installation for Docker and source builds.
Install uv to set up the MLX runtime.
uv sync --project reference --locked
export SIPHON_MLX_PYTHON="$PWD/reference/.venv/bin/python"
cargo run --release -p siphon-cli -- serve "$MODEL_DIR"curl http://127.0.0.1:8000/v1/chat/completions \
-H 'Content-Type: application/json' \
-d '{"model":"inkling-2-mini","messages":[{"role":"user","content":"What is 2 + 2?"}],"reasoning_effort":"none","max_tokens":32}'- Installation and CLI covers builds, the memory planner, and shell completions.
- Server reference and client setup cover API routes and configuration.
- GPU recipes and performance results cover CUDA tuning and measured throughput.
- Engine internals covers architecture, batching, and vision.
- Conversation archives covers optional JSONL deduplication and compression.
Install prek and run prek install to enable the pre-commit and Conventional Commits hooks. If a hook fixes whitespace or line endings, stage the fixes before retrying the commit.
The hooks check formatting on changed Rust files and type-check all workspace targets and features for the host when Rust sources or Cargo inputs change. Run prek run --all-files to audit all files or prek run --stage manual cargo-fmt to audit workspace formatting alone. On Linux, use pixi run git commit or pixi run prek run --all-files to put the CUDA toolkit on the hook's path.
Licensed under Apache-2.0 or MIT, at your option. Contributions are dual licensed under the same terms unless you state otherwise.