Skip to content
heliaPROFILER
Reference
HELIA

hpx run

Capture once from a run directory on a board you name

function

hpx run

Python

Capture once from a run directory on a board you name

src/helia_profiler/cli/run_app.py:280

hpx run [OPTIONS] DIRECTORY
hpx run arguments
ArgumentTypeDescription
directoryPathRun directory written by hpx build, or its build.json Required.
hpx run options
OptionTypeDefaultDescription
--settle-secondsfloat60Bound on each wait for the board to start and to finish, in seconds (more than 0, at most 300)
--evidence-dirOptional[Path]New directory inside DIR for the capture's evidence and its saved result.json (default: DIR/evidence-<N>)
--verbose, -vint0Increase verbosity
hpx run output verification
OptionTypeDefaultDescription
--expecthost-litert | noneReference outputs: host-litert runs the model on the host (default), none skips verification
--tolerancefloat0Largest accepted absolute error per element, in stored units
--referenceOptional[list[Path]]Reference bytes for one output; repeat once per output, in model order. Replaces --expect. Repeatable.
hpx run target hardware
OptionTypeDescription
--boardstrThe board wired to the probe; it must be the build's board Required.
--jlink-serialstrJ-Link probe serial number Required.
hpx run examples
The operator vouches for the physical board behind the probe, as hpx profile assumes: --board names the board wired to the probe that --jlink-serial names, and the operator holds it for the capture. A --board other than the build's board is refused before any device is touched; HPX cannot check the physical board itself.
Each capture writes its evidence and its saved run result, result.json, to a fresh directory. Prints the outcome, the result's path, identity, verification and timing as JSON. Exit status: 0 when the capture succeeds and its outputs match, 1 on a refusal or a failed capture, 3 when the outputs do not match.
Example:
hpx run runs/kws --board apollo510_evb --jlink-serial 1160002255

Machine-readable: cli.json · run.md, complete and lossless.