GrepBoard/Manuals
605 manuals ·

Local AI 7

Running models on your own machine with Ollama: memory, ports and access from other devices.

  1. Ollama Tuning: OLLAMA_NUM_PARALLEL, OLLAMA_KEEP_ALIVE, num_ctx

    OLLAMA_NUM_PARALLEL multiplies context memory; OLLAMA_KEEP_ALIVE sets how long a model stays loaded. Check both via the server config log line and ollama ps.

    Ollama 0.40.11 (Docker · CPU · 2 GB container) · qwen2.5:0.5b · 2026-10
  2. Fix Ollama: model requires more system memory than is available

    Fix Ollama model requires more system memory: unload other models, pick a smaller quantization, lower num_ctx, and check the container memory limit.

    Ollama 0.40.11 (Docker · CPU) · qwen2.5:0.5b · 2026-10
  3. Access Ollama from Another Device: OLLAMA_HOST vs SSH Tunnel

    OLLAMA_HOST=0.0.0.0 opens Ollama's unauthenticated API to your whole network. Reach it from another device through an SSH tunnel, or firewall the source.

    Ollama 0.40.11 (Docker) · OpenSSH (Ubuntu 24.04) · 2026-10
  4. Fix Ollama Error: pull model manifest: file does not exist

    Ollama's pull model manifest: file does not exist means that name and tag aren't in the registry. Copy the exact name from the model's Tags list and pull again.

    Ollama 0.40.11 (Docker · CPU) · curl 8.17.0 · 2026-10
  5. Change Ollama Model Storage Location with OLLAMA_MODELS

    Move Ollama models by setting OLLAMA_MODELS on the server process. Give the folder to the ollama user, copy the models, then check the log and ollama list.

    Ollama 0.40.11 (Docker · CPU) · qwen2.5:0.5b · 2026-10
  6. Ollama Using CPU Instead of GPU? ollama ps Shows 100% CPU

    ollama ps showing 100% CPU means Ollama found no GPU at startup. Use the inference compute log line and OLLAMA_DEBUG=1 to find the missing piece.

    Ollama 0.40.11 (Docker · x86 machine without a GPU) · Docker 29.9.2 · 2026-10
  7. Fix Ollama 127.0.0.1:11434 connect: connection refused

    Ollama connection refused on 11434: no server, a server on another address or port, or localhost called inside a container. Match the address and OLLAMA_HOST.

    Ollama 0.40.11 (Docker) · curl 8.17.0 · ollama-python 0.6.3 · 2026-10