Description
Register a new AI model. The model is private by default. Provide a model name with--name, or supply a model spec file via
--model-file (YAML or JSON). When neither is given, the CLI auto-detects a
reactor.yaml by walking up from the current directory (stopping at
the enclosing repository root) and loads it as if it had been passed via
--model-file. With neither flag set and no enclosing reactor.yaml to
find, the existing required-flag error fires.
Precedence (highest to lowest):
- CLI flags (
--name,--description,--gpu, …) explicitly set on the command line ALWAYS win, even when--model-fileis also supplied. --model-filevalues (whether passed explicitly or auto-detected) fill in fields not set on the command line.
vision-model, or a canonical org/name identifier when the org is
your account slug.
Accelerators:
Models that need accelerator hardware (NVIDIA / AMD GPUs, AWS Trainium /
Inferentia) declare the device with --gpu plus --gpu-type. The flag name
is historical; --gpu-type also accepts the Neuron families
(AWS_TRAINIUM_2/3, AWS_INF_2) and the model is scheduled onto the right
hardware automatically. For Trainium/Inferentia, --gpu-type alone is
enough - the CLI infers --gpu so partners don’t have to type a misleading
flag.
Examples:
Options
Global options
See also
- reactor model - Model management commands