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.
Install
Requires Python 3.15 (managed automatically by uv) and uv >= 0.13.6:
uv tool install --managed-python --python 3.15 inferyard
inferyard --versions
inferyard --help
To upgrade an existing installation:
uv tool upgrade inferyard
Quick command reference
| Command | Purpose |
|---|---|
inferyard init --out DIR |
Export a starter workspace and frozen task bundles (zh-core + zh-svg-pelican by default, or --bundle zh-smoke|zh-context-speed) |
inferyard device-check --json |
Read-only hardware preflight and hardware-aware starter recommendation (PolyStrata vs. llama.cpp) |
inferyard engine prepare-polystrata |
Automated local PolyStrata setup (preflight, isolated Python 3.10–3.13 .venv, runtime, model, installation.json) |
inferyard engine prepare / engine check |
Download, verify, and unpack a pinned engine archive, or verify a local engine / installation.json read-only |
inferyard engine detect / engine init-installation |
Detect local engine binaries/venvs and generate a validated installation.json |
inferyard model acquire / model resolve |
Resolve or download pinned Hugging Face / ModelScope models (single/multi-shard GGUF or directory models, with resume & proxy) |
inferyard assets scan |
Read-only scan of local model and engine directories |
inferyard service discover |
Read-only discovery of running loopback inference services (/health, /v1/models) |
inferyard plan |
Preview (--dry-run) or freeze an experiment plan, including --preset context-speed for zh-context-speed |
inferyard probe / run / resume |
Probe a bound service, run a serial or planned benchmark, or resume unexecuted cases |
inferyard verify / report / speed-results |
Verify sealed runs offline, build a combined studio.json report, or read verified context-speed batch results |
inferyard compare / compare-engines |
Compare frozen trial evidence or multi-block engine comparison batches offline |
inferyard --schema <kind> / --versions |
Export active JSON Schemas (schema_version = 3) or runtime/dependency versions |
Start from the terminal
- Follow the installation guide (Chinese) to install
inferyard, initialize the operations directory, and run the device preflight. - Prepare a candidate for your platform (Chinese). Start the declared model service in another terminal, then bind its actual PID and local endpoint.
- Run
zh-coreandzh-svg-pelicanseparately, verify each raw run, and generate one combined report. If thezh-corerun is already complete, add only the missingzh-svg-pelicanrun. - Open
studio.jsonin Studio. For handoff, copy the sealed runs along with the report (or produce a redacted evidence bundle withinferyard public package).
The desktop workflow starts on the Studio Tasks page. Studio can reuse an existing CLI, automatically upgrade it after Studio updates, and manage services it starts.
Read more
InferYard Studio · Studio guide · Installation (Chinese) · Task sets · Contributing · Changelog
Run CLI development commands from cli/ in this monorepo; root mise tasks
already enter that directory. Licensed under MIT.
Metadata
Release files for inferyard 0.0.12
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.12.tar.gz | 677.9 kB | With provenance | Details for inferyard-0.0.12.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| inferyard-0.0.12-py3-none-any.whl | Python 3 | none | any | Details for inferyard-0.0.12-py3-none-any.whl |
Total release size: 1.6 MB
Release files / inferyard-0.0.12.tar.gz
| Download URL | inferyard-0.0.12.tar.gz |
|---|---|
| Size | 677.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3ea8c3d418411a51d248df21968d857b116ee7550ecbe6f44f623a6f65a59517
|
|
BLAKE2b-256 checksum How to use checksums |
b0058fe33e34ebff3f342bec120b3e4fff1578441c3ab94ea0da3a131637c547
|
| 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 24, 2026.
Transparency logRelease files / inferyard-0.0.12-py3-none-any.whl
| Download URL | inferyard-0.0.12-py3-none-any.whl |
|---|---|
| Size | 896.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e87ad7775f362861f844feb72f0066f9b85721b7e67412c55abad53a9e2ea9c
|
|
BLAKE2b-256 checksum How to use checksums |
04c4077d692045b4eaabae7ffde4e7ea68d67386467c3075a323260372a92dc5
|
| 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 24, 2026.
Transparency logSecurity for inferyard 0.0.12
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.12.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 24, 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.