Expand description
--<runtime>-<name> <value> on superfluid serve: an option of one runtime, checked against what its adapter
declares and forwarded to its worker as --<name> <value>; set once per process, as BASERT_LIB is.
Structs§
- Given
- One
--<runtime>-<name> <value>as given, resolved to the runtime it names.
Functions§
- blamed
- When a probe failed with options given: the option at fault, named as the daemon names it, when the worker
answers without them;
Nonewhen the runtime fails without them too. - check
- The options among
givenforruntime, checked against its declarations, as the pairs its worker takes. - daemon_
environment - What this process must carry for the libraries it loads itself: the llama.cpp tokenizer finds libllama by
SUPERFLUID_LLAMA_LIB, since the worker’s--libnever reaches it. - declared_
by - What
superfluid runtime options <id>lists: a usable runtime’s declaration, else the one its adapter makes before an install, asked asruntime versionsasks it (the worker named for it, the linked adapter, the worker that would install it): the options,--llamacpp-libamong them, are what one reads before the runtime runs here. - export_
to_ daemon - Sets
daemon_environmenton this process, before any such library is loaded. - for_
runtime - The
--<name> <value>pairs a worker ofidgets. - given_
pairs - The options as given, grouped by runtime, for the first probe of a runtime: an option that makes it usable here (its library, its environment) counts from the start, and the worker refuses one it does not take.
- json
superfluid runtime options <id> --json.- looks_
like - Whether
flagis shaped as a runtime option,--<id>-<name>, spelled as a runtime id and an option name can be (an id may hold ‘.’ and ‘_’, a name never does); only then doesservekeep it forresolve. - pull_
args - The arguments an in-process pull gets: the runtime’s options alone, parsed as a worker process parses them.
- refuse_
repeats - Refuses an option given twice: the worker reads the last value and this process the first (
daemon_environment), so a repeat would split one knob between two values; serve refuses it as a usage error before anything starts. - resolve
- The runtime among
idsthatflagnames, the longest id winning (--mlx-x-yis mlx’sx-yunless a runtimemlx-xis here), orNonewhen no runtime here is named. - set
- Keeps the settled options for every worker this process starts; the first call wins.
- settle
- Every given option checked: against
primaryfor its runtime, and against any other runtime named, which must be usable here. - text
superfluid runtime options <id>, for a person.- worker_
args - The arguments an in-process worker gets, parsed as a worker process parses them, so
--venvlands in its field. - worker_
args_ from
Type Aliases§
- Settled
- The options per runtime, as the
--<name> <value>pairs its worker takes.