GPT-NeoX

EleutherAI's library for training large autoregressive language models on GPU clusters.

Open SourceSelf HostedOffline CapableGPU Required
0.0 (0)

About

EleutherAI's GPT-NeoX is the training codebase behind GPT-NeoX-20B, the Pythia suite spanning 70M to 12B parameters, and Polyglot-Ko, which makes it one of the foundational open pretraining frameworks. Built on Megatron and DeepSpeed, it implements tensor, pipeline, and ZeRO parallelism for training autoregressive transformers across GPU clusters, with rotary and ALiBi positional embeddings, flash attention, and mixture-of-experts support layered on top. It runs on NVIDIA systems and AMD MI250X GPUs and launches through Slurm, MPI, or IBM Job Step Manager, reflecting heavy use on academic and national lab supercomputers. Configuration is file-driven through documented neox_arguments, installation is pip install -r requirements/requirements.txt from the repository, and experiment tracking integrates with Weights and Biases, TensorBoard, and Comet ML. Apache-2.0 licensed with about 7.4k GitHub stars, the project remains maintained, most recently adding Transformer Engine integration. Research groups choose it when they need proven large-scale pretraining recipes rather than an inference stack.

Should you use GPT-NeoX?

Pick it when

Pick it when a research group is pretraining a language model from scratch on a Slurm or MPI supercomputer, including AMD MI250X systems, and wants recipes already proven on Pythia and GPT-NeoX-20B.

Look elsewhere when

If you only want to fine-tune an existing Hugging Face model, TRL, Axolotl, or LLaMA-Factory are far easier. For PyTorch-native 4D parallelism and float8 on newer NVIDIA GPUs, torchtitan is the more modern base; on TPUs use MaxText.

Alternatives to GPT-NeoX

  • torchtitan

    PyTorch-native FSDP2, 4D parallelism, and float8 under BSD-3-Clause, but without GPT-NeoX's Pythia-era published recipes.

  • Megatron-LM

    The NVIDIA library GPT-NeoX builds on; use it directly for the newest Megatron Core parallelism, under a custom NVIDIA license.

  • MaxText

    JAX and XLA framework for TPU or GPU pretraining; the choice on Google Cloud TPUs, which GPT-NeoX does not target.

  • LitGPT

    Readable single-file models with pretrain and finetune commands; much easier to start, not built for supercomputer runs.

Reviews (0)

Leave a Review

No reviews yet. Be the first to review!

Details

Price
Free
Platform
Local/Desktop
Difficulty
Advanced (4/5)
License
Apache-2.0
Added
Jul 29, 2026

Tags