omm tune
Recommend a starting context length, GPU offload, thread count, and batch size for a model on this machine.
01 / 06
Overview
Reach for tune once you've picked a model, installed or not, and want conservative starting values before you configure a runner by hand. It never benchmarks anything itself — it's a prediction based on this machine's hardware and the model's size, meant as a first guess you'd then verify with omm benchmark.
02 / 06
Options
Every flag this command accepts, and what it defaults to when you leave it out.
<name>—Default: requiredAn installed model's filename, a curated name, or a repo reference. Not-yet-installed models work too, as long as their size can be resolved.
03 / 06
Examples
From a plain search to something you'd put in a script.
Recommended settings for an installed model.
$ omm tune qwen2.5-0.5b-instruct-q4_k_m.ggufThe same profile as JSON.
$ omm tune qwen2.5-0.5b-instruct-q4_k_m.gguf --jsonWorks on a model that isn't installed yet, if its size can be resolved.
$ omm tune mistral-7b-instruct-q404 / 06
A real run
Real omm tune qwen2.5-0.5b-instruct-q4_k_m.gguf capture, 2026-08-24, this dev machine. The negative headroom reflects this machine's real memory pressure at capture time — a busier or freer machine will show a different number.
06 / 06
If something goes wrong
Every message below is one this command actually prints. Find yours, read why it happened, then do the last line.
Unknown model 'zzzz-totally-fake-model-name-xyz'. Use a curated name (tinyllama-1.1b-q4, llama3.1-8b-instruct-q4, mistral-7b-instruct-q4), an 'org/repo:file.gguf' ref (optionally prefixed 'hf:' or 'ms:'), or a direct URL.- why
- This name doesn't match anything in the curated catalog, and it isn't a repo reference or URL tune recognizes either.
- what to do
- Try omm search first to find the exact name or reference.
- source
- src/omm/hub.py:371
Still stuck? Open an issue with the exact message you saw.
All commands
- omm searchFind a model across the curated catalog, HuggingFace and ModelScope.
- omm installDownload a model into the hub and link it into every installed runner.
- omm runChat with an installed model — in the terminal for Ollama, or by opening the app for GUI runners.
- omm recommendGet a model suggestion ranked for this machine's hardware, with an offer to install it.
- omm contributeBenchmark models in a loop, uploading telemetry to improve recommend for hardware like yours.
- omm setupRe-run the hardware scan and runner-install checklist, any time.
- omm scanPrint this machine's hardware, detected runners, and models — no flags needed.
- omm fitSee whether a model fits this machine's free memory right now, installed or not.
- omm helpShow omm's own command summary, or the full reference with --all.
- omm importAdopt .gguf files sitting in other apps' model directories into the omm hub.
- omm uninstallRemove a model and clean up its symlinks and manifests. Alias: rm.
- omm listShow every model omm has installed and which runners each is linked into. Alias: ls.
- omm infoShow full detail — repo, version, size, links, run commands — for one installed model.
- omm upgradeRefresh installed models against their source — only re-downloads what's actually changed. Alias: up.
- omm linkRe-verify and repair every installed model's runner links, or link into a custom directory.
- omm cleanupClean up leftover partial downloads and broken runner symlinks in one pass — no flags needed.
- omm verifyProve that an installed model actually loads and generates text on this machine.
- omm benchmarkLocal quality and speed smoke evidence for one or more installed models.
- omm updateReinstall omm from the latest source and refresh its recommendation data.
- omm settingView or change omm's settings — telemetry, outbound data, theme, update channel, and more.
- omm doctorDiagnose the omm install and Ollama links, read-only — no flags needed.
- omm engine installInstall one local AI runner program directly, skipping the setup checklist.
- omm logRead the local run log: what omm ran, when, and whether it worked.
- README — UsageEvery omm command, one line each.