sci-ml/llama-swap (bentoo)

Search

Install

Install this package:

emerge -a sci-ml/llama-swap

Package Information

Description:
llama-swap sits in front of one or more OpenAI-compatible inference servers and starts, stops and swaps them on demand, so a single endpoint can serve many models without keeping them all resident. It works with llama.cpp, vLLM and anything else exposing the same API. The daemon has no authentication of its own and both shipped service files bind 127.0.0.1 by default. Put an authenticating proxy in front of it before exposing it to a network you do not control. Written in pure Go with no cgo, which is why it carries ~arm64 while the C++ inference packages in this overlay do not.
Homepage:
https://github.com/mostlygeek/llama-swap
License:
MIT Apache-2.0 BSD BSD-2 ISC

Versions

Version EAPI Keywords Slot
250-r1 8 ~amd64 ~arm64 0

Metadata

Description

Maintainers

Upstream

Raw Metadata XML
<pkgmetadata>
	<maintainer type="person">
		<email>lucascs@proton.me</email>
		<name>Lucas C.S.</name>
	</maintainer>
	<longdescription lang="en">
		llama-swap sits in front of one or more OpenAI-compatible inference
		servers and starts, stops and swaps them on demand, so a single
		endpoint can serve many models without keeping them all resident.
		It works with llama.cpp, vLLM and anything else exposing the same API.

		The daemon has no authentication of its own and both shipped service
		files bind 127.0.0.1 by default. Put an authenticating proxy in front
		of it before exposing it to a network you do not control.

		Written in pure Go with no cgo, which is why it carries ~arm64 while
		the C++ inference packages in this overlay do not.
	</longdescription>
	<use>
		<flag name="ui">Build and embed the Svelte web interface. Requires npm at build time; without this flag the binary serves the API only and /ui returns nothing</flag>
	</use>
	<upstream>
		<bugs-to>https://github.com/mostlygeek/llama-swap/issues</bugs-to>
		<remote-id type="github">mostlygeek/llama-swap</remote-id>
	</upstream>
</pkgmetadata>

Lint Warnings

USE Flags

Manage flags for this package: euse -i <flag> -p sci-ml/llama-swap | euse -E <flag> -p sci-ml/llama-swap | euse -D <flag> -p sci-ml/llama-swap

Flag Description 250-r1
systemd Pull in sys-apps/systemd for bentoo snapshot scheduling via systemd timers ⚠️
ui Build and embed the Svelte web interface. Requires npm at build time; without this flag the binary serves the API only and /ui returns nothing

Files

Manifest

Type File Size Versions
Unmatched Entries
Type File Size
DIST llama-swap-250.tar.gz 3753923 bytes