| Index | index by Group | index by Distribution | index by Vendor | index by creation date | index by Name | Mirrors | Help | Search |
| Name: llama-swap | Distribution: openSUSE Tumbleweed |
| Version: 277 | Vendor: openSUSE |
| Release: 1.1 | Build date: Fri Nov 27 10:38:43 2026 |
| Group: Unspecified | Build host: reproducible |
| Size: 241351822 | Source RPM: llama-swap-277-1.1.src.rpm |
| Packager: https://bugs.opensuse.org | |
| Url: https://github.com/mostlygeek/llama-swap | |
| Summary: OpenAI-compatible proxy that hot swaps llama.cpp models on demand | |
llama-swap sits in front of llama.cpp (or any compatible server binary) as an
OpenAI compatible API endpoint. Instead of starting one server per model, it
starts the server for whichever model a request asks for, unloads it when a
different model is requested, and keeps the endpoint, the API key and the port
unchanged while doing so.
A web UI on the same port manages the model list and shows activity. The
configuration is a YAML file, or a directory of them, so swapping models costs
a few seconds instead of a restart of the whole stack.
Run it with a config file, the example is in
/usr/share/doc/packages/llama-swap/config.example.yaml:
llama-swap -config config.yaml
MIT
* Fri Nov 27 2026 Frederic Crozat <fcrozat@suse.com>
- Update to version 277:
* security fix: cross-site requests that carry Basic auth are rejected, so a
third-party page can no longer unload models, pause or resume them or start
generations with a login the browser attached to them; Sec-Fetch-Site
marks such requests and an Origin against Host check covers browsers
without Fetch Metadata, top-level GET navigation to /ui/ still works from
other sites, and Bearer, x-api-key and non-browser clients are untouched
* newer nvidia-smi drivers that print a fractional temperature.gpu value
(620.70.06 prints 56.90) no longer leave the Performance tab's temperature
chart at zero
- packaging: no dependency refresh needed, go.mod, go.sum, the UI
package.json and ui/package-lock.json are unchanged since 276, so
vendor.tar.gz and node_modules.tar.gz keep their content
* Thu Nov 26 2026 Frederic Crozat <fcrozat@suse.com>
- Update to version 276:
* peers can advertise their models automatically: llama-swap reads the
peer's /v1/models instead of every model ID being listed in the
configuration, so discovered models route, list and update without a
restart or a configuration reload
* peers.*.models accepts "add <regex>" and "remove <regex>" rules, applied
from top to bottom, and a new peers.*.catalog block sets path, refresh,
limit and transitive; catalogs are fetched in the background, are cached,
and the last good list is kept when a fetch fails
* new GET /api/peers and POST /api/peers/{peer}/refresh endpoints
* the Models page is split into Local, Peers, Selectors and Profiles tabs
that show counts, hide when empty and remember the chosen tab; the
Profiles tab lists every configured profile with its description and
mappings, so switching is one click
* FastFlowLM throughput metrics (usage.prefill_speed_tps and
usage.decoding_speed_tps) are read, so its throughput shows in the
Activity view
* Sun Nov 22 2026 Frederic Crozat <fcrozat@suse.com>
- Update to version 275:
* chat history of the Playground and of Help is stored in IndexedDB instead
of a single localStorage key, so pasted images no longer fill the quota and
throw the history away; Chat gained a History menu and a settings tab
* the Playground parameters (temperature, top P, min P, top K, max tokens)
can be switched off one at a time, and v275 starts them switched off so a
fresh Playground sends no sampler overrides at all; that fixes engines with
stricter ranges, such as ninfer rejecting top_k above 20
* Playground layout fixes for long messages and image previews
* body filters are now applied only to POSTs that are not websocket
upgrades; the /v1/realtime upgrade used to get a body injected that
llama-server read as websocket frames and crashed on
* an alias equal to its own model ID is rejected when the configuration is
loaded and the model picker does not list the row twice anymore
* upstream packaging: the Makefile builds from a release tarball without a
git checkout
- packaging: the binary is built with cgo and as a position independent
executable (CGO_ENABLED=1, -buildmode=pie).
- packaging: GOEXPERIMENT=nodwarf5 and no -trimpath, so that the -debugsource
package is not empty: debugedit cannot rewrite Go's DWARF5 line
tables and -trimpath records paths that are not on disk.
* Mon Nov 16 2026 Frederic Crozat <fcrozat@suse.com>
- Initial package
/usr/bin/llama-swap /usr/share/doc/packages/llama-swap /usr/share/doc/packages/llama-swap/README.md /usr/share/doc/packages/llama-swap/config.example.yaml /usr/share/licenses/llama-swap /usr/share/licenses/llama-swap/LICENSE.md
Generated by rpm2html 1.8.1
Fabrice Bellet, Tue Dec 1 22:35:01 2026