The PyTorch engine room powering AllenAI’s OLMo models
This is the PyTorch library and official training scripts AllenAI uses to build its open OLMo language models.

What it does
OLMo-core provides the PyTorch components and official training scripts behind the OLMo family of open language models. It bundles configurable launchers for 7B and 32B parameter models alongside integrations for high-performance attention backends, low-memory optimizers, and float8 training. The library also supports inference through standard channels like Hugging Face Transformers and vLLM, plus a native beta generator for interactive chat.
The interesting bit
Rather than a black-box trainer, it ships the exact distributed training scripts and model cards used to produce released checkpoints, letting anyone reproduce or fork AllenAI’s pipeline. Advanced kernels—Flash Attention variants, Liger fused loss, and dropless MoE via grouped GEMM—are treated as swappable optional dependencies, so you only compile what you need.
Key highlights
- Official training scripts and model cards for OLMo-2 32B and OLMo-3 7B/32B models.
- Pluggable attention backends including Flash Attention, ring-flash-attention, and TransformerEngine.
- Optional support for float8 training via
torchao, low-memory fused loss viaLiger-Kernel, and dropless MoE viagrouped_gemm. - Inference support through Hugging Face Transformers, vLLM, and a native autoregressive generator (beta).
- Pre-built Docker images tested on H100 clusters, though they ship dependencies only, not the library itself.
Caveats
- The pre-built Docker images do not include the OLMo-core package installed, and the README warns they may fail on clusters with different hardware or CUDA/driver versions.
- Native autoregressive generation is explicitly marked beta.
- Some optional features, such as dropless MoE support, currently require compiling dependencies from source.
Verdict
Researchers and engineers who want to reproduce or extend AllenAI’s open LLM training pipeline will find this essential; developers looking for a simple, batteries-included model API should probably stick to the Hugging Face or vLLM inference paths.
Frequently asked
- What is allenai/OLMo-core?
- This is the PyTorch library and official training scripts AllenAI uses to build its open OLMo language models.
- Is OLMo-core open source?
- Yes — allenai/OLMo-core is open source, released under the Apache-2.0 license.
- What language is OLMo-core written in?
- allenai/OLMo-core is primarily written in Python.
- How popular is OLMo-core?
- allenai/OLMo-core has 1.4k stars on GitHub.
- Where can I find OLMo-core?
- allenai/OLMo-core is on GitHub at https://github.com/allenai/OLMo-core.