▲ 354 today2.1k starsPython
Halo framework lets anyone train massive language models on any GPU
What is halo?
Halo is an open-source Python library that makes it easy to pre-train and fine-tune large language and multimodal models. It supports single-GPU to multi-node training with expert, tensor and pipeline parallelism, BF16 and fused kernels.
Who it is for
Researchers and engineers who need to train big models without writing low-level distributed code should care.
How halo works
Halo sits on top of PyTorch and uses its DistributedDataParallel primitives such as FSDP2, DTensor and DeviceMesh. It adds separate parallelism layers, expert, context, tensor, expert-tensor and pipeline, that can be turned on independently and combine only where allowed. DeepEP handles the all-to-all communication needed for expert parallelism while FlashAttention 4, Liger and Grouped GEMM provide fast kernels. The framework runs inside Docker images that already contain the right PyTorch, FlashAttention and DeepEP builds for each GPU generation. Checkpoints are standard Hugging Face SafeTensors, so existing models load without modification.
What you can do with it
- Train a large language model with expert parallelism across many GPUs using a single YAML config.
- Fine-tune a model with LoRA or a multi-token-prediction head on one GPU or a multi-node cluster.
- Run asynchronous multi-turn reinforcement-learning where rollouts are served by vLLM or SGLang and weights are updated live.
- Merge sharded expert parallel checkpoints or quantize a model to low-precision formats with the halo run sub-commands.
Good to know
- Requires NVIDIA GPUs of the Blackwell, Hopper, B200/B300, H100/H200 families and a compatible driver.
- Only Linux hosts with Docker or rootless Podman can launch the pre-built images.
- The codebase is still evolving; new features are added per release and some parallelism pairings are rejected at config time.
Written from the project's own README.
Try it in 60 seconds
You need: Python 3.9+ and a CUDA-enabled GPU
No one-line install. The README has the setup steps.
No license listedUpdated todayPython38 open issues
New projects are not vetted. Skim the code, and run it in a fresh folder or a container before giving it your files or keys.
The story so far
Early Signal first spotted whitecircle/halo on December 1, 2026, when it had 1.7k GitHub stars. It has since grown to 2.1k. On its busiest day it gained 354 stars. Early Signal files it under Inference, LLMs.
Questions about halo
- What do I need to run halo?
- Python 3.9+ and a CUDA-enabled GPU