DocsHow-to guides
Troubleshooting
Fixes for engines that are not found, models that will not load, and server or download errors.
Start here
- Server > Logs (⌘5, then the Logs tab) has each engine's log, the app log, every request, the raw exchange behind any chat reply, and the engine table.
- Settings > Providers says whether each engine is ready, and why not.
- The Server screen shows each loaded model's state and any error in red.
Coming in the next release
Traces
Server > Logs > Traces records every chat turn, local server API call and eval run as an OpenTelemetry GenAI trace: tokens, time to first token, engine, model, the device it ran on (CPU, GPU or NPU) and any tool calls. Filter by source (Chat, API or Eval), click a trace to see its steps, and Copy JSON to share one.
- Traces are kept in
~/.modeldeck/tracesfor 14 days by default; change it with Keep for. - Record traces turns recording on or off. Keep prompts and responses is off by default, so traces hold only timings, tokens and models. Turn it on to also keep prompts and responses, for every client. Installs that never changed this setting keep metadata only after updating to 1.5.0. The status line above the list says whether traces are recorded with prompts and responses or as metadata only.
- Export (optional) sends traces over OTLP/HTTP to Langfuse, Phoenix or any OpenTelemetry collector. Nothing is sent until you enter an endpoint, and only metadata leaves this Mac unless you tick Send prompts and responses too. Export headers are stored in plain text in the settings file. Send test span checks the connection.
Engines
| What you see | What to do |
|---|---|
GGUF engine Not available: llama-server not found | Install llama.cpp with brew install llama.cpp. ModelDeck looks in /opt/homebrew/bin first, then your PATH. To use another build, set MODELDECK_LLAMA_SERVER to its path. |
llama-server --version failed or --help failed | The installed llama.cpp does not start. Reinstall it with Homebrew, then check Server > Logs > Engines. |
Splash Not available: not found: … | Install Splash with brew install incoai/tap/splash, or reinstall it if a file it needs is missing. |
| Set up MLX once keeps coming back, or MLX says the environment is missing or broken | Open Settings > Providers > MLX and click Set up or Repair. |
| "MLX needs Python 3.10 or newer" | Install Python, for example brew install python, then set up MLX again. Apple's built-in Python 3.9 is never used. |
| "…is a x86_64 build; MLX needs a native Apple silicon (arm64) Python" | Install a native arm64 Python from Homebrew or python.org. |
Drift shows drifted in Server > Logs > Engines | The engine's options changed since the version ModelDeck was built for. Most settings still work; check the load sheet's warnings. |
Loading models
| What you see | What to do |
|---|---|
| Not enough memory for both models, or for all these models | Another model is loaded or loading. Click Unload … and load, or Cancel. Load anyway works but everything gets much slower. |
| "… is too big for this Mac's memory" | It does not fit even alone. Choose a smaller quant, or a shorter context in the load sheet's quick settings, or close large apps. |
| Won't fit in the load sheet, but you think it fits | The fit check may be stricter than you need. Try Balanced or Relaxed in Settings > General > Fit check, or lower the Memory reserve. |
| "the GPU ran out of memory, so this model cannot answer on this Mac" | The model loaded but the GPU cannot hold it. ModelDeck stopped it. Try a smaller quant or a smaller context. |
| Fix the errors above to continue. in the load sheet | A setting is out of range, or extra args break a rule: --port (use the Port field) or a host setting beyond this Mac. Fix the setting named in the list. |
| "exited unexpectedly" | The engine crashed. Its last log lines are in the message, and the full log is in Server > Logs > Engine logs. |
| "not ready after … s" | The engine did not become ready in time: 180 seconds for GGUF, 300 for MLX and 600 for Splash. Check its log. Very large models may load slowly from a slow disk. |
| The progress bar jumps ahead for a GGUF model | Expected. Memory-mapped weights count as arrived before they are read. |
| "Slowed: the Mac is short of memory" while loading | macOS reports memory pressure. Click Stop, unload other models or close apps, and try again. |
| A model Runs from SSD and replies are slow | Expected: it reads its weights from the SSD. Use a smaller quant to run it in memory. |
| "Didn't load … at startup" | The model chosen in Settings > Startup is missing, incomplete or does not fit. |
| An Incomplete download card | Files are missing. Download it again from Discover; it resumes where it stopped. |
Coming in the next release
When llama.cpp refuses a GGUF file, the error now says why, starting with "llama.cpp cannot load this model":
- it does not support the "…" architecture: llama.cpp does not know this model type yet. A newer GGUF engine may add it; if not, the file was made for a different runtime.
- The file's metadata does not follow the GGUF layout llama.cpp reads: the file was probably made for a different runtime. Choose another repository.
- The file looks damaged or cut short: delete it and download it again.
Server and API
| What you see | What to do |
|---|---|
| The server shows Stopped, or apps get "connection refused" | Click Start server on the Server screen. If it fails with "… is already in use", another app has the port: quit it or choose another port in Settings > Local server. |
401 Invalid or missing API key | You set an API key in Settings > Local server. Send it as Authorization: Bearer <key> or x-api-key: <key>. |
404 Model "…" is not loaded and not in the library | The model value does not match any model. Copy Model id for apps from the Server screen, or list ids with GET /v1/models. |
503 … is not loaded and JIT loading is off | Load the model first, or turn on Load models on first request. |
503 with code: insufficient_memory | The memory check refused the load. Unload a model, or change Settings > General > When a model won't fit. The message names the models in the way. |
502 Engine request failed | The engine stopped or could not be reached. Check the model's state on the Server screen and its engine log. |
| An MLX model is not found by its name | Every MLX model is served as default_model. |
| A web page cannot call the server | By design: the server sends no CORS headers, so browsers block calls from web pages. |
| Hermes cannot read the model catalog | With an API key set, the catalog address needs the key, and Hermes fetches catalogs without one. Use Export JSON on the Server screen, or add ModelDeck as a provider (see Configure agents). |
Live requests on the Server screen, or the modeldeck_recent_requests MCP tool, shows each request's model, status and error, which usually tells you why an app cannot reach a model.
MCP
| What you see | What to do |
|---|---|
| The client cannot connect on port 8098 | Another app may hold port 8098. Use the /mcp path on the local server's address instead, while the server runs. |
401 Invalid or missing API key | Add the local server's API key to the client's MCP configuration as an Authorization: Bearer header. |
404 Only /mcp is served on this port | Add /mcp to the address. |
Discover and downloads
| What you see | What to do |
|---|---|
sha256 mismatch | The file was damaged on the way. ModelDeck deleted it; start the download again. |
| HTTP 401 or 403 when downloading | The model is gated or private. ModelDeck downloads public models only. See Gated and private models. |
| A download is paused after restarting ModelDeck | Expected. Click Resume. |
| "HTTP 429" or a network error when searching | Hugging Face is rate limiting you, or you are offline. ModelDeck retries three times; try again later. |
| Fewer results than expected | The fit filter hides models that do not fit, and models of unknown size. Choose Any size. |
Chat
| What you see | What to do |
|---|---|
| "Engine returned HTTP …" | The engine or provider refused the request; the rest of the message has its reason. For a provider, a 401 usually means a wrong API key. |
| An image or PDF is refused | MLX models read text only, and a GGUF model needs its mmproj vision file, in the same folder or shared from the repository folder. If it is missing, click Download vision file on the model card in Discover, then reload the model. A model loaded with its vision file disabled needs a reload with vision enabled. |
| "Stopped after 5 tool rounds" | The model kept calling tools. Ask a narrower question, or turn Tools off. |
| "This chat's model … is no longer on this Mac" | Click Switch to use the closest model, or pick another. |
| Provider test fails: "HTTP 401 (check the API key)" | Edit the provider in Settings > Providers and enter the key again. |
Coming in the next release
If a chat says "This model cannot call tools on its engine.", the model's chat template does not mark where a tool call starts and ends. ModelDeck turns Tools off for that chat; send again for a plain answer, or pick a model that supports tool calling. See Tools.
Updates
| What you see | What to do |
|---|---|
| "The download did not match its checksum, so nothing was installed" | Click Try the download again. |
| "ModelDeck cannot write to …" | Move ModelDeck to Applications, then update. |
| Version 1.0.0 does not offer updates | It cannot update itself. Download the current version from the home page. |
| An engine update will not apply | Unload the models that use that engine, and wait for any benchmark to finish. |
Get a diagnostics bundle
Settings > Privacy and data > Export diagnostics bundle writes one file to ~/.modeldeck/exports. It holds the app version, your Mac's chip and memory, settings with the API key masked, engine and model status, the last 200 requests and the last 2,000 app log lines. Secrets are masked, and it leaves out your name, business and email. Read it before you share it.