█

AI/TLDR

Buy me a coffee
Buy me a coffee

Halo

Pre-training, SFT and async RL for Hugging Face models, with parallelism added in place

Fine-Tuning FrameworksOpen source
Language
Python
License
Halo License: Apache-2.0 with White Circle's Supplemental Terms (offering Halo's training as a service is free up to US$20M revenue a year, then needs a commercial agreement)
IN SHORT

What is Halo?

Halo is an open-source framework from White Circle for training large language and multimodal models. One codebase covers pre-training, supervised fine-tuning, preference optimization, distillation and reinforcement learning, and the same configs run on a single GPU or across several multi-GPU nodes. It sits in the Fine-Tuning Frameworks category of the Training & Fine-Tuning tools and is open-source, written in Python and licensed Halo License: Apache-2.0 with White Circle's Supplemental Terms (offering Halo's training as a service is free up to US$20M revenue a year, then needs a commercial agreement).

Overview

Halo is an open-source framework from White Circle for training large language and multimodal models. One codebase covers pre-training, supervised fine-tuning, preference optimization, distillation and reinforcement learning, and the same configs run on a single GPU or across several multi-GPU nodes. It is driven by YAML configs and a halo launch command, and ships as Docker images for Blackwell (B200/B300) and Hopper (H100/H200) GPUs.

Its central design choice is that it trains Hugging Face models directly. The trainers subclass Hugging Face and TRL trainers, checkpoints stay standard SafeTensors that load with from_pretrained, and parallelism is wrapped around the existing model rather than re-implemented: expert parallelism wraps MoE blocks, context parallelism wraps attention, and tensor parallelism shards weights in place, all on PyTorch's FSDP2, DTensor and DeviceMesh with DeepEP for expert all-to-all. Each axis — EP, CP, TP, ETP and PP — is its own setting, and invalid combinations are rejected when the config loads.

Reinforcement learning is fully asynchronous: multi-turn environment rollouts run as Ray actors against vLLM or SGLang servers, and the trainer pushes updated weights to them over NCCL while the training side stays plain Transformers. White Circle publishes throughput benchmarks against Megatron Bridge, TRL and NeMo AutoModel in the README. Halo was first released publicly as 1.0.0 in August 2026, with 1.2.0 adding pipeline parallelism in November 2026.

What it does

  • Pre-training, SFT, preference optimization, distillation, GRPO and asynchronous multi-turn environment RL on shared parallelism and checkpointing code
  • Expert, context, tensor, expert-tensor and pipeline parallelism configured per axis, on top of FSDP2, DTensor and DeepEP
  • Trains Hugging Face models directly: checkpoints stay SafeTensors and load with from_pretrained, with tools to merge EP shards and PEFT adapters back into a standard checkpoint
  • Built-in kernels and optimizations: FlashAttention 4/3/2, Liger fused losses, Grouped GEMM for MoE experts, padding-free and tree packing, and the AdamWBF16 optimizer
  • LoRA, QLoRA, FP8/FP4 quantization-aware training, and training of a model's multi-token-prediction head
  • Ships agent skills for Claude Code and Codex covering launching jobs, choosing parallelism, debugging runs and adding models

Getting started

Halo runs inside its Docker images, so no host Python environment is needed. Pull the image for your GPU generation, then launch a training method with one of the example configs.

Pull the training image

Images are architecture-specific (there is no latest tag) and can be pulled anonymously. Versioned tags such as :blackwell-1.3.0rc1 pin a release.

bashbash
# B200/B300: FA4 + FA2 + DeepEP
docker pull public.ecr.aws/whitecircle/halo:blackwell

# H100/H200: FA2 + FA3 + DeepEP
docker pull public.ecr.aws/whitecircle/halo:hopper

Launch a single-GPU LoRA fine-tune

halo launch takes a training method and a YAML config, and picks python, torchrun or accelerate launch from the arguments. This example fits on one GPU.

bashbash
halo launch sft examples/sft/qwen3/qwen3-4b-ultrachat-lora.yaml

Scale out with expert parallelism

Add -n for the GPU count. Options after the config that are not the launcher's own override the YAML values; --dry_run prints the command instead of running it.

bashbash
halo launch sft examples/sft/qwen3_5/qwen3.5-35b-a3b-ultrachat-ep.yaml \
    -n 8 \
    --expert_parallel_size=8 \
    --learning_rate=1e-5

List methods and tools

halo launch --list shows every training method (SFT, preference, GRPO online and environmental, …); halo run covers checkpoint, inference, data and environment utilities such as merging EP shards.

bashbash
halo launch --list
halo run --list
halo run merge-ep-shards --input_dir <ep-checkpoint-dir> --output_dir <merged-dir>

Commands and code are distilled from the project's own documentation — always check the official repo for the latest.

When to use it

  • Fine-tuning or post-training a large MoE model from the Hugging Face hub across several GPUs without porting it to Megatron
  • Running asynchronous multi-turn RL with vLLM or SGLang rollouts against your own environments
  • Long-context SFT where sequences must be split across GPUs with context parallelism
  • Keeping trained checkpoints in standard Hugging Face format for downstream serving

How Halo compares

Halo alongside other open-source fine-tuning frameworks tools AI/TLDR tracks, ranked by GitHub stars.

ToolStarsWhat it does
Unsloth★ 80.3kA library that speeds up LoRA and QLoRA fine-tuning while cutting memory use, aimed at training models on a single GPU.
LLaMA-Factory★ 76.3kAn end-to-end training suite with a web UI that covers pre-training, supervised fine-tuning, and RLHF for hundreds of LLMs and multimodal models.
PEFT★ 21.9kHugging Face's library of parameter-efficient fine-tuning methods such as LoRA, DoRA, and prompt tuning that train small adapters instead of full models.
FinGPT★ 21.7kFinGPT is an open-source project of financial LLMs, fine-tuned with LoRA on news and tweet data for tasks like sentiment analysis, relation extraction, and stock-move forecasting.
ms-swift★ 16.2kModelScope's framework for fine-tuning and deploying 600+ LLMs and 300+ multimodal models, supporting PEFT and full-parameter SFT, DPO, and GRPO.
LitGPT★ 13.8kAn open-source toolkit from Lightning AI to pretrain, finetune, and serve 20+ large language models, each written from scratch for speed and full control.
Axolotl★ 12.8kA config-driven tool for fine-tuning and post-training open LLMs that supports SFT, LoRA/QLoRA, DPO, GRPO, and multi-GPU training across many model families.
Halo★ 1.2kPre-training, SFT and async RL for Hugging Face models, with parallelism added in place