Enterprise DNA Enterprise DNA
Directories / Alternatives / Megatron-LM

Open Source Alternatives

Open source alternatives to Megatron-LM

Open source alternatives to Megatron-LM, ranked by GitHub stars and freshness.

9 open-source alternatives in the index, ranked by GitHub stars and freshness.

O OSS Framework medium

DeepSpeed

Community

DeepSpeed is a deep learning optimization library that makes distributed training and inference easy, efficient, and effective.

Alternative to Megatron Lm, Colossal Ai

★ 42,436 updated 3mo ago
open-source Apache-2.0 Python

Best for: Teams training large models who need to maximize GPU efficiency and scale across multiple devices.

O OSS Framework medium

Colossal-AI

Community

Making large AI models cheaper, faster and more accessible

Alternative to Deepspeed, Megatron Lm

★ 41,382 updated 3mo ago
open-source Apache-2.0 Python

Best for: Teams training large models who have access to multiple GPUs and need to optimize resource efficiency

O OSS Framework medium

NeMo Framework

Community

A scalable generative AI framework built for researchers and developers working on Large Language Models, Multimodal, and Speech AI (Automatic Speech Recognition and Text-to-Speech

Alternative to Megatron Lm, Deepspeed

★ 17,285 updated 3mo ago
open-source Apache-2.0 Python

Best for: Researchers and ML engineers building custom LLMs, speech systems, or multimodal models who need low-level control and scalability.

O OSS Framework medium

torchtitan

Community

A PyTorch native platform for training generative AI models

Alternative to Deepspeed, Megatron Lm

★ 5,394 updated 3mo ago
open-source BSD-3-Clause Python

Best for: Teams using PyTorch to train custom generative AI models at scale

O OSS Framework medium

nanotron

Community

Minimalistic large language model 3D-parallelism training

Alternative to Deepspeed, Colossal Ai, Megatron Lm

★ 2,705 updated 3mo ago
open-source Apache-2.0 Python

Best for: Researchers and engineers who need a simple, hackable framework for distributed LLM training experiments.

O OSS Framework medium

maxtext

Community

A simple, performant and scalable Jax LLM!

Alternative to Megatron Lm, Deepspeed, Colossal Ai

★ 2,303 updated 3mo ago
open-source Apache-2.0 Python

Best for: Developers already using Jax who need a streamlined, scalable LLM training framework

O OSS Framework medium

Megatron-DeepSpeed

Community

Ongoing research training transformer language models at scale, including: BERT & GPT-2

Alternative to Megatron Lm, Colossal Ai

★ 2,252 updated 1y ago
open-source Python

Best for: Researchers and engineers training large-scale transformer models in distributed environments

O OSS Framework medium

Mesh Tensorflow

Community

Mesh TensorFlow: Model Parallelism Made Easier

Alternative to Deepspeed, Megatron Lm, Colossal Ai

★ 1,625 updated 2y ago
open-source Apache-2.0 Python

Best for: Developers training large transformer models on TPU or GPU clusters

O OSS Framework medium

BMTrain

Community

Efficient Training (including pre-training and fine-tuning) for Big Models

Alternative to Deepspeed, Colossal Ai, Megatron Lm

★ 624 updated 4mo ago
open-source Apache-2.0 Python

Best for: Developers and researchers training or fine-tuning large models who need a specialized, efficiency-focused Python framework