<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Model Gallery · LocalAI</title><link>https://localai.io/docs/models/index.html</link><description>Browse and install models from the model gallery, with the web interface, the CLI or the API.</description><generator>Hugo</generator><language>en-GB</language><atom:link href="https://localai.io/docs/models/index.xml" rel="self" type="application/rss+xml"/><item><title>What models can do</title><link>https://localai.io/docs/models/capabilities/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/capabilities/index.html</guid><description>Text, speech, images, video and 3D: what the models you run can do, and the API for each.</description></item><item><title>Setting Up Models</title><link>https://localai.io/docs/models/setting-up-models/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/setting-up-models/index.html</guid><description>Learn how to install, configure, and manage models in LocalAI</description></item><item><title>Advanced usage</title><link>https://localai.io/docs/models/advanced-usage/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/advanced-usage/index.html</guid><description>Model Configuration with YAML Files LocalAI uses YAML configuration files to define model parameters, templates, and behavior. You can create individual YAML files in the models directory or use a single configuration file with multiple models.&#10;Quick Example:&#10;name: gpt-3.5-turbo parameters: model: luna-ai-llama2-uncensored.ggmlv3.q5_K_M.bin temperature: 0.3 context_size: 512 threads: 10 backend: llama-cpp template: completion: completion chat: chat For a complete reference of all available configuration options, see the Model Configuration page.</description></item><item><title>Model Configuration</title><link>https://localai.io/docs/models/model-configuration/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/model-configuration/index.html</guid><description>LocalAI uses YAML configuration files to define model parameters, templates, and behavior. This page provides a complete reference for all available configuration options.&#10;Configuration scopes and precedence CLI flags and environment variables configure the LocalAI server process. Model YAML files configure one model, while supported fields in an API request can override that model’s defaults for that request. For example, a request containing temperature overrides the model YAML parameters.temperature only for that request.</description></item><item><title>Model Aliases</title><link>https://localai.io/docs/models/model-aliases/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/model-aliases/index.html</guid><description>A model alias is a model name that redirects all traffic to another configured model. Declare gpt-4 as an alias of my-llama-3 and every client calling gpt-4 is served by my-llama-3 with no client reconfiguration: the clients keep their existing model name while you control what answers them on the server side.&#10;Declaring an alias Create a minimal config file in your models directory:</description></item><item><title>Model Failover</title><link>https://localai.io/docs/models/model-failover/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/model-failover/index.html</guid><description>A failover chain is a model name that is served by an ordered list of other models. LocalAI sends each request to the first healthy target. When a target fails, the request moves to the next target, and later requests stay there until the first target has recovered.&#10;Use it to serve a model from a remote LocalAI or another OpenAI-compatible provider, and to fall back to a local model when the remote one is down.</description></item><item><title>Private Registries and Galleries</title><link>https://localai.io/docs/models/private-sources/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/private-sources/index.html</guid><description>LocalAI can pull backends, models and gallery indexes from locations that need authentication: private OCI registries (GHCR, Quay, Harbor, Artifactory, ECR), internal HTTP servers, and private GitHub repositories.&#10;You give LocalAI a credentials file. Each entry matches a URL prefix and says how to authenticate. Gallery files never contain secrets, so you can share a gallery and keep the credentials separate.&#10;Credentials file Pass the file with --credentials-file or LOCALAI_CREDENTIALS_FILE. If neither is set, local-ai run reads credentials.yaml from the data path (LOCALAI_DATA_PATH) when that file exists.</description></item><item><title>Backends</title><link>https://localai.io/docs/models/backends/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/backends/index.html</guid><description>Learn how to use, manage, and develop backends in LocalAI</description></item><item><title>Engines</title><link>https://localai.io/docs/models/engines/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/engines/index.html</guid><description>Backends that have their own page: vllm.cpp, RKLLM, Strata, colibri, audio.cpp, NeMo-Speech.cpp and Whisper-Medusa.</description></item><item><title>Model Updates</title><link>https://localai.io/docs/models/model-updates/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/model-updates/index.html</guid><description>Find out when the gallery changed a model you installed, and upgrade it safely</description></item><item><title>Upgrade Runs</title><link>https://localai.io/docs/models/upgrade-runs/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/upgrade-runs/index.html</guid><description>How the server runs the update of several backends, models and add-ons as one run, and how a run behaves in a cluster</description></item><item><title>GPU Acceleration</title><link>https://localai.io/docs/models/gpu-acceleration/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/gpu-acceleration/index.html</guid><description>Run LocalAI on NVIDIA, AMD, Intel, Vulkan and ARM GPUs, with the right container image and flags.</description></item><item><title>Engine runtime settings</title><link>https://localai.io/docs/models/engine-settings/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/engine-settings/index.html</guid><description>Runtime settings of an inference engine on a model: how LocalAI maps them to YAML keys, how an engine registers, how to add one, and the llama.cpp settings.</description></item><item><title>VRAM and Memory Management</title><link>https://localai.io/docs/models/vram-management/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/vram-management/index.html</guid><description>When running multiple models in LocalAI, especially on systems with limited GPU memory (VRAM), you may encounter situations where loading a new model fails because there isn’t enough available VRAM. LocalAI provides several mechanisms to automatically manage model memory allocation and prevent VRAM exhaustion:&#10;Max Active Backends (LRU Eviction): Limit the number of loaded models, evicting the least recently used when the limit is reached Concurrency Groups: Per-model anti-affinity rules that prevent specific models from coexisting on the same node Watchdog Mechanisms: Automatically unload idle or stuck models based on configurable timeouts The Problem By default, LocalAI keeps models loaded in memory once they’re first used. This means:</description></item><item><title>Disk Prompt Cache</title><link>https://localai.io/docs/models/disk-prompt-cache/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/disk-prompt-cache/index.html</guid><description>Keep the prompt cache of long llama.cpp prompts on disk, per user, so a model reload does not compute them again.</description></item><item><title>Model compatibility table</title><link>https://localai.io/docs/models/compatibility-table/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/compatibility-table/index.html</guid><description>Which backends support which model families, features and hardware.</description></item><item><title>Train and quantize</title><link>https://localai.io/docs/models/training/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/models/training/index.html</guid><description>Fine-tune a model on your data and quantize a model to a smaller file.</description></item></channel></rss>