Akashic Computer
Memory budgetNot set

Or a total budget

A total budget does not describe device topology or confirm runtime fit.

All Docs

Deployment · 10 min read · Updated 2026-07-24

Choosing a local inference runtime

How to choose between desktop applications, portable engines, and GPU serving stacks without treating them as interchangeable wrappers.

Key idea

Choose the runtime after the artifact, hardware, and workload are known; convenience and throughput are different optimization targets.

Application and engine are different layers

LM Studio and Ollama provide product-level workflows for acquiring, configuring, and exposing local models. llama.cpp, vLLM, and TensorRT-LLM are inference engines or stacks with different execution models. An application may use an engine internally without exposing all of its controls.

This distinction explains why two tools can run the same GGUF artifact but offer different configuration, APIs, logging, and update behavior. It also explains why a model supported by an underlying engine may not yet appear in an application's managed catalog.

RuntimeRoleUseful whenArtifact path
LM StudioDesktop applicationInspecting and running supported local models through a graphical interface.Commonly GGUF and supported packaged formats
OllamaLocal model serviceA simple local API and managed model workflow.Packaged models, commonly backed by GGUF
llama.cppPortable inference engineDirect control across CPU, Metal, CUDA, Vulkan, and other supported backends.GGUF
vLLMGPU serving engineThroughput-oriented serving, batching, and OpenAI-compatible APIs.Supported Hugging Face checkpoints and quantizations
TensorRT-LLMNVIDIA inference stackNVIDIA-specific compilation and optimized deployment paths.Supported checkpoints and TensorRT engines

Start from artifact compatibility

GGUF points naturally toward llama.cpp-based paths. Hugging Face safetensors and supported quantization configurations often point toward Transformers, vLLM, SGLang, or TensorRT-LLM. Runtime-specific engines may require conversion or compilation.

Do not convert first and investigate later. Confirm that the runtime supports the model architecture, quantization method, tokenizer behavior, and target hardware before downloading a very large artifact.

Interactive use and serving optimize different things

A desktop application prioritizes setup, inspection, and a direct chat workflow. A serving engine prioritizes batching, cache management, concurrency, observability, and an API contract. Both can be local, but they solve different operational problems.

For one user exploring models, a simple managed workflow may be the right choice. For an application with concurrent requests, measure aggregate throughput, time to first token, per-request latency, and failure behavior under load.

Hardware support means usable kernels

A runtime can advertise a quantization name while supporting it only on specific GPU generations or through a fallback path. Native kernels, compiler versions, and architecture-specific implementations determine practical speed and stability.

Multi-GPU support is similarly broad. Tensor parallelism, pipeline parallelism, expert parallelism, and CPU offload have different communication patterns. Confirm the exact topology rather than relying on a generic multi-GPU label.

A runtime decision checklist

Choose the narrowest runtime that satisfies the intended workload, then test the exact artifact. A successful startup is only a smoke test; verify prompt formatting, output quality, memory peaks, prompt-processing speed, decode speed, and shutdown or restart behavior.

Keep model data and runtime state separate. Checkpoints should remain immutable inputs, while logs, caches, compiled engines, and server configuration belong to operational directories that can be replaced without changing model provenance.

  • Exact architecture and artifact support.
  • Target CPU, GPU, and accelerator generation.
  • Interactive versus concurrent serving workload.
  • Context, batching, and cache controls.
  • API, observability, and restart requirements.
  • Measured quality and performance on the real artifact.

Primary sources

Continue reading