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:- Reproducible experiments
- Complex configurations
- Sharing settings with teammates
Backend
Specify where training runs:| Backend | Description |
|---|---|
local | Run on local machine (default). Variants: local-cli, local-ui |
spaces-* | Run on Hugging Face Spaces |
ep-* | Hugging Face Endpoints |
ngc-* | NVIDIA NGC/DGX Cloud |
nvcf-* | NVIDIA Cloud Functions |
Spaces Backend Options
| Backend | GPU |
|---|---|
spaces-t4-small | T4 (small) |
spaces-t4-medium | T4 (medium) |
spaces-a10g-small | A10G (small) |
spaces-a10g-large | A10G (large) |
spaces-a10g-largex2 | 2x A10G |
spaces-a10g-largex4 | 4x A10G |
spaces-a100-large | A100 |
spaces-l4x1 | 1x L4 |
spaces-l4x4 | 4x L4 |
spaces-l40sx1 | 1x L40S |
spaces-l40sx4 | 4x L40S |
spaces-l40sx8 | 8x L40S |
spaces-cpu-basic | CPU only |
spaces-cpu-upgrade | CPU (upgraded) |
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