Skip to main content

Global Options

These options work across most AITraining CLI commands.

Version

Check the installed version:

Help

Get help for any command:

Config File

Load parameters from a YAML configuration file:
This is useful for:
  • Reproducible experiments
  • Complex configurations
  • Sharing settings with teammates

Backend

Specify where training runs:
Available backends:

Spaces Backend Options

Remote backends require authentication: When using non-local backends (spaces-*, ep-*, ngc-*, nvcf-*), you must provide --username and --token for Hugging Face authentication.
Push to Hub also requires authentication: Even with --backend local, using --push-to-hub requires --username and --token to upload the model to Hugging Face Hub.

Environment Variables

Set these before running commands:

Authentication

GPU Configuration

MPS (Apple Silicon) Control

Interactive Mode

Launch the configuration wizard:

Next Steps

YAML Configs

Configuration file format

Command Structure

Full command reference