Installation & Setup
The AITraining CLI is included when you install theaitraining package.
Installation
Using pip
Using uv (Recommended)
Verify Installation
Check that the CLI is working:First Run
Runningaitraining without arguments launches the interactive wizard:
GPU Setup
For GPU training, ensure you have CUDA installed and PyTorch can detect your GPU:Apple Silicon (M1/M2/M3)
On Apple Silicon Macs, MPS is used automatically:Environment Variables
Common environment variables:| Variable | Description |
|---|---|
HF_TOKEN | Hugging Face token for private models/datasets |
WANDB_API_KEY | Weights & Biases API key for logging |
CUDA_VISIBLE_DEVICES | Specify which GPUs to use |