Show HN: Shoehorn – Quantize any model down to run on your machine

Hacker News Top Tools

Summary

Shoehorn is a developer tool that quantizes language models to perfectly fit within a machine's available memory, achieving up to 99.99% memory usage efficiency for local inference.

Working on Mac, Linux, and Windows now. I include a simple GUI to find new models and get things built and set up. It is working quite well across a few models for me. The GitHub README and DESIGN.md files go into detail of the how&#x2F;why and it&#x27;s working remarkably well so far. <a href="https:&#x2F;&#x2F;github.com&#x2F;notactuallytreyanastasio&#x2F;shoehorn" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;notactuallytreyanastasio&#x2F;shoehorn</a>
Original Article
View Cached Full Text

Cached at: 08/18/26, 04:04 PM

# shoehorn — make any language model fit your machine Source: [https://notactuallytreyanastasio.github.io/shoehorn/](https://notactuallytreyanastasio.github.io/shoehorn/) Make any language model fit the memory you actually have\. Preset quantizations ignore your hardware: pick one that fits and you either waste hundreds of megabytes of quality headroom or find out at load time it didn't fit after all\. shoehorn starts from the memory you actually have, subtracts what inference itself needs, and solves a per\-tensor mixed\-precision assignment that lands within a rounding error of the remainder — routinely using**99\.99%**of the budget, sometimes to the byte\. $ shoehorn fit unsloth/Qwen3\-4B\-GGUF \-\-serve**weights: 519\.2 MiB of 519\.2 MiB budget \(99\.998% used, 13 KB slack\)** Before you download ## What fits your machine? Pick your hardware and this page scans Hugging Face's most\-downloaded models for ones shoehorn can fit to your budget — ranked by the quality your memory affords\. Runs entirely in your browser\. Your machine Conversation room Get shoehorn ## Install shoehorn needs[llama\.cpp](https://github.com/ggml-org/llama.cpp)on your PATH as the inference backend \(the Homebrew install pulls it in for you\)\. Then`shoehorn ui`opens the local app — pick a model, press one button, chat\. `brew install notactuallytreyanastasio/shoehorn/shoehorn` Or from source:`cargo install \-\-path \.`after cloning[the repo](https://github.com/notactuallytreyanastasio/shoehorn)\. All[releases](https://github.com/notactuallytreyanastasio/shoehorn/releases)\. The app ## One button, your whole budget The local web app measures your machine, streams the fit, renders the budget as a tape measure, puts a perplexity number on what the fit cost, and ends at a Chat button\. ![a finished fit: the tape-measure budget gauge at 99.998% used, the per-type mix, and Chat and Measure buttons](https://notactuallytreyanastasio.github.io/shoehorn/ui-fitted.png)![the discovery card: models ranked by what your budget affords, each with a Use button](https://notactuallytreyanastasio.github.io/shoehorn/ui-discover.png)

Similar Articles

Show HN: Fine-tune an 8B model on a 4 GB laptop GPU

Hacker News Top

Soup is an open-source CLI that simplifies LLM fine-tuning and post-training with a single command, enabling QLoRA-based training on consumer GPUs with as little as 4 GB VRAM via layer streaming. The latest version adds preference losses like DPO, ORPO, SimPO, and KTO without doubling memory requirements.

Show HN: Reame – a CPU inference server that gets faster as it runs

Hacker News Top

Reame is an LLM inference server built on llama.cpp that optimizes for CPU hardware by caching prompt prefixes and generated n-grams, becoming faster with repeated use. It is designed for cheap hardware like shared vCPUs and free tiers, targeting repetitive AI workloads such as document extraction and batch pipelines.