InferYard CLI
English | 中文
inferyard is the command-line execution subproject of
InferYard Studio. Studio provides the desktop interface and
manages model services; it invokes inferyard to run frozen task sets against
local models, record answer, latency, and resource evidence, and project the
studio.json report displayed in Studio. Quality, latency, and memory are
reported separately; when comparison preconditions are not met, the CLI explains
why instead of producing a single composite score.
For normal desktop benchmarking, start with InferYard Studio and
the Studio guide. Studio's 准备环境 (Prepare
environment) step installs and manages the matching inferyard CLI
automatically. Use inferyard directly only when you want to drive runs from a
terminal or develop on the CLI subproject.
Direct CLI setup
If you have already prepared the environment in Studio, inferyard is installed
in the uv user tool directory. To install or run the CLI directly with uv:
uv tool install --managed-python --python 3.15.2 inferyard
inferyard --help
Or run it with uvx without a persistent install:
uvx --isolated --managed-python --python 3.15.2 inferyard --help
For source development from this monorepo, run mise exec -- uv sync --frozen
in cli/. Preparing Python and dependencies on the first run requires network
access; models and engines are downloaded through Studio or provided by the
operator. The installation guide covers uv setup,
Release asset verification, per-platform asset preparation, service binding, and
offline use.
Command-line workflow
A standard benchmark covers zh-core and zh-svg-pelican by default; a single
bundle runs only when you explicitly pin it (see the
default benchmark scope).
The example below pins zh-smoke for a quick check.
- Initialize an operations directory (
bench-ops/) and run a preflight device check:
inferyard init --out bench-ops --bundle zh-smoke
inferyard device-check --model /path/to/model.gguf --out bench-ops/preflight/device-1 --json
- Prepare a candidate per the installation guide, start the declared model service yourself in a separate terminal, and bind its live PID and endpoint. Unlike Studio, the CLI never starts, stops, or restarts model services:
inferyard config bind --candidate bench-ops/candidate/candidate.toml --pid 1234 --endpoint http://127.0.0.1:48857 --out bench-ops/bound/service-1
- Run the benchmark and generate the
studio.jsonreport (RUN_IDcomes from therunoutput):
inferyard run --config bench-ops/bound/service-1/config.toml
inferyard report --runs bench-work/results/RUN_ID --out bench-work/report
run includes normal and streaming probes; the standalone probe command is
for optional troubleshooting. Host state is created automatically on the first
live run without an explicit initialization step.
Evidence and workspace layout
- Two-directory separation: Preparation checks, operator scripts, and logs
live in the operations directory (
bench-ops/), which you can delete once all runs are sealed. The benchmark workspace (bench-work/) holds only runs, batches, and reports, created automatically byrunandreport. For handoff, copy the sealed runs and the report directory into a separate delivery directory; see the usage guide. - Formal output counts: The source development version stores a complete
ordinary single run in eight evidence files and its report as a single
studio.json. Existing valid schema-3 snapshot runs remain readable; see the evidence layout contract. - Evidence authority:
studio.jsonis a rebuildable projection for InferYard Studio, not a verifiable artifact.verifychecks the raw runs, which remain the evidence authority after the service is shut down.
Platforms and capabilities
| Platform | Implementation scope | Entry |
|---|---|---|
| Linux x64 | Single and batch runs, CPU/memory sampling; manual config preparation | Installation |
| Windows x64 | Prism/KVMem/NInfer serial text runs, native identity and memory sampling | Windows |
| macOS arm64 | Single and batch runs, CPU/Metal verification, CPU/RSS/paging sampling | macOS |
- Verification status: Platform status separates what is implemented, historical native coverage, and what remains unverified for the current candidate. A package that installs does not prove that every engine and sensor passed native verification. The maintainer's candidate build and installation checks bind the same release bytes: at least one platform completes the real installation check, and the remaining platforms are explicitly marked as not verified.
- Task sets and non-goals: Bundles cover instruction following, extraction,
grounded Q&A, math/logic, classification, and structured output; the SVG task
presents the generated result without scoring it, and
zh-context-speedmeasures long-context prefill/decode speed. Scoring uses frozen rules and never calls a model judge. Community accounts, auto-submission, multi-host scheduling, and multimodal executors are out of scope. - Memory diagnostic: On macOS and Windows,
inferyard memory-checklists process memory and classification reasons for user review (see the memory diagnostic contract). Windows separates working set from private commit and keeps executable groups conservative. It never closes applications or promises how much memory an exit will release.
Read more
InferYard Studio · Studio guide · Usage guide · CLI reference · Reports · Documentation map · Contributing · Changelog
Run CLI development commands from cli/ in this monorepo; root mise tasks
already enter that directory.
This repository starts a fresh Git history from the current InferYard source;
original runs, model assets, and the source project's history are not
distributed. Redacted public evidence can be produced with public package;
conclusion scope follows the
evidence lineage rules.
Licensed under MIT.
Metadata
Release files for inferyard 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| inferyard-0.0.5.tar.gz | 622.4 kB | With provenance | Details for inferyard-0.0.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inferyard-0.0.5-py3-none-any.whl | Python 3 | none | any | Details for inferyard-0.0.5-py3-none-any.whl |
Total release size: 1.4 MB
Release files / inferyard-0.0.5.tar.gz
| Download URL | inferyard-0.0.5.tar.gz |
|---|---|
| Size | 622.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a067f2f5639082f90be559086dd1c0b10e58585399d4bfd9cf3f7f3f23ba7419
|
|
BLAKE2b-256 checksum How to use checksums |
04c85b29556e90344f1600be65d35bac0b8924819f0ecd6dc6e3498713aad461
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logRelease files / inferyard-0.0.5-py3-none-any.whl
| Download URL | inferyard-0.0.5-py3-none-any.whl |
|---|---|
| Size | 820.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
109f2bddc86c5b2554e958f5b8c0cf139e1897a5271feac5d6cf5d8a24034b27
|
|
BLAKE2b-256 checksum How to use checksums |
9dab185a36ec42467630294170b995249bb1c7943b4e17d4167d892d2b30a70b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logSecurity for inferyard 0.0.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for inferyard-0.0.5.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 18, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.