# xLLM

- **ID:** 781
- **Kind:** code
- **URL:** https://github.com/ifm-ai/xllm
- **Authors:** Institute of Foundation Models (IFM AI)
- **Venue:** GitHub
- **Source:** github
- **Language:** en
- **Access:** public
- **License:** Apache-2.0
- **License family:** Permissive (auto-classified)
- **Tags:** llm-training, training-infra, long-context, fsdp, context-parallelism, pytorch
- **Topics:** LLM training infrastructure, long-context training
- **Added:** 2026-09-29
- **Verified:** 2026-09-29
- **Research status:** done
- **Page:** https://papers.projxon.ai/entries/781
- **Duplicate of:** https://papers.projxon.ai/entries/733

## Summary

PyTorch-based framework for long-context LLM pre-training. Supports dense, MoE, and MoVA transformer architectures; FSDP1/FSDP2, data/model/context parallelism; custom CUDA kernels, fused blocks, recomputation, and FlashAttention backends (with H200 benchmarks for K2 Horizon and Llama 3 8B). Includes an online data pipeline (parallel tokenization, async preparation, buffered shuffle, bestfit packing), checkpoint/resume, evaluation, and Hugging Face export + vLLM serving via xBridges.

## Research notes

- Discovery: open-sourced by Xuezhe "Max" Ma (@MaxMa1987, Research Lead @ USC ISI / Asst. Prof. @ USC CS; PhD CMU) on 2026-09-28, quoting an @IFM_AI post on LLM pre-training/fine-tuning rework costs: https://x.com/MaxMa1987/status/2104650088610156753
- Method: distributed training infra.
- Apache 2.0.
- Created 2026-09-02; 81 stars at research time.
- Core contributors: @desai_Fan, @Chufan_Shi, @Shicheng_Wen, @_adharshbabu_, @BowenTan8, @IFM_AI, @USC_ISI.

## Similar entries

- [xattn](https://papers.projxon.ai/entries/782) (code, #782)
- [Let's (not) just put things in Context: Test-Time Training for Long-Context LLMs](https://papers.projxon.ai/entries/533) (paper, #533)
- [LongHarness Bench: Stress-Testing Language Model Harnesses for Long-Context Reasoning](https://papers.projxon.ai/entries/821) (paper, #821)
- [xLLM: Light-weight infrastructure for express LLM pre-training](https://papers.projxon.ai/entries/733) (code, #733)
- [Triadic Linear Attention: Three-Dimensional Recurrent States for Long-Context Sequence Modeling](https://papers.projxon.ai/entries/1244) (paper, #1244)
- [MoBA: Mixture of Block Attention for Long-Context LLMs](https://papers.projxon.ai/entries/707) (paper, #707)
