March 29Mar 29 Was no llama-swap template on CA and needed it so here we go!llama-swap is a lightweight proxy that sits in front of llama-server and allows for hot swap models. You can serve many models from a single OpenAI-compatible endpoint without manually restarting anything.FeaturesHot model loading and unloadingAliases and groups for multi-model concurrencyOpenAI-compatible APIGPU SupportThe template includes tags for NVIDIA (cuda), AMD (rocm), Vulkan (AMD/Intel iGPU), and CPU-only. Each tag description includes the required Extra Parameters for that GPU type.Setupconfig.yaml Must be manually created example config is linked to below. You can also view llama-swap github for other examplesUse Unraid terminal to make edits so filesystem watchers can see files been changed for Hot Reload I.E nano /mnt/user/appdata/llama-swap/config/config.yaml"Waiting for Approval" Community Applications InstallSearch for llama-swap in the Apps tabSet your Models and Config directory pathsCreate a config.yaml in your Config directory (example config linked in the Overview)Reference your models in config.yaml as /models/yourmodel.ggufSelect the tag matching your GPU and update Extra Parameters accordinglyStart the container and access the UI at http://your-server-ip:8080/uiManual InstallDownload the template XML from the link belowPlace the XML file in /boot/config/plugins/dockerMan/templates-user/ on your Unraid serverIn the Docker tab click Add Container and select llama-swap from the template dropdownSet your Models and Config directory pathsSelect the tag matching your GPU and update Extra Parameters accordinglyStart the container and access the UI at http://your-server-ip:8080/uiTemplate download: https://raw.githubusercontent.com/PikkonMG/unraid-docker-templates/main/templates/llama-swap.xmlLinksGitHub: https://github.com/mostlygeek/llama-swapExample config: https://github.com/PikkonMG/unraid-docker-templates/blob/main/examples/llama-swap/example-llama-swap-config.yamlSupport: https://github.com/mostlygeek/llama-swap/issuesMy Unraid Template Repo: https://github.com/PikkonMG/unraid-docker-templates Edited March 30Mar 30 by PikkonMG
April 30Apr 30 Author 36 minutes ago, opticon said:Thanks for setting this up, it's working great for me so far 🫡 Np.
June 14Jun 14 I'm getting - "did not find expected key"The config file is in place, wondering if the template needs an update?
June 14Jun 14 Author 1 hour ago, i_max said:I'm getting - "did not find expected key"The config file is in place, wondering if the template needs an updateThat error is a YAML parse error I think, right now I can’t reproduce it from the current template working fine on my end. Please paste your current config.yaml and the full log line showing "did not find expected key" so I can check and see where it might be coming from. Edited June 14Jun 14 by PikkonMG
June 22Jun 22 Author On 6/14/2026 at 12:02 PM, i_max said:I'm getting - "did not find expected key"The config file is in place, wondering if the template needs an update?Wanted to check back, did you figure it out if not please share your config.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.