awesome-repositories.com
Blog
MCP
awesome-repositories.com

Discover the best open-source repositories with AI-powered search.

ExploreCurated searchesOpen-source alternativesSelf-hosted softwareBlogSitemap
ProjectMCP serverAboutHow we rankPress
LegalPrivacyTerms
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
NVIDIA avatar

NVIDIA/Megatron-LM

0
View on GitHub↗
16,731 stars·4,091 forks·Python·43 viewsdocs.nvidia.com/megatron-core/developer-guide/latest/get-started/quickstart.html↗

Megatron LM

Megatron-LM is a distributed transformer training library and large language model training framework designed to scale models across thousands of GPUs. It functions as a GPU-optimized deep learning toolkit and a scaling engine for mixture-of-experts architectures, enabling the training of models with hundreds of billions of parameters.

The project implements multi-dimensional model parallelism, combining tensor, pipeline, data, expert, and context-based workload distribution. It specifically optimizes mixture-of-experts architectures through integrated memory and communication improvements to handle massive parameter counts.

The framework covers a broad capability surface including high-performance model convergence, hybrid architecture composition, and training state management. It utilizes mixed-precision training with formats such as FP8 and BF16, and provides utilities for converting model weights between different framework formats for interoperability.

Features

  • Distributed Training - Provides a framework for running large-scale language model training using GPU-optimized building blocks and pre-configured scripts.
  • Scaling Engines - Implements a specialized scaling engine to train mixture-of-experts models with hundreds of billions of parameters across thousands of GPUs.
  • Communication-Computation Overlap - Hides synchronization delays by overlapping gradient reduction and parameter gathering with active computation.
  • Deep Learning Toolkits - Provides a GPU-optimized toolkit for accelerating model convergence and throughput using low-precision formats.
  • Distributed GPU Computing - Manages complex tensor, pipeline, and data parallelism strategies to maximize hardware utilization.
  • Expert Parallelism Configurations - Distributes different specialists in a mixture-of-experts architecture across GPUs to handle massive parameter counts.
  • Pipeline Stage Sharding - Divides model layers into sequential stages across different GPUs to process batches of data simultaneously.
  • Large-Scale Model Training - Distributes the training of massive language models across thousands of GPUs to handle billions of parameters.
  • Large Scale Training - Distributes transformer training across thousands of GPUs to handle models with hundreds of billions of parameters.
  • Mixed Precision Training - Uses varying numerical formats like FP8 or BF16 to reduce memory footprint and accelerate compute throughput.
  • Scaling Optimizations - Scales MoE architectures using specialized memory and communication improvements for high parameter counts.
  • Training Optimizations - Scales mixture-of-experts architectures using integrated memory, communication, and computation improvements.
  • Large Language Model Training Frameworks - Provides a framework for training massive transformer models across GPU clusters using advanced distributed parallelism.
  • Sequence Parallelism Frameworks - Divides long input sequences across multiple GPUs to manage memory constraints while maintaining causal attention dependencies.
  • Tensor Parallelism - Splits large model weight matrices across multiple GPUs to compute partial results in parallel.
  • Parallelism Integrators - Combines tensor, pipeline, data, expert, and context parallelism to distribute workloads across GPU clusters.
  • Hybrid Layer Compositions - Enables the composition of diverse model structures, such as transformer and Mamba layers, into a unified network.
  • Model Training Optimizers - Integrates advanced optimization algorithms to accelerate model convergence and reduce compute resources.
  • Adaptive Context Parallelism - Increases training throughput for variable length sequences by adaptively sizing the context parallelism.
  • Training Checkpointing - Provides a system for saving and restoring training progress through a fault-tolerant pipeline.
  • Training Convergence Optimization - Applies advanced optimization algorithms and precision formats to reduce the time and compute required for convergence.
  • Communication Overlap Strategies - Implements communication-computation overlap to hide network latency during gradient synchronization and parameter updates.
  • Fault Tolerance - Saves periodic snapshots of the optimizer and model weights to allow training to resume from the last stable state.
  • Distributed Parallelism - Framework for model, tensor, and context parallelism.
  • Frontier Reasoning Models - Efficient reasoning model framework.
  • Language Model Development - Optimized library for training large-scale language models.
  • Language Model Libraries - Framework for training multi-billion parameter models using model parallelism.
  • Large Language Models - Research-focused transformer training at scale.
  • Model Training - Research-focused framework for training transformer models at scale.
  • Model Training Frameworks - Research-focused library for training transformers at scale.
  • Transformer Implementations - Research framework for training large-scale transformer language models.
  • Vision Language Models - Frontier-class multimodal models with flexible architectural configurations.

Star history

Star history chart for nvidia/megatron-lmStar history chart for nvidia/megatron-lm

How this analysis was created: This summary and feature list are AI-generated from collected project material and can contain mistakes. Stars, license and language are imported from GitHub. Inclusion does not mean that we have tested or audited this project. Check the source documentation for any feature you depend on. Learn more on our About page.

AI search

Explore more awesome repositories

Describe what you need in plain English — the AI ranks thousands of curated open-source projects by relevance.

Start searching with AI

Projects sharing features with Megatron LM

These projects share indexed features with Megatron LM. Shared tags can include platform or build tooling; verify the primary use case before treating a result as a replacement.
  • microsoft/deepspeedmicrosoft avatar

    microsoft/DeepSpeed

    42,533View on GitHub↗

    DeepSpeed is a distributed deep learning optimization library and framework designed for the training and inference of massive AI models. It serves as a model parallelism orchestrator and a toolkit for scaling large language models across multiple GPUs and compute nodes. The project distinguishes itself through 3D parallelism orchestration, which combines data, pipeline, and tensor parallelism. It utilizes ZeRO-based memory partitioning to eliminate redundant storage and employs CPU-offload memory management to move weights and optimizer states to system RAM. Additionally, it provides special

    Python
    View on GitHub↗42,533
  • nvidia/nemoNVIDIA avatar

    NVIDIA/NeMo

    17,394View on GitHub↗

    NeMo is a multimodal AI framework and toolkit designed for the development, training, and scaling of large language models, generative AI systems, and speech-based models. It functions as an automatic speech recognition toolkit, a text-to-speech engine, and a framework for building models that process and generate combinations of text, image, and audio data. The project serves as a conversational AI orchestrator capable of managing real-time, interruptible voice interactions. It provides specialized workflows for speech translation, converting spoken audio from one language into text or speec

    Python
    View on GitHub↗17,394
  • zhaochenyang20/awesome-ml-sys-tutorialzhaochenyang20 avatar

    zhaochenyang20/Awesome-ML-SYS-Tutorial

    5,371View on GitHub↗

    This project provides a comprehensive technical guide and framework for engineering large-scale machine learning systems. It covers the full lifecycle of model development, focusing on the infrastructure and computational principles required to build, train, and serve generative AI models across distributed GPU clusters. The repository distinguishes itself by offering deep-dive tutorials and implementation strategies for complex system challenges. It emphasizes high-performance architectural primitives, such as collective communication orchestration, distributed tensor sharding, and static gr

    Python
    View on GitHub↗5,371
  • eleutherai/gpt-neoxEleutherAI avatar

    EleutherAI/gpt-neox

    7,392View on GitHub↗

    gpt-neox is a distributed training system and framework for building large-scale autoregressive language models. It implements the transformer architecture and provides a toolkit for training models with billions of parameters by distributing weights across compute clusters. The framework distinguishes itself through extensive support for distributed model parallelism, including pipeline and sequence parallelism, to overcome single-device memory limits. It further supports sparse model architectures using a mixture of experts system with Sinkhorn-based routing. The project covers a broad ran

    Pythondeepspeed-librarygpt-3language-model
    View on GitHub↗7,392
Compare all 30 related projects→

Frequently asked questions

What does nvidia/megatron-lm do?

Megatron-LM is a distributed transformer training library and large language model training framework designed to scale models across thousands of GPUs. It functions as a GPU-optimized deep learning toolkit and a scaling engine for mixture-of-experts architectures, enabling the training of models with hundreds of billions of parameters.

What are the main features of nvidia/megatron-lm?

The main features of nvidia/megatron-lm are: Distributed Training, Scaling Engines, Communication-Computation Overlap, Deep Learning Toolkits, Distributed GPU Computing, Expert Parallelism Configurations, Pipeline Stage Sharding, Large-Scale Model Training.

Which projects share features with nvidia/megatron-lm?

Projects with overlapping indexed features include: microsoft/deepspeed — DeepSpeed is a distributed deep learning optimization library and framework designed for the training and inference of… nvidia/nemo — NeMo is a multimodal AI framework and toolkit designed for the development, training, and scaling of large language… zhaochenyang20/awesome-ml-sys-tutorial — This project provides a comprehensive technical guide and framework for engineering large-scale machine learning… eleutherai/gpt-neox — gpt-neox is a distributed training system and framework for building large-scale autoregressive language models. It… volcengine/verl — verl is a distributed training system designed for large language model alignment and reinforcement learning. It… internlm/xtuner — xtuner is a comprehensive training engine for large language models, offering a toolkit for pre-training, supervised…