Skip to content

sinter v0.2.0

Choose a tag to compare

@srbryers srbryers released this 04 Dec 21:10
· 4 commits to main since this release

sinter v0.2.0 (Apple Silicon, macOS 26 / Metal 4)

New Features

  • Native OpenAI tool_calls (streaming & non-streaming): Parses Qwen XML <tool_call><function=...>...</function></tool_call>, bare <function=...> (when special <tool_call> tokens are stripped), and legacy JSON <tool_call> blocks into structured OpenAI tool_calls deltas/messages with finish_reason: "tool_calls" and schema-aware parameter typing. Verified end-to-end on a 2-turn Qwen4-35B-A3B agent loop.
  • Pure-Rust GGUF v2/v3 Support (Q4_K_M, Q4_K_S, Q5_K, Q6_K, Q8_0, Q4_0, Q4_1, F16, BF16, F32): Load single-file dense GGUF checkpoints (Qwen3, Qwen2, Llama 3, Mistral) directly with zero external dependencies and no sidecar files — including embedded GGUF BPE tokenizer construction, automatic Llama/Mistral interleaved-RoPE conversion, parallel repacking into Metal 4 private arenas, and one-command Hugging Face GGUF downloads (sinter serve org/repo:file.gguf).
    • Note: GGUF weights are currently repacked into sinter's 4-bit Metal 4 format at load time and support dense llama/qwen2/qwen3/mistral GGUFs; native 8-bit kernels and MoE GGUFs are on the roadmap.

Verification

  • All 14 unit and Metal 4 shader compilation tests pass.
  • Verified live 2-turn streaming & non-streaming OpenAI tool-calling loop on Qwen4-35B-A3B.
  • Verified live GGUF downloads & inference on unsloth/Qwen3-0.6B-GGUF:Qwen3-0.6B-Q4_K_M.gguf (0.65s load, 5.6 ms cached TTFT) and bartowski/Llama-3.2-1B-Instruct-GGUF:Llama-3.2-1B-Instruct-Q8_0.gguf (0.86s load, 2.7 ms cached TTFT).

Install / Upgrade

brew upgrade srbryers/tap/sinter   # or: brew install srbryers/tap/sinter
# or:
curl -fsSL https://raw.githubusercontent.com/srbryers/sinter/main/scripts/install.sh | sh