Commands
HeliaAOT is a Python-based CLI that supports various commands with configurable arguments. Each command can accept options directly via flags, via a YAML configuration file, or both, with flags taking precedence over YAML options. This allows for flexible and convenient configuration of the CLI.
Available Commands
- version: Show the version of the HeliaAOT CLI.
- convert: Convert a model to a standalone C inference module.
Passing arguments
-
Via flags: specify each option on the command line:
-
Via YAML: provide a config file:
Mixing YAML and CLI flags
The CLI allows providing both YAML and CLI flags. CLI flags take precedance over YAML options and will override any equivalent options in the YAML file. For example, you can use a YAML file for most options and then override the --verbose level directly in the command line.