Reproducible inference benchmarks
from Hugging Face artifacts
Compare a specific source model, optimized artifact, runtime, platform, and workload. Admit performance results only after provenance, correctness, and task quality have been assessed.
Decision: build the registry resolver, experiment contract, admission rules, and evidence explorer. Integrate established quality and load-testing tools. A catalog entry, a pinned HF commit, or a successful request alone does not qualify a result for ranking.
This protocol defines the target process. The current toolkit provides metadata preparation and preliminary measurements; the implementation table identifies the remaining gates.
1. Three comparison types
| Question | Held fixed | Allowed conclusion |
|---|---|---|
| Same-source acceleration | Source weights, tokenizer and task semantics; GPU shape, resource/power envelope, workload and quality policy. The artifact, runtime or optimization changes are recorded. | Gain for this model and configuration. Separate offline model execution from controlled serving. Causal attribution to one optimization needs an ablation. |
| Hosted-service selection | Customer task, payloads, client location, service tier, generation and cache policy. Verify source identity where possible; disclose unknowns. | Observed service behavior at the tested time and load. Unknown hardware or revision cannot establish a same-GPU engine advantage. Shared, dedicated and batch are separate scenarios. |
| Different-model selection | Task acceptance criteria, input information, deadline and cost boundary. Each model keeps its own artifact and tokenizer. | Deployment alternatives on a quality–latency–cost frontier. LFM versus Qwen is model replacement, not acceleration of Qwen. Prefer time and cost per accepted task over cross-tokenizer tokens/s. |
The current board separates model/runtime and API reports and uses fixed-source cohorts. Different-model frontiers require an additional result view. Kernel microbenchmarks remain diagnostics and never contribute a full-model speedup score.
Two reference configurations
Use a pinned HF Transformers implementation to check source semantics, then an appropriately configured BF16 serving engine as the performance baseline. Comparing an optimized server only with a slow eager reference can exaggerate the practical benefit. Give competing configurations the same declared tuning budget, freeze them before the final test, and disclose unsuccessful configurations.
2. Hugging Face identifies the source
HF is an artifact and dataset registry. HF Inference Endpoints and routed Inference Providers are execution products with their own measurement boundaries. Loading the same repository name through them does not establish the same deployed checkpoint.
| Stage | Required record | Gate |
|---|---|---|
| Discover | Task, model family, size, license, available format, optimizer support and hardware fit. Use downloads as a discovery signal only. | Architecture and runtime compatibility checked for the selected task. |
| Resolve | Repository ID and full commit SHA; raw config hash; tokenizer, vocabulary, special tokens, chat template, generation config and processor revisions/hashes. Dataset repository, revision, config and split are separate references. | Mutable names resolved before execution. A tag or main alone is insufficient. |
| Materialize | Selected snapshot files, byte sizes and observed SHA-256 for every required weight shard, index, tokenizer and configuration file. Record registry LFS/Xet hashes where supplied, separately from observed hashes. | All required files present and their bytes verified on the execution host. A Git blob ID is not automatically the SHA-256 of downloaded content. |
| Derive | Optimized artifact digest, source relationship, base plus adapter revisions where applicable, compiler/quantizer versions, recipe, calibration data and preparation costs. | Provenance connects the derived artifact to the actual source. Vendor mode names such as S or XL do not supply this link. |
| Bind to execution | Container digest, runtime/build flags, loaded artifact ID, effective tokenizer/template, engine log and host manifest. API alias is recorded separately. | Observed deployment or explicitly provider-declared identity. Registry metadata is never upgraded to observed deployment evidence. |
Use one canonical source identity across adapters. Hash the exact downloaded config bytes; keep a normalized topology descriptor separately. Do not hash a runtime-expanded config containing injected defaults as though it were the raw HF config. The source identity excludes optimization choices so those choices can be compared.
For multimodal and hybrid architectures inspect nested text, vision and audio configs, layer types, attention/KV heads, sliding windows, MoE experts and routing, tensor shapes and processor settings. A model type plus parameter count is insufficient. A GGUF conversion or LoRA adapter needs explicit source lineage; a similar name is not proof.
Execution recipe and access
On the GPU host, use a locked version of huggingface_hub to resolve metadata, select required files, perform a size/dry-run check, and download the immutable snapshot. Verify the resulting file inventory before starting the runtime. Keep credentials in the execution environment. Evaluate remote model code only in a reviewed, pinned adapter; do not enable trust_remote_code for arbitrary submissions by default.
Pin dataset revisions and file hashes too. Save sample IDs, order, preprocessing and final payload hashes. An HF Datasets cache fingerprint helps trace a transformation but does not replace these content records. Version resolvers for W&B or MLflow can later implement the same artifact-reference contract.
Primary interfaces: snapshot and revision downloads, HF metadata, dataset revisions, and chat-template behavior. Pin the library versions used; these links describe current APIs.
3. Quality is an admission test
Evaluate the actual candidate artifact and runtime against the source reference on paired examples. Keep calibration, tuning and final evaluation sets disjoint. Preserve per-example failures: invalid outputs, refusals and OOM are scored or classified by the frozen task policy, never removed after seeing the result. Missing responses can make an evaluation incomplete; they do not count as correct. Freeze task definitions, prompt formatting, answer extraction, scorer, decoding, sample selection, random seeds, loss margins and statistical procedure before the final run. Record any known benchmark exposure; public datasets alone cannot establish absence of contamination.
| Task family | Useful acceptance evidence | Boundary |
|---|---|---|
| Extraction and structured output | Schema validity plus field/task correctness; report both and their joint success. | Valid JSON can contain wrong answers. Include empty, long, multilingual and adversarially formatted inputs as appropriate. |
| Reasoning and instruction following | Pinned generation-based tasks with deterministic extraction and scoring; per-task results and paired outputs. | Generic chat APIs may not expose loglikelihood. Do not silently replace a multiple-choice likelihood task with generated letters. |
| Coding and tool use | Versioned unit tests or deterministic tool traces; fixed execution limits and tool responses. | Code execution uses an isolated evaluator. A tool-call syntax check does not establish successful task execution. |
| Distribution fidelity | Token agreement, logits/logprob diagnostics or KL divergence where available; fixed alignment and precision. | Diagnostic evidence supplements task quality. It cannot replace task acceptance; a chat API may not expose the required data. |
Use an existing evaluator such as lm-evaluation-harness where its task and adapter semantics match. Chat-completion adapters and likelihood-capable completion/local adapters have different capabilities. Pin the evaluator commit and task files, not just a task name. A judge model requires a pinned rubric, judge version, randomized blind order and uncertainty analysis; it is not the default substitute for an objective scorer.
Proposed initial quality suite
- IFEval: strict prompt-level instruction success, with all required constraints checked. Its HF split is named train; reserve it for evaluation rather than using the label as permission to calibrate on it.
- GSM8K: exact final-answer scoring with a frozen prompt, few-shot policy, generation budget and answer extractor. Measure a pinned test split; do not compare scores produced by different task recipes as one benchmark.
- Customer extraction or tool task: schema validity, semantic correctness and joint task success, plus relevant language/context slices. Select or construct the held-out examples with the customer; generic public tasks alone do not establish suitability.
Resolve each dataset revision and file inventory, freeze scorer versions, choose margins and determine statistical precision before activating this suite. Likelihood tasks such as perplexity or multiple-choice scoring can be added when both adapters expose equivalent logits/logprob semantics; they are a separate protocol from generated-answer scoring.
Proposed statistical rule
For a higher-is-better task score, define loss L = score(reference) − score(candidate). Pre-register a task-specific acceptable loss δ in the metric's units. Admit the candidate only when a pre-specified one-sided upper confidence bound for L is at most δ on every required task and required slice. Failure to find a significant difference is not a non-inferiority result.
FAIL: lower_bound(L) > δ
INCONCLUSIVE: the interval crosses δ, evidence is inadequate, or evaluation is missing
For independent binary examples, use a paired binary procedure; a conservative exact bound on baseline-correct/candidate-wrong regressions is an admissible stricter fallback. For general metrics, select an appropriate paired interval and resample independent units, such as conversations or documents, not correlated tokens. Pre-register simultaneous claims and selection: use a declared familywise correction when making separate task, slice or vendor claims, and validate a selected winner on held-out data. A global all-tasks gate is an intersection–union decision; do not apply multiplicity corrections mechanically without defining the claim.
Sample-size example: with zero observed binary regressions in 100 independent examples, the one-sided 95% exact upper bound on the regression probability is 1 − 0.05^(1/100) ≈ 2.95%. This conservative bound cannot certify a 0.5 percentage-point loss budget. The budget, event rate, dependence and desired power determine sample size. A zero-width bootstrap interval from identical small-sample outcomes is not adequate evidence.
For a fixed published dataset, the measured score is exact for that set; a claim about future tasks additionally needs a justified sampling model. Preserve both the finite-set score and the population inference. Quantization and supposedly exact speculative decoding are checked in the actual deployment. Quality transferred from another device/backend is labeled as transferred evidence and requires a justified equivalence check. Audit a pre-registered quality sample under the final serving regimes too, because load-dependent fallbacks, routing or truncation may change behavior. Fixed-length synthetic timing responses are not a substitute for normally terminated task answers.
Statistical references: paired significance-test selection in NLP and confidence intervals and exact binomial limits. The admission policy above is our proposed protocol, not a rule supplied by those sources. The current site checks reported point estimates only.
4. Fix workload and platform conditions
Maintain two workload families. Controlled shapes isolate input/output length, batch, concurrency and cache behavior. Representative task replays measure real messages, variable output lengths, tool turns and accepted task completion. Publish these separately: forcing a model to emit 128 tokens changes the question from finishing a real task.
| Dimension | Required control |
|---|---|
| Input and output | Token counts after the effective chat template, system/tool messages and special tokens. Record distributions and truncation; no silent truncation. Synthetic token IDs require valid token/attention semantics and do not establish language quality. |
| Generation | Sampling, seed support, EOS/stop policy, max tokens, reasoning mode/budget and constrained decoding. Fixed-length timing and normal EOS completion are separate profiles. A seed declaration does not promise bitwise reproducibility. |
| Cache | Separate fresh-prefix and reused-prefix traffic; preserve real prefix reuse in trace replay. Record cold/warm KV state, prefix-cache behavior, tokenizer/OS/page cache and model residency. Unknown provider caching stays unknown. |
| Hardware | Exact GPU/count/VRAM, power cap, MIG, clocks policy, CPU/RAM/NUMA, interconnect, driver, CUDA and host contention. Record OOM and unsupported configurations as outcomes. |
| Quantization | Weight, activation, KV and accumulator formats; method, group size, scale/zero-point scheme, calibration hash and topology changes. Record the effective kernels, conversions and fallbacks on the target shapes. |
| Serving policy | Batch/scheduling limits, KV memory budget, parallelism, replicas, admission limits, region, service tier and scaling. Controlled ablations hold other factors fixed; a best-tuned deployment comparison records all changes. |
INT4 is a storage/number format, not a universal speed guarantee. Test the model × format × shape × kernel × GPU combination. Collect profiler traces in separate diagnostic runs to avoid contaminating headline timings. Report compilation, calibration, model loading and first useful response separately from warmed execution.
5. Measure requests and uncertainty
Load generation
Use closed-loop concurrency to map behavior under a fixed number of waiting clients. Use an open-loop, pre-generated arrival schedule for offered-load and capacity claims. A Poisson process is one controlled profile; bursts and customer trace replay are additional profiles. Measure schedule lag and client CPU/network saturation so a weak load generator cannot make the server appear healthy by under-delivering load.
Preserve one logical request ID across retries. Keep scheduled, dispatched, first nonempty text, terminal and timeout events plus retry attempts. Time from scheduled arrival exposes client queueing and coordinated omission; dispatch-to-response is a separately labeled network/service measurement. Retried work and backoff stay in customer latency and billed cost. Do not pool schedules, time origins or scenarios with different semantics.
| Metric | Definition and admission |
|---|---|
| TTFT and complete latency | Define the start clock and first visible text event. Role/usage-only SSE chunks are not text. Disclose reasoning tokens and filtering. Show p50/p95; p99 requires adequate tail support. Completed-only quantiles always appear beside timeouts/errors, which are not silently dropped. |
| TPOT and token timing | Average decode duration per output-token interval is TPOT. Per-token timestamps are needed for a true token-gap distribution. Chunk gaps, tokenizer estimates and API usage are distinct evidence; never count chunks as tokens. |
| Goodput | Requests that complete successfully and meet the pre-registered latency/TTFT constraints, divided by the declared measurement duration. Preserve failures, rejected and unsent scheduled requests in the offered-load accounting. |
| Throughput | Completed tokens per declared wall-clock interval, with input/output/hidden tokens separated. Unknown usage produces an unknown metric. Cross-tokenizer tokens/s is not a model-choice score. |
| Memory and energy | Separate PyTorch allocated, reserved and total-device memory. Record sampler/counter scope and resolution. Integrate power or use energy counters over a sufficiently long window; report GPU-only versus whole-system scope. A remote API cannot reveal these values. |
| Cost | Actual resource or token billing, including cache/reasoning rates, failed attempts, idle replicas and license/preparation costs where in scope. Report recurring serving and one-time preparation separately. Cost per SLO-success is distinct from cost per correct task; the latter needs jointly scored requests. |
For a finite request episode, use a declared arrival window and drain/censor policy; one defensible duration is first scheduled arrival to last terminal event or fixed drain cutoff. Steady-state throughput tools may use another boundary. Preserve the raw boundaries and do not compare differently defined rates. A timeout is a censored/failed outcome, not a fabricated observed completion latency.
Proposed repetition and stopping policy
Use a pilot to set warmup/stability criteria, sample size, duration, load points and repetition count, then freeze the final plan. As engineering starting floors, collect at least 1,000 measured requests and five minutes per serving point, whichever takes longer; treat p99 as exploratory until at least 10,000 observations and credible tail uncertainty are available. These counts are not accuracy guarantees or MLPerf rules. Autocorrelation can reduce effective information.
Plan at least five independently restarted or time-separated paired baseline/candidate blocks, randomizing AB/BA order and preserving every valid run. Choose the final block count from pilot variability before collecting the confirmation set. Hosted services also need repeated time windows; a short run cannot establish monthly availability. Do not stop when the candidate wins, select the fastest repetition, or pool request samples as if server states were independent.
Report run-level and paired differences with intervals appropriate to independent blocks and task clusters. Bootstrap or another pre-registered method must preserve this structure. Too few blocks or unstable intervals lead to an inconclusive comparison. For each workload/load cell, show the median run-level p95 and every repetition; pre-register the paired effect, for example the geometric mean of baseline/candidate p95 ratios across paired blocks, with its paired interval. Do not manufacture one large independent sample by pooling requests. Keep per-scenario results; an aggregate, if later introduced, needs frozen workload weights and missing-cell rules.
Use AIPerf or Inference Perf after adapter validation, rather than writing another complete load generator. GenAI-Perf now directs new users toward AIPerf. Tool metric names must be mapped to our clock and token semantics. MLPerf separates scenario, load, latency and quality requirements; this proposal is not an MLPerf submission or certification.
6. Geography and time are part of the service result
A provider result is conditional on client origin and network × endpoint/tier × workload × connection/cache state × load × time window. Preserve these dimensions rather than assigning one worldwide latency to a company. Regional differences describe the observed service path; they do not by themselves identify an engine or network bottleneck.
Separate three locations and three clocks
Record the client agent's actual cloud region, network/ASN and machine profile; the observed provider edge or gateway; and the provider-declared or observed execution region. Unknown execution location stays unknown. Anycast and private backbone routing can make edge and processing locations differ; a DNS address, traceroute or POP header does not locate the GPU. These distinctions are illustrated in Cloudflare's routing documentation. Latency measurements are not evidence of data residency.
Use synchronized UTC wall time for matching observation windows, local monotonic time for durations, and an explicit timezone for local hour/day analyses, including daylight-saving transitions. Do not subtract unsynchronized client and server wall clocks. A cloud VM is one network vantage point; add a second network and later representative ISP/mobile probes before generalizing to all users in a country. Changing a VPN exit is not equivalent to deploying an agent at the claimed origin.
| Measure | Useful result | Interpretation boundary |
|---|---|---|
| Connection and upload | DNS, TCP, TLS, request upload, negotiated protocol and connection reuse. Separate fresh and reused connections. | A new socket does not imply fresh DNS, a full TLS handshake, an uncached prompt or a cold model. Record resumption, pooling, IPv4/IPv6 and HTTP/2 multiplexing. |
| First response and first useful output | Headers/first byte, first visible model text, and a task-specific first useful result, followed by complete response latency. | Fast headers are not a fast token. A JSON opening brace may not be useful output; define usefulness for the task. Hidden reasoning and filtering can delay visible text. |
| Streaming continuity | Maximum visible chunk gap, time above a pre-registered stall threshold, partial-response failures and terminal-marker validity. | Chunk gaps describe client-visible streaming; they are not a true per-token latency distribution. |
| Deadline attainment and reliability | Fraction meeting the customer SLO, first-attempt success, eventual success within the deadline, timeouts, 429/5xx and retry amplification. | Keep retry attempts, backoff and cost attached to the logical request. HTTP 200 alone does not establish a complete or correct answer. |
| Temporal stability | Regional distributions by UTC block, local hour, day and observed release/deployment version; paired differences and intervals. | Busy-hour associations do not prove a cause. Shared capacity, routes, caches or versions can change. One week gives limited evidence of weekly patterns. |
| Burst and idle recovery | Queueing, rejection, recovery after controlled bursts, and first useful response after specified idle periods. | A low-rate observation campaign cannot establish capacity or cold-start behavior. Use separate, frozen load and idle-state experiments. |
| Payload and data locality | Upload/download bytes and time, long-context requests, image/audio/video transfer, and remote object-fetch location where known. | A URL input can cause a server-side fetch that the client cannot time directly. Keep transfer, preprocessing and generation boundaries explicit. |
| Cache, routing and fidelity | Declared prefix-reuse profile, usage/cache fields, route or model-version changes, and sampled output validity/quality per regime. | Repeating prompts across regions may warm shared caches. Construct balanced fresh/reused-prefix workloads beforehand; do not silently change content with arbitrary nonces. |
| Delivered cost | Billed usage and retries, regional/plan rates, idle replicas and data transfer where charged; cost per deadline-success and jointly scored task success. | Token list price alone does not describe delivered cost. Never multiply an unrelated accuracy average by throughput to invent correct-task goodput. |
Observe transport and server work without inventing a decomposition
Use an instrumented HTTP client and preserve phase boundaries. curl timing fields distinguish connection milestones and first-byte timing; streamed text events still need explicit parsing. Browser Resource Timing can expose transport phases, but cross-origin fields may be masked. Unavailable timings stay unknown rather than becoming zero-cost phases.
Record provider queue, prefill and decode timings only with documented spans or server telemetry. Server-Timing conveys server-reported metrics, whose units, scope and possible overlap must be checked. TTFT minus ping does not measure GPU compute or queue time. Ping/control endpoints can use another path, and the unobserved remainder includes routing, upload, authentication, queueing and inference. OpenTelemetry can help correlate authorized client/server traces; it cannot reveal spans a provider does not expose.
Blocked observation design
- Choose user-relevant origins: proposed anchors are Frankfurt, Northern Virginia and Singapore. Select actual regions/networks and matched agent resources before execution. Add Dubai or other locations according to customer demand.
- Pair time windows: observe the same endpoint products in matched UTC blocks across origins. Randomize/counterbalance provider order within each block. Preserve exact start times, schedule lag, all planned/missing blocks and version changes.
- Freeze transport and workload profiles: use a logical task set with matched lengths and cache reuse. Treat fresh/reused connections and provider-cold/model-cold states separately. Record account tier and shared organization quota; multiple keys may share one limit, and probes must not silently throttle one another.
- Monitor the observers: record agent CPU/network health and independent control destinations. Classify client-side failures with the frozen policy; do not simply remove bad windows. Controls help diagnose observer trouble but do not reveal the model server's network or queue time.
- Analyze independent blocks: retain region and network strata, cluster uncertainty by session/day as appropriate, and report missing coverage. Requests within one stream/session/day are correlated; thousands of tokens are not thousands of independent observations.
Proposed low-rate pilot and request budget
Three origins × three endpoint products × four UTC windows/day × seven days × two connection profiles × twenty requests gives 10,080 planned logical requests, before warmup, controls and retries. Proposed UTC anchors are 00:00, 06:00, 12:00 and 18:00, with frozen measurement-block and ordering rules. This is a design example; no agents or recurring jobs have been deployed.
Short cells are exploratory and do not meet confirmation-test tail requirements. Show counts, coverage and uncertainty; withhold fine-grained p95/p99 claims when evidence is inadequate. Use the pilot to design longer confirmation runs in the relevant region/time strata. Estimate payload/token volume, actual price schedules and a hard spending/retry limit first. Model and endpoint access remain unresolved in the template.
Availability and customer-specific results
Separate request-weighted success from continuous time-weighted availability. Sparse probes cannot establish monthly uptime, exact incident duration or SLA compliance. Incident start/recovery is interval-censored by probe spacing; show observation coverage and uncertainty. Vendor status pages provide context, not replacements for the measured series.
Publish regional/time heatmaps, SLO-attainment curves and change histories. A customer summary uses frozen traffic weights and critical-region requirements. Form an appropriate weighted distribution to calculate a customer p95; averaging regional p95 values is not a global p95. Preserve regional results even when publishing a summary, and keep UTC blocks paired when comparing providers.
Implementation boundary: the current runner does not collect transport phases, regional agents or multi-day observations. The existing comparison key does not encode this geography/time design. Do not merge such campaigns into a supposedly homogeneous cohort; add explicit origin, network, transport/cache and matched-time context before publishing regional rankings. The attached plan is preparation only.
7. Rank admitted configurations
The ranked unit is a deployment configuration on a versioned workload, not a company. Require a frozen experiment, source/artifact evidence, evaluated quality, valid load delivery, uncertainty and disclosed cost/memory scope. Keep vendor claims, vendor-run reports, independent execution and independent reproduction as distinct evidence levels.
- Same-source board: choose a scenario and quality budget, then show p95 latency, goodput, cost and memory. A faster point does not make the vendor globally fastest.
- Provider board: rank a declared endpoint/tier/time-window under the customer SLO. Unknown source identity blocks same-checkpoint acceleration claims but may still permit a clearly labeled service comparison.
- Model-choice frontier: show non-dominated task-quality, wall-time and cost options. The current board does not implement this view.
- Uncertainty: assess the interval for the paired difference or ratio against a pre-registered practical improvement threshold. An interval crossing that boundary gives an unresolved ordering. Overlap of separate marginal intervals alone is not a paired test. Keep point-estimate sorting labeled; do not invent a universal composite score.
Publication bundle
Store the experiment lock, model and derived-artifact inventories, dataset/payload manifest, per-example quality results, request event log, runtime/container/host manifests, raw telemetry, costs, diagnostic evidence, analysis code/version and admission decision. Content-address files and record exclusions with reasons. Sensitive customer data can use a controlled reproducibility path with the disclosure limits stated. Do not publish credentials or private payloads by default.
Fingerprint identity-bearing fields with a documented canonical JSON encoding and versioned hash procedure. Preserve the raw-file hashes too. Keep source, candidate and experiment IDs separate; timestamps and local paths are not part of the source identity. A new runtime, source revision, protocol or service tier creates a new versioned result rather than silently rewriting the old one.
8. First experiment
Goal: validate the entire evidence chain using an accessible dense model before enrolling many vendors. Qwen2.5-7B-Instruct is the initial engineering anchor because its metadata is already pinned in our toolkit; it is not a claim about the newest or best model.
- Prepare without a GPU: generate the source manifest and draft experiment. Select the exact datasets, scorers, quality margins and task SLO. Keep the plan blocked until these choices are recorded.
- Verify on one GPU: materialize the pinned snapshot and inventory; check tokenizer/template equivalence and semantic correctness in the pinned HF reference. Select one production serving engine and record a BF16 baseline.
- Add one optimization: obtain or create one compatible quantized artifact with source lineage and calibration data disjoint from evaluation. For causal attribution, keep the serving engine and other policies fixed. If the artifact requires another engine, describe the result as a combined artifact/runtime change.
- Evaluate quality first: use a representative customer task plus an appropriate public regression suite. A small pilot informs power and sample size. The final holdout decides admission; failures and inconclusive results remain visible.
- Measure one workload first: proposed controlled profile 2,048 effective input tokens and 128 forced output tokens; concurrency 1 and 4. With five paired blocks, two configurations produce 20 measured runs. Each serving run meets the frozen duration/request floors. This is a length-controlled profile; a task replay is a separate result.
- Publish one reproducible comparison: include quality, latency, goodput, memory, setup and real costs. Add TheStage or Pruna only after source matching and adapter validation. Add a hybrid model and a MoE in separate cohorts after the dense path works.
Before execution, estimate GPU, storage, preparation, evaluation and serving cost from the pilot and provider quote, then set a hard spending limit in the execution workflow. No price or completion-time estimate is implied by the request counts.
Other modalities use the same artifact chain and different task protocols
Images: pin pipeline components, prompt set, resolution, steps, scheduler, guidance, VAE/LoRA and seed handling; measure whole-pipeline latency and memory. Quality combines task/prompt alignment, relevant image metrics and blind human review where needed; a single aesthetic score is insufficient.
Video: additionally pin frames, FPS, duration, temporal context and decoder. Measure submit-to-ready versus engine-only time separately, with temporal consistency and task quality.
Speech and vision-language: pin audio duration/sample rate or image preprocessing, encoder, processor and task. Use ASR correctness/TTS listening protocols or visual task scores plus streaming latency as appropriate. Identical seeds need not yield identical cross-backend outputs. The current toolkit executes text generation only.
9. Implementation order
| Component | Current state | Next deliverable |
|---|---|---|
| Geography and time | Observation protocol and non-executable pilot template. No regional agent, transport-phase collector or long-running measurement exists. | Agent/network identity, explicit connection/cache profiles, synchronized block scheduler, phase/event collection, quota accounting, coverage and geography-aware result cohorts. |
| HF resolver and experiment plan | JSON metadata inspector, pinned manifest and config builder. Draft experiment generator available with this protocol. | Complete tokenizer/processor and nested topology capture; registry file metadata and execution-host content verification. |
| Canonical identity | The browser builder hashes raw config metadata; the experimental GPU adapter derives a hash from an expanded config. These are not one canonical identity format. | Shared source/artifact schema and identity function across adapters; no ad hoc hash normalization during publication. |
| Quality | Reported point-score threshold filter. No evaluator integration, paired intervals or statistical admission engine. | Pinned evaluator adapter, per-example records and PASS/FAIL/INCONCLUSIVE admission. Validate with synthetic edge cases before ranking. |
| Serving measurements | Mock-tested closed-loop streaming client. GPU adapter is unvalidated; no open-loop capacity certification. | Choose and pin AIPerf or Inference Perf after a mock/known-server comparison. Normalize raw clocks, tokens, errors and load delivery. |
| Telemetry and cost | GPU adapter records PyTorch allocated peak; API runner can calculate declared GPU rental. Token billing and full-device telemetry are absent. | Host telemetry, billed usage and preparation-cost evidence with explicit scopes. |
| Admission and publication | Local imports, cohort separation and diagnostics. Importing does not validate provenance or independence. | Bundle validation, independent review, evidence levels, uncertainty display and versioned publication. Different-model frontiers follow later. |
Optimum Benchmark is another candidate for controlled local, multi-backend measurements. Validate support for each chosen model and capture the exact harness version; none of the external tools above is yet installed or integrated into this project.
Available preparation commands
# From the downloaded toolkit; metadata and local files only
node inspect-model.mjs \
--repo Qwen/Qwen2.5-7B-Instruct \
--revision main --out manifest.json
node plan-experiment.mjs \
--manifest manifest.json --out experiment.json
# experiment.json is a draft with explicit unresolved gates.
# It does not download weights, start a GPU, or execute a benchmark.The draft contract is separate from run.mjs configuration. Generating a plan does not make it an executable job. Resolve the remaining gates, select the evaluation/load adapters, and freeze the experiment before execution.
Primary sources
Core sources reviewed 14 November 2026; geography and transport sources reviewed 15 November. Proposed sampling floors, experiment choices and admission policy are project decisions, not claims of external certification.