From Noisy Kenyan ID OCR to JSON with MLX and Candle
Fine-tune a 50M-parameter model on synthetic Kenyan ID OCR, measure field-level accuracy, and package the fused F16 weights for Candle inference in Rust.
Tag archive
Notes connected by the Rust tag.
Fine-tune a 50M-parameter model on synthetic Kenyan ID OCR, measure field-level accuracy, and package the fused F16 weights for Candle inference in Rust.
A measured walkthrough of the modes, schema, synthetic fixture, and small understanding model I put around PP-OCRv6 to extract Kenyan ID fields locally.
How Dream TTS separates its Flutter interface from Rust synthesis work so document imports, resumable jobs, model files, and private audio stay manageable.
How we cross-compiled three AuthOS binaries with cargo-zigbuild, kept Docker for packaging, and cut our warm publish builds from about 15 minutes per variant to 90 seconds.
AuthOS appeared to hit SQLite's limits at 130 requests per second. Moving Argon2 work, audit writes, activity updates, and overload control changed the result—and exposed what …
How a Rust SSO test suite exposed SQLite write contention, why timeouts and raw transaction SQL did not solve it, and how one writer connection stabilized eight parallel …
A concurrent integration test exposed a check-then-act race in a Rust SAML key-rotation handler. A transaction, a lock on the shared service row, and a partial unique index …
How AuthOS grew around a small Rust core, and what its measured budget-VM throughput means under an explicit 500,000-MAU traffic model.
I rebuilt the AuthOS SQLite benchmark, untangled two limits outside the database, and measured its useful operating point inside a budget-shaped VM.
No entries are filed here yet.
Browse all notes →