How models are made
Seven checks before a local run startspractitioner-perspective methodology · key facts carry official sources
Seven checkpoints between power-on and the first token: available capacity, resident size, file and runner support, cache scope, licence, output acceptance and where logs go. Each states what to check, what counts as evidence and the next step on failure.
Seven checks, not an installer
These seven items are a pre-run checklist, not an installation tutorial.
The list is: available capacity, resident size, file and runner support, cache scope, licence, output acceptance, and where logs go.
The order runs from "will it fit" to "does the result count". Stop at the first item you cannot verify instead of changing settings blindly.
This site downloads no weights, runs no models, and draws no conclusion about whether a particular machine works.
How to check each one
Each item has three parts: what to check, what counts as evidence, and the next step when the check fails. Evidence always returns to official pages and readings taken on your own machine.
- Available capacity: check what this task can actually use, not the device's advertised total. Evidence is system usage plus runner allocation.
- Resident size: check what the loaded model occupies, not only the download file size. Evidence is the reading after startup.
- File and runner: look for an explicit support statement covering this architecture, task and version. Absent a statement, keep it unknown.
- Cache scope: first establish whether the decoder is standard same-layer full attention, then decide whether the KV formula applies at all.
- Licence: read the licence identifier and terms link on the publishing page; this site does not judge a specific use case.
- Output acceptance: write the task, inputs, pass criteria and failure handling before the first generation.
- Log location: check where logs are written, who may read them and how long they stay; see the local-logs guide.
Available capacity and resident size
Advertised device capacity is not task-available memory. Drivers, the desktop, other processes and the runner itself all queue in the same memory.
Hardware specification pages give published SKU figures, not a reading for your task. This site checked no specific machine and reports no available figure.
Decimal GB and GiB are different units. One GiB is 1,073,741,824 bytes; do not mix the two inside one calculation.
Resident size is loaded occupancy, not repository file size. Precision conversion, tensor layout and runtime allocation all change it.
- If the check fails: release other local load first, start with a short input, record the reading, and only then increase context length.
The file and the runner: a format is not support
A local run requires the runner to recognise the model. Format requirements, backend switches and the support list are all in the runner documentation.
Run prerequisites and download syntax appear in the official llama.cpp documentation: docs/models.md; backend build switches appear in docs/build.md.
- Architecture support: check whether the runner lists this architecture and from which release.
- Task contract: chat, embedding and recognition are separate entry points; changing the task is not merely changing the file.
- Multimodal: the image/audio attachment is often a separate file; without it you fall back to text-only behaviour.
- Version drift: the same model can differ across runner versions; anything not listed stays unknown.
Cache scope: same-layer full attention only
The KV cache formula is 2 × L × Hkv × D × B × C × N. Divide the byte result by 1,073,741,824 to obtain GiB.
It holds only for standard full-attention MHA/GQA decoders whose layers share the same structure and keep complete key/value state per layer.
MLA, hybrid state-space designs, sliding windows and per-layer differing caches are outside that range; forcing the formula onto them produces wrong numbers.
Take L, Hkv and D from the model configuration and B from the runner configuration. If the architecture cannot be confirmed, select "unconfirmed" rather than back-solving from parameter count.
Fill the fields and see the arithmetic in the capacity workbench: context and concurrency budget.
It estimates occupancy under your assumptions. It cannot promise that a run starts, that it stays within a time limit, or that output quality is acceptable.
Licence and use: take the publishing page
Licence identifiers, terms links and use restrictions live on the publishing page. This site copies the identifiers item by item and neither interprets, summarises nor rewrites the terms.
- When the identifier is non-permissive (
other,cc-by-*and similar), read the terms before deciding on a use. - Third-party quantisation repositories usually note inheritance from the base model; the publisher of the quantised artefact is a separate matter.
- Where the official page is silent about a use case, it stays recorded as not stated; do not substitute community claims for an answer.
Output acceptance and where logs go
Before the first generation, write down the task, inputs, pass criteria and failure handling. Acceptance follows the criteria written in advance, not a single impression.
Entry points for checking results: the local-model workflow, the 20-item self-test and troubleshooting by symptom.
Record cost components with the cost calculator. It works on task terms and does not predict a specific machine.
Where logs land, who may read them and how long they persist is a separate question; see "What keeping logs local actually means".
How this differs from the Learn site
The Learn site's local deployment, VRAM and GGUF pages are user-perspective explainers.
This guide gives the pre-run checking order and the evidence standard for each item. Same concept, different depth on each side, cross-linked without duplication.
For capacity and bandwidth arithmetic see "GPU facts and cost math"; for the multimodal bill see "Counting memory for a multimodal model".
Sources
- llama.cpp documentation on supported models and download syntax (GGUF is the format prerequisite for local runs; fetched directly 2026-11-06):https://raw.githubusercontent.com/ggml-org/llama.cpp/master/docs/models.md
- llama.cpp build documentation (compilers and CUDA / Metal / Vulkan backend switches; fetched directly 2026-11-06):https://raw.githubusercontent.com/ggml-org/llama.cpp/master/docs/build.md
- NVIDIA GeForce RTX 4090 official specification page (published memory capacity; fetched directly 2026-11-06):https://www.nvidia.com/en-us/geforce/graphics-cards/40-series/rtx-4090/
- vLLM memory-conservation documentation (example of configuring cache space in GiB; fetched directly 2026-11-06):https://docs.vllm.ai/en/latest/configuration/conserving_memory/
Base source snapshot: 2026-11-06; item-specific additions and check scope appear in the text and source labels. Check original specifications, methods and conditions.
This page appears in: Write code with AI · Build a robot