Skip to main content

Feature Reference

This page is a configuration reference for every feature shipping in Metrum AI Bench v4.0. Each section covers the feature's purpose, the parameters that configure it, and the surface (UI + API) for working with it.

If you're new to a feature, the User Guide covers the conceptual workflow first: this page is the lookup, not the tutorial.

Features documented here:

Note on UI status: a number of admin surfaces referenced below (Settings -> Engine args templates, Settings -> Engine presets, Settings -> Validation, Billing (/billing), Settings -> Compliance, Settings -> Backup, Settings -> Prompt libraries, KYAI -> *) are not yet exposed in the live sidebar in v4.0. Where they are referenced, the underlying database objects and RPCs are present and the corresponding actions are available via the API; the dedicated UI panels are being staged and will land in subsequent releases.

Inference backends​

Three primary inference backends ship with v4.0 (vLLM, SGLang, TensorRT-LLM). They're surfaced as framework_code values throughout the platform. The framework catalog also registers additional codes for adjacent runners: see Other registered frameworks below.

vLLM​

Single-node vLLM, configured per workload.

ParameterWhere setNotes
framework_codeWorkload card → FrameworkUse vllm
versionWorkload card → Versionfor example 0.6.3. For AMD ROCm, use a -rocm-tagged build
quantization_codeWorkload card → Quantizationfp16, bf16, fp8, int8, awq, gptq. Default: fp16
tensor_parallel_sizeEngine args (advanced)Defaults to GPU count on the selected server. When TP is smaller than the GPU count, multiple replicas are created. See Model-server replicas.
max_num_seqsEngine args (advanced)Defaults to max(256, concurrency × 2)
max_num_batched_tokensEngine args (advanced)Defaults: chunked-prefill-friendly value based on ISL/OSL
block_sizeEngine args (advanced)Default 16. Raise for very long contexts
gpu_memory_utilizationEngine args (advanced)Default 0.90
enforce_eagerEngine args (advanced)Default false. Set true to disable CUDA graphs for debugging
enable_prefix_cachingEngine args (advanced)Default true. Powers KV-cache reuse measurements

For a model that does not fit one server, or a concurrency target that needs tensor and pipeline parallelism spread across hosts, see Multi-node vLLM below.

Engine args templates live under the planned Settings -> Engine args templates Admin panel (not yet in the live UI); reference them via engine_args_template_code on a workload to avoid setting individual parameters. The underlying templates are managed via API today.

Multi-node vLLM (Kubernetes / llm-d)​

vLLM served across multiple servers as a Kubernetes deployment, for models too large for one server's GPU memory or concurrency targets that need tensor and pipeline parallelism spread across hosts. Metrum AI Bench forms a Kubernetes cluster (K3s) across the servers you group together, then deploys the model through llm-d (Gateway API, the Gateway API Inference Extension, and a LeaderWorkerSet) in place of a single-process vLLM server. SGLang and TensorRT-LLM do not have a multi-node path; use single-node vLLM above for those backends. Verified live on NVIDIA GPUs only: AMD device plugin and cross-node RCCL support exist in the bootstrap code but have not been confirmed end-to-end.

ParameterWhere setNotes
Cluster groupHardware onboardingA named, reusable group of onboarded servers. Every server in a group must share a GPU vendor and have an IP address on file; see Hardware Onboarding.
node_group_selectionsWorkload (API only in v4.0)Attaches a cluster group to a multi-node vLLM workload that uses the LLM or Agentic Bench tool. Only one selection is supported per workload today. For a distributed KV cache workload, use the distributed_kv object instead; see Distributed KV Cache.
tensor_parallel_size / pipeline_parallel_sizeEngine args (advanced)Same engine args set as single-node vLLM; read from there for the deployment.
Inference pool / gateway namespace / chart versionWorkload (API only in v4.0)Deployment-identity overrides. Defaults are auto-provisioned on first run when left unset.

There is no dedicated UI for grouping hardware or attaching a cluster group to a workload in v4.0; this feature is API-only today. Cluster formation (K3s join across every group member, then Gateway API/GAIE/LeaderWorkerSet controller bootstrap) happens automatically at run-launch time and, on first use of a cluster group, can take several minutes; a cluster group that has already formed a cluster for a prior run reuses it.

See Multi-Node vLLM Deployment for the full curl walkthrough: grouping hardware, creating a multi-node workload, launching a run, and monitoring it.

Multi-node vLLM is not the distributed KV cache feature. The multi-node path serves the LLM and Agentic Bench tools only, and the platform refuses a cluster group on a KV Cache Offload workload (tool code multiroundqa). To benchmark a KV cache across the machines of a cluster group, create a distributed KV workload with the distributed_kv object. See the Distributed KV Cache User Guide.

SGLang​

ParameterWhere setNotes
framework_codeWorkload card → FrameworkUse sglang
versionWorkload card → Versionfor example 0.3.5
quantization_codeWorkload card → Quantizationfp16, bf16, fp8. awq/gptq supported on some models
tp_sizeEngine argsDefaults to GPU count
mem_fraction_staticEngine argsDefault 0.88
schedule_policyEngine argslpm (default), fcfs, dfs-weight
chunked_prefill_sizeEngine argsDefault 8192

TensorRT-LLM​

NVIDIA-only. Requires pre-built engine files for the target (model, quantization, GPU) tuple.

ParameterWhere setNotes
framework_codeWorkload card → FrameworkUse trt-llm
versionWorkload card → Versionfor example 0.13.0. Must match the engine file's TRT-LLM version
engine_preset_codeWorkload card → Engine presetReferences a pre-built engine bundle
kv_cache_free_gpu_mem_fractionEngine argsDefault 0.9
max_batch_sizeEngine argsDefault 64
max_num_tokensEngine argsDefault depends on engine preset

Engine presets are managed under the planned Settings -> Engine presets Admin panel (not yet in the live UI). For Llama 70B TP4 specifically, the platform ships pre-built presets: see schema file 37_llama70b_tp4_engine_presets.sql.

Other registered frameworks​

The framework catalog (v_frameworks_versions) also exposes framework_code values you'll see on the project workload card today, but with varying levels of end-to-end support:

framework_codeStatus
vllmPrimary backend, fully supported.
sglangPrimary backend, fully supported.
trt-llmPrimary backend, fully supported (NVIDIA only).
tgiHuggingFace TGI: wired in the catalog, intended for parity benchmarks.
llama-cppllama.cpp: wired in the catalog, useful for CPU and Apple-silicon comparisons.
ollamaWired in the catalog; full E2E support deferred to v4.1.
dynamoNVIDIA Dynamo: wired in the catalog, end-to-end run path deferred to v4.1.
openaiTarget for any OpenAI-compatible endpoint.

Use one of the three primary backends for production benchmarking unless you are explicitly comparing against an alternative runner.

KYAI v2​

KYAI evaluates inference quality through a two-phase pipeline. In the project editor, you add a KYAI workload by selecting KYAI Run under Add a workload, and Save & Run starts it. The underlying RPCs offer the same path; the dedicated KYAI -> ... navigation surface (Endpoints & Judges, Prompt Sets, Results) referenced below is not yet exposed in the live sidebar in v4.0, and those panels are managed via the API today and will land in subsequent releases.

Architecture​

  • Phase 1, generation. Runs a candidate endpoint over a prompt set, captures responses.
  • Phase 2, judging. Runs a configured judge over each (instruction, candidate_response, ground_truth) triple and produces a score plus reasoning.

Three first-class objects:

  • Candidate endpoint: what you're evaluating (a deployed inference server or a remote OpenAI-compatible endpoint).
  • Judge config: the LLM that scores outputs and the scoring method.
  • Prompt set: instructions + optional ground truths. Either built-in or user-uploaded.

Candidate endpoint parameters​

Configured via the planned KYAI -> Endpoints & Judges -> Candidate Endpoints panel (API only in v4.0):

ParameterRequiredNotes
NameyesDisplay name
API base URLyesOpenAI-compatible endpoint
Model nameyesModel identifier sent in the request
Max concurrent requestsyesIn-flight cap; default 8
Retry attemptsnoDefault 3
Retry backoffnoDefault exponential, base 500ms
AuthenticationnoOptional bearer token or API key
WorkspaceyesWhich workspace owns this endpoint

Judge config parameters​

Configured via the planned KYAI -> Endpoints & Judges -> Judge Configs panel (API only in v4.0):

ParameterRequiredNotes
NameyesDisplay name
Scoring methodyesnumeric_1_to_10, pairwise_preference, pass_fail, rubric
API base URLyesOpenAI-compatible endpoint hosting the judge model
Model nameyesJudge model (for example a 70B+ instruct model)
Max concurrent requestsyesDefault 4. Judges are token-heavy: be conservative
Retry attemptsnoDefault 3
Judge prompt templatenoOverride the default; placeholders {{instruction}}, {{response}}, {{ground_truth}}

Scoring methods:

  • numeric_1_to_10: judge returns a 1-10 integer plus reasoning.
  • pairwise_preference: compare two candidates; judge picks one or "tie".
  • pass_fail: binary, with reasoning.
  • rubric: multi-dimensional scoring against a user-supplied rubric.

Prompt sets​

Either:

  • Built-in. Listed under v_kyai_builtin_sets_with_prompt_count. Curated for common evaluations (general instruction-following, code, math, reasoning).
  • User-uploaded. CSV or JSONL with instruction and optional ground_truth columns. Uploaded via the planned KYAI -> Prompt Sets -> Upload panel (API only in v4.0).

Results​

Phase-1 outputs in v_kyai_generation_outputs; phase-2 scored outputs in v_kyai_outputs. The planned Results Explorer (KYAI -> Results, not yet exposed in the live UI) supports:

  • Job ID filtering
  • Score range (min/max)
  • Candidate endpoint filter
  • Judge config filter

Each row shows: instruction, candidate response, ground truth (if present), score, judge reasoning, candidate endpoint, judge config, prompt-set snapshot name, created timestamp.

Leaderboard​

v_kyai_leaderboard ranks scored runs. Visibility follows project visibility: Public KYAI runs appear in the cross-workspace leaderboard; Organization-scoped runs in your workspace's view only; Private to the owner only.

ASR benchmarking​

ASR (Automatic Speech Recognition) benchmarks use the metrumbench-asr tool.

ASR support is intentionally narrow: the Whisper model family only (for example whisper-large-v3) and the vLLM framework only. SGLang and TensorRT-LLM are not productized for ASR.

Workload parameters​

ParameterRequiredNotes
model_codeyesWhisper-family ASR model only (for example whisper-large-v3)
framework_codeyesvllm only. SGLang and TensorRT-LLM are not supported for ASR
versionyesFramework version
concurrencyyesIn-flight transcription requests
audio_duration_bucketyesBucket key: see below
dataset_snapshot_codeyesASR snapshot reference (v_metrumbench_asr_outputs)

Audio duration buckets​

ISL is replaced by audio duration buckets in ASR. Standard buckets:

BucketDuration rangeTypical use case
xs< 5 secondsShort commands
s5-30 secondsVoice messages
m30-120 secondsMeeting clips
l2-10 minutesPodcasts, lectures
xl10+ minutesLong-form transcription

Metrics​

  • RTF (Real-Time Factor): wall-clock seconds per second of audio. RTF < 1 means faster than real-time.
  • WER (Word Error Rate): output quality vs ground truth (if dataset has transcripts).
  • TTFT (audio): time to first transcribed word.

Dataset snapshots​

ASR datasets are versioned via 36_asr_snapshots.sql. The platform ships a set of standard snapshots (LibriSpeech, AMI, etc.); custom snapshots are uploaded via the BYOW flow (see Bring Your Own Workload).

VLM benchmarking​

Vision-language model benchmarking uses the metrumbench-vlm tool.

Workload parameters​

Same shape as LLM benchmarking, plus image-related fields:

ParameterRequiredNotes
model_codeyesVLM (for example llava-1.6-mistral-7b, qwen2-vl-7b)
framework_codeyesvllm, sglang, trt-llm where supported
input_sequence_lengthyesText portion of the prompt
image_resolutionyeslow, medium, high: maps to model-specific patch counts
images_per_requestyesTypically 1; multi-image supported on some models
output_sequence_lengthyesStandard OSL
concurrencyyesIn-flight requests

Metrics​

Same as LLM, with one addition:

  • Image preprocessing time: included in TTFT. CPU-bound. The Reporting page breaks it out separately under the Hardware chart tab (CPU view).

Bring Your Own Workload (BYOW)​

Supply your own prompt dataset for benchmarking or KYAI evaluation.

For benchmarking: upload a CSV/JSONL prompt library via the planned Settings -> Prompt libraries panel (API only in v4.0). Reference it from a workload via prompt_library_code.

For KYAI: see Prompt sets above.

CSV format for benchmarking workloads:

prompt,expected_output_tokens
"Translate to French: Hello world",10
"Summarize the following article: ...",256

Expected output tokens is optional; if absent, the workload's OSL is used.

Reporting​

The Reporting page (/dashboard/reporting) is the results explorer, accessible from the Dashboard subnav. The page subtitle reads "Full results across all benchmark runs. Filter, compare, and analyse performance." Pulse (/pulse) is a separate workspace, where you save chosen runs as Views to read, share, and download. See Pulse.

Filters​

The Reporting page exposes a Filters dropdown panel and a My runs toggle pill above the results table. The filterable dimensions are:

FilterBacked by
Statusv_benchmark_results.status_code
Toolv_benchmark_results.tool_code
Modelv_benchmark_results.model_code
Frameworkv_benchmark_results.framework_code
Server configv_benchmark_results.config_code
Date rangev_benchmark_results.created_at
My runs onlyv_benchmark_results.owner_account_id

Charts​

The chart panel below the results table has the following sub-tabs (live UI labels):

TabViewWhat it shows
Modelv_model_comparisonThroughput, latency, GPU utilization across models
Frameworkv_framework_comparisonSame metrics grouped by framework
Quantizationv_quantization_comparisonImpact of quantization on throughput and quality
Concurrencyv_concurrency_scalingThroughput and latency vs concurrency
Costv_cost_efficiencytokens/$ and tokens/hour
Hardwarev_hardware_utilizationGPU power, util, memory, CPU, RAM

Pagination​

Range-based via Range/Range-Unit: items headers. See API Reference - Pagination.

Exporting​

CSV export of the filtered results view is planned; the explicit Export -> CSV button on the results table is not yet exposed in v4.0. Use the API to pull the filtered set today.

Pre/Post-run validation​

Pre-run​

Runs before the first job starts. Checks:

  • Model is accessible to the target server (via HuggingFace if applicable).
  • Framework + version + accelerator combination is supported.
  • GPU memory is sufficient for the largest scenario in the run.
  • HF token (if required) is present and valid.
  • Server is online with recent heartbeat.

Failures surface as a structured error on the Run Detail page with a specific suggestion (for example "use quantization_code=fp8" or "select a server with ≥160 GB GPU memory").

Pre-run checks in the project editor​

When you select Save & Run or Save as New & Run in the project editor, the editor checks the project before it saves anything. The checks read the project as it is on screen. If any check fails, nothing is saved, no run starts, and the editor marks the step to fix.

CheckThe run is refused whenStep marked
PlanYour plan does not include the workload's benchmark tool, or does not allow distributed KV on the chosen cluster group.Model or Hardware
Build profileThe workload uses a build profile that is no longer offered.Serving engine
Hardware choiceThe workload has no machine, or no cluster group in your organization, in the form its type needs. A KYAI workload that uses an endpoint outside Metrum needs no machine.Hardware
MachineA machine is not in your organization, is not ready, or has fewer GPUs than the workload asks for.Hardware
GPU vendorThe serving engine version does not run on the GPUs of a machine you picked.Serving engine
KYAI endpoint and judgeThe candidate endpoint or the judge is no longer available to you.Model or the judge settings

If the cluster group of a distributed KV workload is busy, the check does not refuse the run. The run waits in the group's queue and starts when the group is free.

The Execute Project button on the project page starts the saved project. It does not run these editor checks.

Post-run​

Runs after the last job completes. Checks:

  • Output token counts in plausible ranges.
  • No all-zero latency rows.
  • Telemetry actually attached to each job.

Surfaces as a "results may be unreliable" badge on the Run Detail page if any check fails. Doesn't block the run from completing: it just flags suspect data.

Configuration​

Validation severity is configurable per-workspace via the planned Settings -> Validation Admin panel (not yet exposed in the live UI; managed via API today):

  • Strict (default): fail-fast on any pre-run issue.
  • Warn: log warnings but allow the run to proceed.
  • Off: disable (not recommended; useful only for debugging the validator itself).

Metering and Stripe billing​

See Admin Guide → Billing for the operational view.

Metered events​

EventRecorded in
GPU-hour (cloud)v_cloud_resource_lifecycle
Cloud spend pass-throughv_run_cost_summary
KYAI judge tokensv_kyai_outputs (aggregated)
API request volumeInternal; will surface under the planned Billing -> Usage view

Quotas​

Quotas are configured via the API in v4.0; the dedicated Billing -> Quotas UI panel is planned for a subsequent release.

  • GPU-hours (monthly)
  • Judge tokens (monthly)
  • Cloud spend (monthly, in USD)

Hitting a quota returns HTTP 402 Payment Required at job submission.

RBAC​

Four roles: Owner, Admin, Engineer, Viewer. See Admin Guide → RBAC for the full responsibility matrix.

Enforcement points​

SurfaceWhere enforced
RPC calls19_rbac.sql: checked per-RPC
View readsRow-level security policies on each view
UIFrontend hides forbidden actions; not source of truth

Custom roles​

Custom roles are not supported in v4.0. The four built-in roles are fixed. Per-project visibility (Private / Organization / Public) provides per-resource access control alongside the role system.

GDPR and compliance​

See Admin Guide → GDPR and compliance for the operational view.

Configurable retention​

Per category, via the planned Settings -> Compliance -> Data retention Admin panel (not yet exposed in the live UI):

  • Audit logs: 90 days to 7 years
  • Telemetry: 90 days to 365 days
  • Benchmark results, KYAI outputs: indefinite by default, per-workspace TTL configurable

Data deletion​

POST /rpc/request_account_deletion initiates a 14-day pending deletion. After the window, the account is hard-deleted; audit and results data is anonymized (account ID hashed).

Backup and recovery​

See Admin Guide → Backup and recovery.

Schedule​

  • Nightly automatic snapshot, 30-day retention.
  • Manual snapshots via the planned Settings -> Backup -> Take snapshot Admin panel (not yet exposed in the live UI).

Restore​

Support-assisted in v4.0. Self-service restore is planned for a later release.

See also​