awesome-repositories.com
博客
MCP
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
NVIDIA avatar

NVIDIA/Megatron-LM

0
View on GitHub↗
16,731 星标·4,091 分支·Python·17 次浏览docs.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 历史

nvidia/megatron-lm 的 Star 历史图表nvidia/megatron-lm 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

常见问题解答

nvidia/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.

nvidia/megatron-lm 的主要功能有哪些?

nvidia/megatron-lm 的主要功能包括:Distributed Training, Scaling Engines, Communication-Computation Overlap, Deep Learning Toolkits, Distributed GPU Computing, Expert Parallelism Configurations, Pipeline Stage Sharding, Large-Scale Model Training。

nvidia/megatron-lm 有哪些开源替代品?

nvidia/megatron-lm 的开源替代品包括: 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…

Megatron LM 的开源替代方案

相似的开源项目,按与 Megatron LM 的功能重合度排序。
  • microsoft/deepspeedmicrosoft 的头像

    microsoft/DeepSpeed

    42,533在 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
    在 GitHub 上查看↗42,533
  • nvidia/nemoNVIDIA 的头像

    NVIDIA/NeMo

    17,394在 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
    在 GitHub 上查看↗17,394
  • zhaochenyang20/awesome-ml-sys-tutorialzhaochenyang20 的头像

    zhaochenyang20/Awesome-ML-SYS-Tutorial

    5,371在 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
    在 GitHub 上查看↗5,371
  • eleutherai/gpt-neoxEleutherAI 的头像

    EleutherAI/gpt-neox

    7,392在 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
    在 GitHub 上查看↗7,392
  • 查看 Megatron LM 的所有 30 个替代方案→