shoehorn

Quantize any model down to run on your machine

Working when we checked on .

Visit shoehorn

What is shoehorn?

shoehorn quantizes BF16 GGUF language models with an imatrix to exactly fit available VRAM or RAM, then runs them with llama.cpp. It targets local-LLM users whose preset quantizations waste memory headroom or fail to load. It subtracts what inference needs from measured memory, solves a per-tensor mixed-precision assignment, and routinely uses 99.99% of the budget. A local web app measures the machine, streams the fit, shows a perplexity number, and offers a browser-based tool that scans Hugging Face's most-downloaded models for ones matching the budget.

shoehorn pricing

Pricing model: Free

MIT-licensed open-source tool; no paid plans

shoehorn pros

  • Routinely uses 99.99% of the memory budget, sometimes to the byte
  • Quantizer written from scratch in Rust, MIT-licensed, no llama.cpp code linked
  • Outputs standard GGUF v3 loadable by anything downstream of llama.cpp
  • Browser-based 'What fits your machine?' tool ranks Hugging Face models by budget
  • Installs via Homebrew, plus macOS, Linux, and Windows builds; one-button chat UI
  • Reports perplexity to quantify what the fit cost in quality

shoehorn cons

  • Requires llama.cpp on the PATH as the inference backend
  • Linux builds support only NVIDIA or AMD GPUs; Windows only NVIDIA
  • No pricing, support, or hosting plans are documented (open-source tool)

Frequently asked questions about shoehorn

What does shoehorn do?

It quantizes a BF16 GGUF model with an imatrix so it exactly fits your VRAM or RAM, then runs it with llama.cpp. It starts from the memory you actually have and spends every spare megabyte where it buys the most quality.

Who is shoehorn for?

It is for people running language models locally who find preset quantizations either waste hundreds of megabytes of quality headroom or fail to fit at load time.

How precisely does it use the memory budget?

It 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.

What backend does shoehorn require?

shoehorn needs llama.cpp on your PATH as the inference backend. The Homebrew install pulls it in automatically.

How do I install shoehorn?

On macOS you can run `brew install notactuallytreyanastasio/shoehorn/shoehorn`. There are also downloadable releases for macOS (Apple Silicon), Linux (x86-64, NVIDIA or AMD), and Windows (x86-64, NVIDIA), or build from source with `cargo install --path .`.

What does the local web app do?

Running `shoehorn ui` opens a local app that measures your machine, streams the fit, renders the budget as a tape measure, shows a perplexity number for what the fit cost, and ends at a Chat button.

Can shoehorn help me pick a model?

Yes. The 'What fits your machine?' page scans Hugging Face's most-downloaded models for ones shoehorn can fit to your hardware budget, ranked by the quality your memory affords. It runs entirely in the browser.

What output format does shoehorn produce?

It outputs standard GGUF v3 that anything downstream of llama.cpp can load. The quantizer is implemented from scratch in Rust with no llama.cpp code linked.

How much does shoehorn cost?

shoehorn is MIT-licensed and free. There are no paid plans.

What platforms does shoehorn support?

macOS on Apple Silicon, Linux on x86-64 with NVIDIA or AMD GPUs, and Windows on x86-64 with NVIDIA GPUs, plus builds from source via Rust.

Categories

Use cases

Alternatives to shoehorn

Similar AI tools

Search AI tools on NeedAnAI · All AI tools A–Z