Zoznam obsahuje 6 verzií programu mtop – od 18. júna 2026 po aktuálnu verziu 1.7.0. Každá verzia vedie na inštalátory zo servera výrobcu.
| Verzia | Dátum | Veľkosť | Súbory |
|---|---|---|---|
| 1.7.0Najnovšia | 1. decembra 2026 | — | 64-bit ZIP Zoznam zmienSee how much context still fits on your GPU, and which context brings a spilled model back.
demo
Ollama picks the context from total VRAM: 4k on cards under 23 GB, 32k up to 47 GB. So on a 12 or 16 GB card you're often running 4k with room for a lot more, and when a model spills to CPU the fix is usually a smaller num_ctx, but nothing tells you which.
Added
- For each loaded Ollama model, the largest context it could load with and stay all on the GPU. The selected model gets a line under the models table: ctx 4k · up to 22k fits on GPU, ctx 4k · full 40k fits on GPU, or no room to grow on GPU.
- The CPU verdict says what to set: 38% of model on CPU · fits at ctx 16k, or GPU too full when even a small context wouldn't fit next to what else is loaded.
It's worked out from what a token of context costs in KV cache (layer and head counts from /api/show; sliding-window, MLA and hybrid models counted the way llama.cpp allocates them), the VRAM free right now, and the 1 GB margin llama.cpp keeps free when it places layers. Checked on a 5090 with Ollama 0.32: a model forced 24% onto CPU got fits at ctx 29k, and reloaded at 29k it sat entirely on the GPU. It errs low, never high.
Ollama doesn't report its KV cache type or parallel slots, so mtop reads OLLAMA_KV_CACHE_TYPE and OLLAMA_NUM_PARALLEL from its own environment. An Ollama on another machine, and llama.cpp, LM Studio and vLLM rows, don't get a fit yet.
Changed
- mtop --demo runs on a simulated 16 GB card, with qwen3:8b at its full 40k context spilling 38% to CPU.
Install: brew install eladser/tap/mtop, scoop install mtop, winget install eladser.mtop, or a zip below. Full list in the changelog. |
| 1.6.0 | 17. novembra 2026 | — | 64-bit ZIP Zoznam zmienWatch requests while they stream, and see why a model is slow.
demo
No model server handy? mtop --demo plays a looping scenario on simulated models, traffic and a GPU.
Added
- Requests in flight show at the top of the requests pane with a ▶: elapsed time, tokens so far, live tok/s, and at 100 columns the time to first token and decode time.
- A why-slow line under the models table for the selected model: 38% of model on CPU, context 94% full, prompt cut to fit context, rejected: context full, 3 requests queued. Other models with a reason get a !. Queueing needs llama.cpp, vLLM or SGLang, since ollama doesn't report a queue.
- A hw thermal slowdown / hw power brake line in the GPU pane when the card throttles itself (NVIDIA, held for 3 polls with the card busy).
- mtop --demo: simulated models, traffic and a GPU. Opens no port and touches no server.
- llama.cpp router mode: each loaded model gets its own slots, context size and running/queued counts. The llama.cpp row also shows queued requests and draft acceptance (draft 71%).
- Lemonade rows show running requests and tok/s.
Changed
- tok/s for streamed OpenAI-style requests is decode only: llama.cpp's own predicted_per_second when it sends one, otherwise tokens over the time since the first token. Prompt processing and model loads no longer drag it down. -history mixes old and new numbers.
Fixed
- A llama.cpp router showed a phantom none row.
- llama.cpp rows read kv 0% on current builds, which dropped that gauge.
- Escape sequences in model names, server notes or the inspector's prompt and completion text reached the terminal.
- Long model names and the status line wrapped narrow terminals and pushed the status line off screen.
- tok/s on very short replies read too high.
- Bubble Tea 2.1.1 for GHSA-qc58-pfg9-7pph.
mtop never polls llama.cpp's /slots, so a server started with --sleep-idle-seconds still gets to sleep.
Install: brew install eladser/tap/mtop, scoop install mtop, winget install eladser.mtop, or a zip below. Full list in the changelog. |
| 1.5.0 | 30. septembra 2026 | — | 64-bit ZIP Zoznam zmienmtop now tells you why a local model is slow, or why its answers went wrong.
Why is it slow?
- When Ollama can't fit a model in VRAM it quietly runs part of it on the CPU. The models pane now turns that row amber and shows cpu 38% next to the TTL. Lemonade models running on CPU show up too.
Why is the answer off?
- A prompt that blew the context window gets a ctx 97% or ctx over, rejected marker in the requests pane, with details in the inspector.
- llama.cpp, vLLM and SGLang rejections are read from the error the server sends back, so that one's exact.
- Ollama trims prompts silently, so anything at 90% of the window or more is flagged as likely truncated.
Reasoning models
- Thinking tokens count toward tok/s on OpenAI-style streams (reasoning_content and reasoning).
- The inspector shows the thinking text separately from the answer, for Ollama, OpenAI-style and /v1/responses traffic.
More runners, more GPUs
- llama-swap, Lemonade and SGLang, with u to unload on llama-swap and Lemonade.
- AMD GPUs through amd-smi, with rocm-smi as the fallback.
- AMD and Intel GPUs on Windows, read from the system performance counters (temp and power show n/a there).
Also
- Two new /metrics series: mtop_model_cpu_percent and mtop_ctx_overflow_total. -notify fires for both warnings.
- The models pane now shows name, VRAM and TTL first, so the markers still fit a 100-column terminal.
- Moved to Bubble Tea v2.
- Captured prompt and answer text (-inspect) stays in memory and is no longer written to the history file.
- Fixes: an old Lemonade on :8000 no longer shows as vLLM, llama-swap no longer appears twice, and the by-model view doesn't reshuffle equal rows.
brew and scoop pick this up shortly; winget follows once Microsoft merges the bump. |
| 1.4.0 | 29. septembra 2026 | — | 64-bit ZIP Zoznam zmienCatches up with what the runners changed over the summer.
Fixed
- vLLM 0.12 renamed its kv-cache metric, so the pane sat at 0%. Both names are read now.
- Anything answering on a probed port (a dev server on :8000, say) no longer shows up as a phantom vllm or llama.cpp model.
- Streamed OpenAI-style requests without a usage block now get recorded. llama.cpp's own timings are used when the stream carries them, otherwise tok/s is estimated from the chunk count and marked as such. The bytes your client gets are still untouched.
- nvidia-smi [N/A] fields show as n/a instead of a fake 0, and stay out of the energy total.
- A rocm-smi response mtop can't read surfaces as an error instead of a blank GPU pane.
New
- The proxy records /v1/responses traffic, streamed or not.
- llama.cpp router mode (llama-server started without -m) lists every loaded model.
- LM Studio 0.4's v1 REST API, with a fallback for older installs.
- A CHANGELOG, backfilled to 1.0.
brew and scoop pick this up as usual; winget follows once Microsoft merges the bump. |
| 1.3.0 | 18. júna 2026 | — | 64-bit ZIP Zoznam zmienWatch more than one box, see more per request, and a couple of new numbers.
- Multi-host: give -ollama a comma list and mtop stacks the models and GPUs from each machine, tagged by host. Handy if you run models on a couple of boxes.
- GPU util and memory now draw as sparklines over time, next to the live numbers.
- Request inspector: run with -inspect, press i, and you get the last request's prompt, completion, and a load/prompt/decode timing split. Off by default; the text it captures is stripped of control bytes so a model can't smuggle escape sequences into your terminal.
- Session energy on the TOK/S line: watt-hours used and tokens per watt-hour. It's whole-GPU power, so read it as a rough efficiency number.
- compare -openai <url> runs the comparison against llama.cpp, LM Studio or vLLM, not just ollama.
- -mem-alert and -temp-alert to set the alert thresholds instead of the built-in 93% and 87C.
brew and scoop pick this up as usual; winget follows once Microsoft merges the bump. |
| 1.2.0 | 18. júna 2026 | — | 64-bit ZIP |