Skip to main content

software catalog

Docs pulled from project reposUpdated Nov 20, 2026View on GitHub

Model Catalog (models.yaml)

What is it?

models.yaml is the one file you edit to control what runs and how. It is the single source of truth behind every model-manager command — you rarely touch anything else.

The installer seeds env/<env>/models.yaml from this repo's model_manager/models.yaml. Edit the environment copy to add or remove models; the repo copy is the template for new environments.

It has three parts:

yaml
defaults:            # 1. Fallbacks applied to every model (namespace, engine, replicas)
storage:             #    Where downloaded weights live
network:             #    Proxy / connectivity settings for pulling from Hugging Face

models:              # 2. The models you can deploy — one entry per model
- name: qwen3-0-6b
  model_id: Qwen/Qwen3-0.6B     # the Hugging Face repo to pull
  category: llm                 # workload type → sensible CPU/memory/flags
  servers:                      # which engine + versions this model may use
    vllm: { versions: ["0.24.0", "0.19.1"], default: "0.24.0" }

runtimes:            # 3. The engines themselves — images, versions, shared settings
  vllm: { ... }
  openvino: { ... }

What that gives you:

CapabilityWhat it means for you
One catalogList a model once; deploy it by name with ./model-manager deploy <name>
Sensible defaultsOnly name and model_id are required — category, CPU, memory, and engine flags are filled in
Deliberate versioningDeclare which engine versions a model may use; an untested version is refused, not silently deployed
Central, reusable settingsEngine images and shared options live in one runtimes: block, reused across every model
Override anywherePer-model args/env, or one-off --cpu/--arg/--env at deploy time — the CLI always wins
Auto-deployFlag a model autodeploy: true to bring it up during install

Global sections

defaults

Applied to every model that doesn't override them.

FieldDefaultMeaning
namespacellm-inferenceTarget namespace for deployments
runtimevllmEngine used when a model omits one
replicas1Replica count
require_amxtrueOnly schedule model pods on nodes with Intel® AMX. Relies on the NFD labels; NFD comes from the core platform layer's node_feature_discovery

storage

FieldDefaultMeaning
pvc_namemodel-storeThe shared PVC holding downloaded weights. Must be ReadWriteMany on a multi-node cluster

Model-store size

Every deployed model's weights share this PVC, so size it for the models you run together. It is 200Gi by default; set llm_services_model_store_size in config.inference.yaml and re-run install inference.

ModelWeights on the PVC
Llama-3.1-8B-Instruct16 GB
Qwen2.5-Coder-14B-Instruct30 GB
gemma-4-26B-A4B-it52 GB
Qwen3-30B-A3B / Qwen3-Coder-30B-A3B61 GB
DeepSeek-R1-Distill-Qwen-32B66 GB
Qwen3.6-35B-A3B72 GB
Llama-3.1-70B-Instruct141 GB
  • Downloads skip a repository's original/ folder (the publisher's own copy of the weights, which vLLM does not load). For Meta's Llama models that halves the download.
  • Before a download, the Job checks the free space on the model store and fails at once, naming the model, the space it needs and what is free, when it does not fit.
  • An existing PVC keeps its size unless its StorageClass allows volume expansion (allowVolumeExpansion: true); a size is never reduced. Otherwise the install prints that the new size applies to a new PVC only.

network

Used by the download Job when pulling from Hugging Face. Empty values inherit from the installer's environment.

FieldMeaning
http_proxy / https_proxyProxy for weight downloads, e.g. http://proxy:911
no_proxyComma-separated bypass list
connectivity_checkURL probed for reachability before a download starts (default https://huggingface.co)

Per-model fields

Only name and model_id are required.

yaml
models:
- name: qwen3-0-6b
  model_id: Qwen/Qwen3-0.6B
  category: llm
  cpu: 8
  memory: 16Gi
FieldMeaning
nameDeploy name, and the model id used in API requests
model_idThe Hugging Face repo to pull weights from
categoryWorkload class — llm, embed, rerank, or vlm. Drives default args, CPU, and memory
cpu / memoryResource requests (default: from the category). cpu: auto sizes CPU to a NUMA node — see below
replicasReplica count (default: 1)
autoscaling{min_replicas, max_replicas, scale_target}: autoscale with KEDA between the two counts (default min: 1), scaling up when the load per replica exceeds scale_target: waiting requests for vLLM (default: 2), in-flight requests for OpenVINO (default: 4). Replaces replicas. Needs keda_enabled: true and KServe 0.21 (envoy_gateway_upgrade: true). The signal and its default are set per runtime (autoscaling in runtimes/<name>/values.yaml)
tpTensor parallelism — split the model across N CPU sockets
namespaceTarget namespace (default: llm-inference)
nodePin to a specific node
routingepp or direct
imageOverride the runtime image entirely
argsExtra engine args, appended after the category and version args
envExtra env vars, merged over the runtime env
autodeploytrue → bring the model up during install. See below
chat_templateInline Jinja or an absolute path → vLLM --chat-template. See below
chat_template_fileA Jinja file whose content is used as chat_template, so models share one template. See below
draft_model_idHugging Face repo of a speculative-decoding draft model (vLLM). See below

Plus the server binding, described next.

Choose which server and version a model may use

Two equivalent forms, depending on how much control you want:

yaml
# Preferred: declare the versions this model is known to work with (an allow-list)
- name: qwen3-0-6b
  model_id: Qwen/Qwen3-0.6B
  category: llm
  servers:
    vllm: { versions: ["0.24.0", "0.19.1"], default: "0.24.0" }
  default_server: vllm

# Shorthand: one server, optionally pinned to a version — no allow-list
- name: llama3-8b-awq
  model_id: casperhansen/llama-3-8b-instruct-awq
  category: llm
  runtime: vllm
  server_version: "0.24.0"

With the servers: form, a deploy that asks for a version not in the list is rejected, so nobody accidentally ships an untested combination. The shorthand form places no such restriction.

Version selection precedence, highest first:

text
--server-version   >   the model's server_version:   >   the runtime's default_version

Select at deploy time with --server <engine> --server-version <v>, and run variants side by side with --as <alt-name>. See Deploy a Model.

The engines themselves — images, available versions, and shared settings — are defined once under runtimes:. See Runtimes.

CPU auto

cpu: auto sizes a model's CPU to the node it lands on instead of a fixed number:

yaml
- name: qwen2-5-coder-14b
  model_id: Qwen/Qwen2.5-Coder-14B-Instruct
  cpu: auto
CPU policycpu: auto becomes
nri-balloonsThe free physical cores of one NUMA node per TP rank, minus the reserved CPUs, on the smallest schedulable node — so the pod fits wherever it is placed
kubelet-static, best-effortThe category's default cpu
  • A model that is already deployed keeps its current CPU, so re-running a deploy or the install leaves it unchanged.
  • --cpu N overrides it for one deploy, and --cpu auto asks for the sizing from the command line. --dry-run shows the number it resolves to.
  • Under nri-balloons it reads the nri.intel.com/max-tp node labels the Toolkit Manager repo's NRI balloons role sets. When fewer CPUs than the category default are free, the deploy stops with cpu: auto — only N free CPUs per NUMA node …: undeploy a model, add a node, or pass --cpu.

See CPU Pinning & NUMA.

Chat templates

chat_template accepts either inline Jinja or an absolute path.

Inline Jinja (use a | block scalar for multi-line) is stored in a <model>-chat-template ConfigMap and mounted read-only at /etc/chat-template. It is deliberately not inlined into the LLMInferenceService, because the KServe controller runs the spec through Go text/template and rejects {{ ... }}. The ConfigMap is created on deploy and removed on undeploy.

An absolute path (leading /) is passed through untouched and must already exist in the pod — for example a file you placed on the model PVC, visible at /mnt/models/<file>. vLLM exits if it is missing, so prefer inline Jinja unless the file is genuinely external.

A shared file — chat_template_file names a Jinja file whose content is used exactly like inline Jinja (the same ConfigMap and --chat-template), so several models share one template instead of each carrying a copy:

yaml
- name: qwen2-5-coder-14b
  model_id: Qwen/Qwen2.5-Coder-14B-Instruct
  chat_template_file: tool_chat_template_qwen3coder.jinja
  • A relative name is looked up in model_manager/chat-templates/, or in the directory MM_CHAT_TEMPLATES points at — never next to the catalog, so a seeded env/<env>/models.yaml works unchanged.
  • An absolute path is read on the host running model-manager, not in the pod.
  • Setting both chat_template and chat_template_file, or naming a file that does not exist, stops the deploy before anything changes on the cluster.

Bundled templates:

FileUsed for
tool_chat_template_qwen3coder.jinjaQwen2.5-Coder, Qwen3-Coder and Qwen3-30B-A3B tool calling
tool_chat_template_gemma4.jinjaGemma 4 tool calling (gemma-4-26b)
tool_chat_template_hermes.jinjaHermes-style tool calling

Speculative decoding

draft_model_id names a small draft model for vLLM speculative decoding. The download Job fetches it into the model's own directory on the model store, so the pod — which mounts only that directory and serves offline — finds it at /mnt/models/draft. Point vLLM at that path in args:

yaml
- name: llama-3-1-8b-specdec
  model_id: meta-llama/Llama-3.1-8B-Instruct
  draft_model_id: meta-llama/Llama-3.2-1B-Instruct
  args: [ "--speculative-config.method", "draft_model",
          "--speculative-config.model", "/mnt/models/draft",
          "--speculative-config.num_speculative_tokens", "5" ]
  • The draft has its own download marker: adding one to a model whose weights are already on disk fetches only the draft.
  • It downloads with the same HF_TOKEN. A gated draft — such as meta-llama/Llama-3.2-1B-Instruct — without a token stops the deploy before the Job starts.
  • Write JSON-valued vLLM flags in dot notation (--flag.key value): KServe evaluates the arg string, which strips the quotes from inline JSON.

Auto-deploy on install

By default no models are deployed during install — Intel® Inference Toolkit only stands up serving infrastructure. Bringing a model up automatically takes two settings:

  1. Flag the model in the catalog:

    yaml
    - name: qwen3-0-6b
      model_id: Qwen/Qwen3-0.6B
      autodeploy: true
  2. Enable the auto-deploy phase in this repo's config.yaml, which ships disabled:

    yaml
    llm_services_deploy_models: true

Once enabled, only models flagged autodeploy: true are deployed.

Auto-deploy is fault-tolerant. If a flagged model fails — a gated model with no HF_TOKEN, a transient download error — the install does not abort. The serving infrastructure is already up, the failure is reported in a summary, and the model can be deployed manually afterward. Set model_deploy_strict: true to make any auto-deploy failure fatal instead.

To skip the deploy phase for a single run without editing config, use ./es_auto_installer.sh install inference --skip-models (or SKIP_MODEL_DEPLOYMENT=true).

Extra flags can be appended to every auto-deploy invocation via model_deploy_flags, e.g. "--wait-timeout 1800" for large models.