whitecircle/halo
Halo is an open-source framework built by White Circle for training large language and multimodal models
What it solves
Halo is an open-source framework designed to simplify and accelerate the training of large language and multimodal models. It addresses the complexity of distributed training by allowing users to train Hugging Face models directly, using standard checkpoints and familiar workflows while providing high-performance parallelism for large-scale MoE (Mixture-of-Experts) and dense models.
How it works
Halo integrates directly with the Hugging Face ecosystem, meaning trainers subclass standard Hugging Face or TRL trainers and models load via from_pretrained. It adds parallelism (EP, CP, TP, ETP, PP) as layers on top of existing models rather than requiring separate distributed implementations. The framework leverages PyTorch primitives like FSDP2 and DeviceMesh, and includes optimized kernels (FlashAttention 4, Liger, Grouped GEMM) to maximize throughput on modern GPUs like Blackwell and Hopper.
Who it’s for
Halo is for researchers and engineers who need to perform pre-training, SFT, preference optimization, or multi-turn RL at scale. It is built for those who want to use standard model formats while achieving high performance across single or multi-node GPU clusters.
Highlights
- Direct Hugging Face Integration: Uses standard SafeTensors and
from_pretrainedcompatibility. - Flexible Parallelism: Supports Expert Parallelism (EP), Context Parallelism (CP), Tensor Parallelism (TP), and Pipeline Parallelism (PP) with configurable axes.
- High-Performance Kernels: Includes FlashAttention 4, Liger, and Grouped GEMM for optimized compute.
- Asynchronous RL: Features a clean split between training and rollout servers (vLLM/SGLang) for efficient multi-turn reinforcement learning.
- Memory Efficiency: Supports AdamWBF16, LoRA, QLoRA, and padding-free packing to reduce memory overhead.
- Agent-Ready: Ships with built-in agent skills for launching, debugging, and optimizing distributed training runs.
Related
- Project
- Dispatch
- Project
- Dispatch
- Project