Glossary¶
One-line definitions for terms that show up in SML and the surrounding serving stack. Pages elsewhere link directly to the anchors here (e.g. glossary.md#opentela).
Beverin¶
A CSCS HPC system; one of the systems SML can target. Not currently available via FirecREST.
Bristen¶
A CSCS HPC system, GPU-equipped; one of the systems SML can target.
Clariden¶
A CSCS HPC system, primarily GPU; one of the systems SML can target. Most examples in this repo target Clariden.
CSCS¶
The Swiss National Supercomputing Centre, which operates the HPC clusters SML launches jobs on.
DCGM¶
NVIDIA’s Data Center GPU Manager. The DCGM exporter runs on each replica node and surfaces per-GPU metrics (SM utilization, memory bandwidth, NVLink, power) to the metrics stack (see vmagent).
FirecREST¶
A REST API in front of SLURM, maintained by CSCS. Lets you submit and manage jobs without an interactive SSH session — SML uses it as one of two launchers.
Framework¶
The inference engine that actually serves the model: sglang or vLLM. Selected via --framework in sml advanced. SML brings the framework up; the framework owns the request/response loop.
Launcher¶
How SML submits jobs: firecrest (REST API, works from a laptop) or slurm (direct sbatch, works on a cluster login node). See Initialization.
MCP¶
Model Context Protocol — a standard for letting an LLM client (Claude Desktop, Cursor, …) call external tools. SML ships an MCP server so a client can list, launch, monitor, and cancel SML jobs as native tools. See MCP Server.
OpenTela¶
The p2p service mesh that connects models regardless of where they live (SLURM job, k8s pod, anywhere). Each replica registers itself on the mesh at startup; the public gateway resolves model names through OpenTela and routes to a registered peer. Default load-balancing across peers is random assignment.
The on-disk binary ships as otela-<arch>. Pass the CLI flag --disable-opentela to skip mesh registration so the model is reachable only inside the cluster. See Architecture.
Partition¶
A SLURM concept — a named subset of cluster nodes with its own queue, time limit, and access policy. Set via --partition. Common values on Clariden: normal, debug.
Replica¶
One independent copy of the model (a DP unit). Set via --replicas. More replicas = more throughput. Distinct from --nodes-per-replica, which sets how many nodes one replica spans.
Reservation¶
A SLURM concept — a slot of nodes pre-allocated to a user/group, bypassing the normal queue. Set via --reservation (advanced) or --reservation (interactive). Optional.
Router¶
A framework-side load balancer (e.g. sglang-router) inserted in front of N replicas inside one SLURM job. Enabled via --router sglang (the default --router opentela skips it and lets OpenTela balance across the replica peers). Orthogonal to OpenTela: the router shapes traffic within the job; OpenTela picks which job/peer a request lands on.
Served-model name¶
The name a client uses to request the model from the public gateway (e.g. swiss-ai/Apertus-8B-Instruct-2509-Qxkt). Set via --served-model-name. Auto-generated if omitted by appending a short random suffix (4 letters) to the model id, which avoids collisions with shared deployments.
serving-api¶
swiss-ai/serving-api — the public-facing inference gateway at https://serving.swissai.svc.cscs.ch/. Resolves model names against OpenTela and forwards requests to a registered peer.
SLURM¶
The job scheduler used on most CSCS systems. SML serializes its launch into an sbatch script and submits it via either FirecREST or direct sbatch.
sml¶
This CLI. Subcommands: init (one-time credential setup), preconfigured (guided/interactive launch — the default when you run sml with no subcommand), advanced (fully-flagged launch), plus loadtest and mcp. See Using SML.
sml advanced¶
The all-flags entry point — point at any model, pass any framework args. Use for non-catalog models, custom framework config, or scripted CI launches. See Advanced Usage.
System¶
The CSCS cluster a job targets — clariden, beverin, bristen, etc. Set via --system or the SML_SYSTEM env var.
TUI¶
The terminal UI SML opens after job submission via sml — shows job state and live logs until the model is healthy. Not available on advanced unless you pass flag.
vmagent¶
A VictoriaMetrics agent that scrapes Prometheus-format metrics (from the framework and from DCGM) and pushes them to the prometheus metrics endpoint to view in Grafana metrics dashboard.