What is this?
Halo is an open-source framework from White Circle for training large language and multimodal models: pre-training, SFT, preference optimization, and fully asynchronous multi-turn RL in one codebase, from a single GPU up to multi-node clusters.
Is it a Python library I add to a project, or a tool I run?
It ships as ready-made Docker images (separate builds for Blackwell and Hopper GPUs) with PyTorch, Flash Attention, and DeepEP already built in, so no host Python environment is needed. You drive it through the halo CLI: 'halo launch' runs a training method from a YAML config, 'halo run' covers checkpoint and data utilities.
How do I get a first training run going?
Pull the Docker image for your GPU (versioned tags like :blackwell-1.0.0; anonymous pull, no account required), pick a ready-to-run YAML from examples/ grouped by method and model, and run 'halo launch '. '--dry-run' previews the command and '--list' shows available methods.
Do I need a big multi-GPU cluster, or can I try it on my own machine?
Both work: the same codebase scales from one GPU to multiple nodes. On consumer hardware QLoRA fits a 24 GB card — Qwen3-4B peaks at 7.9 GB and Qwen3-8B at 32k context fits in 20.9 GB. The headline numbers come from 8×B300 servers.
Which GPUs does it actually support?
Blackwell and Hopper get dedicated optimized images (FlashAttention 4 on Blackwell, FA2/FA3 on Hopper), with implementations and fallbacks for older GPUs. Ampere and Ada cards can run single-GPU LoRA/QLoRA from the halo:blackwell image.
Is it really free for commercial use?
It uses the Halo License: Apache 2.0 plus supplemental terms. Using, modifying, self-hosting, and shipping models you trained are free at any scale; the conditions are that offering Halo's training as a service is free only up to US $20M of such revenue per 12 months (commercial agreement above), and companies over $20M annual revenue must credit models 'Trained with Halo'.
What do the four parallelism modes do?
EP distributes MoE experts across GPUs, TP shards model weights, CP splits long sequences, and ETP shards individual expert FFNs. Each is configured independently and they combine — e.g. EP+CP for MoE plus long-context training, up to 256k context in the benchmarks.
Was Halo itself built with AI?
Extensively — the team uses GPT and Claude through PI-Agent, Claude Code, and Codex, with the conventions written up in AGENTS.md. AI-assisted contributions are welcome as long as contributors understand and stand behind the code they submit.
How does it cut optimizer memory?
AdamWBF16 with stochastic rounding keeps optimizer state at 6 bytes per parameter instead of 12 with FP32 master weights; Muon and FlashAdamW are also supported, and FP8/FP4 MoE training runs via fake-quant QAT with mxfp8/nvfp4 export.
How do multi-node runs get launched?
Parallelism flags pass straight to torchrun or after the config with halo launch; multi-node runs support shared (NFS/Lustre) and node-local filesystems, and launcher-configs/ ships ready recipes for Accelerate, SkyPilot, and Nomad.
Which topics is it in?
peft, qlora, grpo, rlhf, sglang, distributed-training, moe, optimization, lora, transformers, vllm, reinforcement-learning