Desktop · Guides

Run a model on your computer

Load a model into TALOS Desktop's own engine, or use Ollama or LM Studio, open one from the chat, and choose what happens when its window fills up.

Checked on Desktop 0.1.19

A newer version is out (Desktop 0.2.4): some details may differ.

A local model answers without sending anything over the network. TALOS has its own engine, which it starts and stops, and also works with Ollama and LM Studio if you already have them.

  1. Open Settings → Model Lab, then its Hugging Face tab: models to download, and those installed.
  2. See which models are on disk and which one is loaded in memory, each with its size in GB and whether it fits in the memory available.
  3. Load or unload a model from there.

No model is recommended or forced: you choose, and the engine’s settings are read from the model file itself. The Downloads tab follows every download, with its progress, pauses and recovery; the System tab describes this computer. The operations behind it are in Local models.

For its own engine, TALOS says in plain words what the model runs on: the graphics card, by name, or the processor, or a path you chose. Being reachable and having a model loaded are shown on two separate lines.

When the graphics card is not available, the model runs on the processor, and TALOS says so. When the card’s memory is too small for the model, TALOS does not decide by itself: it tells you, and offers the processor — slower — in the menu of the local engine.

  • The context window is the real one. TALOS reads it from the engine — at least 64K when the machine can hold it — so long conversations are summarised at the right moment, not too late.
  • Fewer tools up front. With a small window (16K or 32K) the model starts with only the essential tools; the others are one search away. The tool definitions shrink from about 6,400 to about 4,400 tokens.
  • One request at a time. TALOS’s own engine serves one request at a time, so a summary prepared at the end of a turn gives way to your next message at once instead of making it wait.
  • Compactions never block the chat. A quick compaction made without the model comes first; at the end of the turn the open model writes its own, which takes the quick one’s place. On a slow engine TALOS estimates first and does not ask for a compaction that would not finish in time; while a turn waits, one line shows the progress with Skip and Stop. See Long conversations.
  • A sub-task can use it too: a delegated agent can run on the local engine, Ollama or LM Studio, not only on a provider.
  • One model at a time. When a chat asks for a local model other than the one open, TALOS changes the model; if another conversation is still answering with the open one, it waits for it first.

Opening a model takes a moment, and one live row says what is happening, with the seconds: Opening ‹model›, Loading ‹model›, Loading the part for images, Waking ‹model›, Freeing the graphics card, Waiting for the other conversation to finish, Reopening ‹model› with more room, or Trying again with the other engine. Stop works during the first load too: the turn then says it stopped while the model was still loading.

Besides the Model Lab, you can ask in the chat: “which local models do I have?”, “open Qwen”, “close the local model and free the memory”. TALOS lists the models downloaded on this computer, with their size, whether each one fits in memory and which one is open. Opening or closing one goes through a card you approve, except in Full access. A model that is still answering in another conversation is not closed. This does not change the model of the conversation: to change that, ask TALOS to change the setting, or use the model picker.

By default, when a conversation outgrows the local model’s window, TALOS enlarges the window: the engine reopens the model with more room and the conversation goes on whole. A row says Window enlarged to ‹size› to fit the conversation; Details says by how much, and about how much more memory it uses. The choice is remembered for that model.

To change what happens, open Settings → Model Lab, card When a local model’s window fills up:

  • Enlarge the window — keeps the whole conversation and uses more memory. If it cannot, it compacts.
  • Compact — uses no extra memory; older details are condensed.
  • Ask me — pauses with a card offering Enlarge the window, Compact and Choose another model.

TALOS never stops the conversation for this unless nothing can fit it. When the model knows in advance that it will need more — several large files to compare — it can ask to enlarge the window itself, on a card you approve.

With local models TALOS saves on disk where each conversation got to: when you come back, the model picks up from there and answers sooner, without reading it all again. Set the space in Settings → Model Lab → Conversation memory, Disk space (GB) — 8 GB by default. When the space runs out, the least recently used memory is deleted, never the conversation. 0 turns it off: the model then reads a conversation again from the start, and the first answer comes later. If a model answers slower with it, or cannot use it, TALOS turns it off for that model only and says so.

A long local job should not stop because the PC went to sleep. In Settings → Agent tools and permissions → Keep the PC awake, choose Never, While TALOS works (the default) or Always. The screen still turns off as usual. This works only in the installed app.

  • The graphics card is not available: the model runs on the processor — a warning, not an error. It works, more slowly.
  • The graphics card’s memory is not enough — choose the processor in the menu of the local engine, or a smaller model.
  • “LM Studio is not running on this computer” — the model picker says this, instead of an empty list, when TALOS cannot reach LM Studio or Ollama. Start it, then open the picker again: its models appear.
  • “The graphics card is slower than usual” — the row gives the tokens per second now and the best seen on this PC. Restarting the PC usually brings it back to full speed.
  • “The window could not be enlarged” — compact the older part, or choose a model that reads more.
  • The engine did not start — Doctor and the engine’s tab show the last error read.
  • Generation ends at once — it happens with local models: a chat model served without its conversation format, a window already full, or a sampling that stops at the first token.
  • With LM Studio models, TALOS does not yet know how much text the model can hold. With a small-window model it does not warn you first or summarize the conversation in time: the model refuses the request or cuts it short.
Sources
  • Help center — Local engine (Italian, @ desktop-v0.1.19)
  • Model laboratory tabs (@ desktop-v0.1.19)
  • desktop-v0.2.1: the window that grows, its card and its tool (harness-ui/src/finestra-che-cresce.mjs, harness-ui/frontend/src/components/finestra-piena.js)
  • desktop-v0.2.1: Conversation memory and Keep the PC awake (harness-ui/frontend/src/components/memoria-conversazioni.js, harness-ui/frontend/src/components/pc-sveglio-impostazioni.js, text in harness-ui/frontend/src/i18n/testi/varie.js)
  • desktop-v0.2.1: open and free a local model from the chat (harness-ui/src/fornitori-per-il-modello.mjs)
  • desktop-v0.2.1: the live row while a model opens, and the slow card notice (harness-ui/frontend/src/i18n/testi/chat.js)

Type to search the guides.

    Ask the docs

    Ask in plain words. A small model finds the passage of the guides that answers it, on this device: the question never leaves it.

    all-MiniLM-L6-v2 (Apache-2.0) and the ONNX runtime, served by talos-code.com and kept in your browser’s cache. It finds passages; it does not write answers.

    Loading the model