Repository navigation
roton v0.2.0 — first real GGUF tokens
First real GGUF tokens
I verified roton run end to end on an Apple M5 Pro with the public SmolLM2-135M-Instruct-Q8_0.gguf checkpoint.
cargo build --release
./target/release/roton run SmolLM2-135M-Instruct-Q8_0.gguf \
"The capital of France is" --max-tokens 64 --max-ctx 256The verified run started with " Paris." and measured 134.0 tok/s for the 5-token prompt and 353.3 tok/s while decoding 64 tokens.
Included
- Zero-copy GGUF
mmapweights backed by MetalnewBufferWithBytesNoCopy roton run <model.gguf> <prompt>with streaming greedy generation- Built-in GGUF BPE and SentencePiece tokenizer
- Q8_0, Q4_0, Q4_K, Q6_K, F16, and F32 GEMV paths
- Single-command-buffer per-token execution, QK-Norm, bias, and GPU KV-cache writes
- Bilingual quick start, measured performance, and an explicit support matrix
Verification
cargo fmt --all -- --checkcargo clippy --workspace --all-targets -- -D warningscargo test --workspace— 12 tests passedcargo build --release- Real SmolLM2-135M-Instruct Q8_0 smoke test on Apple M5 Pro
Current scope
roton run currently targets standard dense llama GGUF models and uses greedy decoding with sequential prompt prefill. Q5 kernels, batched prompt prefill, Qwen, MoE, GLM, and HTTP serving remain roadmap work.