llama.cpp server

ML inferencellama-cpp-server

llama-server: HTTP server for GGUF models on CPU or GPU with OpenAI-compatible routes.

Provider
default
Category
Compute
Also known as
llama-server
Properties · 3 set by this component
propertytypevaluesrequiredkind defaultthis component
acceleratorenumnone | gpu | asicnononeinherited
acceleratorModel · advancedenumnvidia-h100 | nvidia-h200 | nvidia-b200 | nvidia-l4 | nvidia-a100 | amd-mi300x | aws-trainium | aws-inferentia | google-tpu | intel-gaudi | groq-lpu | cerebras-wseno—inherited
apiKeyRequired · component propertyboolean—nofalseinherited
embeddingSyncMinutes · advancedinteger—no—inherited
inputsenumlive | historical | bothnolive▸ live
instancesinteger—no—inherited
localhostOnly · component propertyboolean—notrueinherited
managedboolean—nofalse▸ false
parallelSlots · component propertyinteger—no—inherited
port · component propertyinteger—no8080inherited
snapshotToObjectStore · advancedboolean—nofalseinherited
trainingenumbatch | onlinenobatch▸ batch
Rules that apply · 1

Every rule whose selector covers this component's kind or its category. Whether a rule fires depends on the design: its properties, its edges and its groups.

stateful-node-without-zone-redundancy

A stateful compute node pinned to exactly one availability zone disappears with that zone, and its state goes with it. Nodes inside a cell are exempt, because there the cell is deliberately single-zone and redundancy comes from the other cells.

  • — all of these hold:
  • — the node's `stateless` is false
  • — the node sits inside exactly 1 availability-zone group
  • — this does not hold:
  • — the node sits inside at least one cell group
Use it in a design
nodes:
  - { id: "llama-cpp-server", component: "llama-cpp-server" }
Other ML inference products · 37
Source
# yaml-language-server: $schema=../../schema/component.schema.json
# llama.cpp server (llama-server): the HTTP server shipped with llama.cpp, serving GGUF models on CPU or GPU with
# OpenAI-compatible chat, completion and embedding routes. Per the server README it listens on 127.0.0.1:8080, sizes
# its parallel slots automatically and needs no API key unless --api-key is set.
schemaVersion: "1"
type: "component"
id: "llama-cpp-server"
kind: "ml-inference"
provider: "default"
docs: "https://github.com/ggml-org/llama.cpp/blob/master/tools/server/README.md"
aliases: ["llama-server", "llama.cpp"]
defaults:
  training: "batch"
  inputs: "live"
  managed: false
properties:
  port:
    type: "integer"
    default: 8080
  localhostOnly:
    type: "boolean"
    default: true
  apiKeyRequired:
    type: "boolean"
    default: false
  parallelSlots:
    type: "integer"

The same page as markdown, for an agent: /catalogue/components/llama-cpp-server.md