Skip to content

fastflow CLI reference

fastflow is the native runtime CLI in every FastFlow SDK release: the fastflow-sdk wheels put it on PATH, and the standalone archives ship it as bin/fastflow. It needs no Python. This page is generated from the CLI's source; Runtime CLI behavior explains what each command does and does not change on the system.

Help

Usage: fastflow [global-options] <command> [global-options]

Commands:
  version    Report product, build, manifest, and HRX library information
  probe      Collect platform, driver, firmware, device, and HRX facts
  powermode [mode]
             Report or set NPU power mode
  doctor     Evaluate package, runtime, and device health
  self-test  Dispatch the packaged bounded deterministic XADX test
  plugin list
             Discover external fastflow-* plugin executables without running them
  <name>     Execute the external fastflow-<name> plugin

Global options:
  --json             Emit exactly one JSON report to stdout
  --runtime <path>   Use an explicit HRX library file or directory
  --verbose          Include additional diagnostics
  --help, -h         Show this help

Power modes:
  default, powersaver, balanced, performance, turbo

Commands

Command Description Checks in its report
fastflow version Report product, build, manifest, and HRX library information none
fastflow probe Collect platform, driver, firmware, device, and HRX facts device.enumeration
fastflow powermode [mode] Report or set NPU power mode powermode.arguments, powermode.support, powermode.device_present, powermode.query, powermode.set
fastflow doctor Evaluate package, runtime, and device health package.manifest, device.enumeration, device.present, device.access, device.ioctl, runtime.library.present, runtime.library.load, runtime.symbols, runtime.abi, runtime.initialize, runtime.device_count, runtime.shutdown
fastflow self-test Dispatch the packaged bounded deterministic XADX test package.manifest, device.enumeration, device.present, device.access, device.ioctl, runtime.library.present, runtime.library.load, runtime.symbols, runtime.abi, runtime.initialize, runtime.device_count, runtime.shutdown, self_test.prerequisites, self_test.fixture, self_test.load, self_test.dispatch, self_test.cleanup, self_test.output
fastflow plugin list Discover external fastflow-* plugin executables without running them plugin.discovery

Every command can also report invocation.arguments, internal.error, plugin.dispatch.

Exit status

Status Meaning
0 The command completed and every required check passed.
1 A health check or the self-test failed.
2 Invalid input or an internal execution error.

Machine-readable output

For a built-in command, fastflow --json <command> writes exactly one JSON report to standard output, with schema_version, command, status, product, checks, and, when the command has any, data. Invalid arguments also produce a report. --help prints the usage text even with --json. An external plugin writes its own output and sets the exit status; fastflow reports only when it cannot start one (plugin.dispatch).

Parse the report instead of the human output; the JSON contract defines it. For each check whose status is not pass, look up its id in Troubleshooting.

fastflow doctor --json