<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Advanced :: LocalAI</title><link>https://localai.io/docs/advanced/index.html</link><description>Advanced usage</description><generator>Hugo</generator><language>en</language><lastBuildDate>Wed, 09 Sep 2026 22:21:32 +0200</lastBuildDate><atom:link href="https://localai.io/docs/advanced/index.xml" rel="self" type="application/rss+xml"/><item><title>Advanced usage</title><link>https://localai.io/docs/advanced/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/advanced/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.
Quick Example:
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>VRAM and Memory Management</title><link>https://localai.io/docs/advanced/vram-management/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/advanced/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:</description></item><item><title>Model Configuration</title><link>https://localai.io/docs/advanced/model-configuration/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/advanced/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.
Overview Model configuration files allow you to:
Define default parameters (temperature, top_p, etc.) Configure prompt templates Specify backend settings Set up function calling Configure GPU and memory options And much more Configuration File Locations You can create model configuration files in several ways:</description></item><item><title>TLS Reverse Proxy Configuration</title><link>https://localai.io/docs/advanced/reverse-proxy-tls/index.html</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://localai.io/docs/advanced/reverse-proxy-tls/index.html</guid><description>Configure LocalAI behind a TLS termination reverse proxy (HAProxy, Apache, Nginx, APISIX)</description></item></channel></rss>