#3030th of 31 in Training and fine-tuning

gpt-neox

EleutherAI's Megatron/DeepSpeed library for pretraining large language models

Stars
7.5k
License
Apache-2.0
Last commit
Oct 2026
Last release
Mar 2023
Language
Python
Stars, last 29 weeks+113
1 Apr 2026: 7,360 stars8 Apr 2026: 7,367 stars15 Apr 2026: 7,376 stars22 Apr 2026: 7,382 stars29 Apr 2026: 7,384 stars6 May 2026: 7,386 stars13 May 2026: 7,392 stars20 May 2026: 7,395 stars27 May 2026: 7,398 stars3 Jun 2026: 7,402 stars10 Jun 2026: 7,408 stars17 Jun 2026: 7,413 stars24 Jun 2026: 7,416 stars1 Jul 2026: 7,421 stars8 Jul 2026: 7,422 stars15 Jul 2026: 7,423 stars22 Jul 2026: 7,428 stars29 Jul 2026: 7,431 stars5 Aug 2026: 7,434 stars12 Aug 2026: 7,438 stars19 Aug 2026: 7,443 stars26 Aug 2026: 7,448 stars2 Sept 2026: 7,451 stars9 Sept 2026: 7,451 stars16 Sept 2026: 7,455 stars23 Sept 2026: 7,458 stars30 Sept 2026: 7,461 stars7 Oct 2026: 7,467 stars14 Oct 2026: 7,470 stars21 Oct 2026: 7,473 stars

7,360 on 1 Apr 20267,473 on 21 Oct 2026

From GitHub's daily star counts.

Checked on GitHub.

Overview

GPT-NeoX is a training library for autoregressive language models with billions of parameters, built on NVIDIA Megatron and DeepSpeed with ZeRO and 3D parallelism. It launches through Slurm, MPI, pdsh or the IBM Job Step Manager and runs on NVIDIA and AMD GPUs. The README says it targets from-scratch large-scale training and recommends Hugging Face transformers for generic inference.

Who it is for: Teams pretraining billion-parameter LLMs on multi-GPU clusters

Strengths

  • Used by 40+ organizations to train 50+ models, including Pythia and StableLM
  • ZeRO and 3D parallelism, flash attention, Transformer Engine, rotary and ALiBi embeddings
  • Preset configs for Pythia, PaLM, Falcon and LLaMA 1 and 2
  • Exports to Hugging Face; logs to WandB, Comet or TensorBoard

Weaknesses

  • Not meant for small-scale training or generic inference, per the README
  • Depends on DeeperSpeed, a DeepSpeed fork; environment isolation strongly advised
  • Tested on Python 3.8-3.10 and PyTorch 1.8-2.0; other versions not guaranteed
  • Last tagged release is from March 2023

What it needs

  • GPU required
  • Docker + Compose
  • Needs PyTorch, DeeperSpeed, Slurm, MPI or pdsh for multi-node, Flash Attention (optional), Transformer Engine (optional), WandB, Comet or TensorBoard (optional)
  • Models: GPT-NeoX, Pythia, LLaMA 1 and 2, Falcon, PaLM

Also in Training and fine-tuning

See all 31
Also in Training and fine-tuning
RankProjectScore
1unslothDesktop and web app to run, fine-tune and export open models Live demo ↗ (opens in a new tab)78.4k starsApache-2.088 out of 100
2deepspeedPyTorch library for distributed training of large models with ZeRO43.3k starsApache-2.084 out of 100
3verlReinforcement learning training library for LLM post-training with PPO and GRPO24k starsApache-2.084 out of 100
#4peftPython library for LoRA and other parameter-efficient fine-tuning of Transformers models Live demo ↗ (opens in a new tab)21.8k starsApache-2.084 out of 100
#5trlPost-training library with SFT, DPO, GRPO and KTO trainers19.6k starsApache-2.081 out of 100