United StatesNVIDIA/Megatron-LM
Ongoing research training transformer models at scale
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository Của Tuần
#1 Repository Của Tuần
#2 Repository Của Tuần
🚀 Scaling Transformers on GPUs with NVIDIA Megatron-LM
NVIDIA's Megatron-LM provides GPU-optimized tools for training large transformer models efficiently at scale.
This repository contains two components: Megatron-LM and Megatron Core. Megatron-LM serves as a reference example with pre-configured training scripts, ideal for research teams and quick experimentation. Megatron Core is a composable library offering GPU-optimized building blocks for custom training frameworks, including transformer modules, advanced parallelism strategies, and mixed precision support.
✨ Highlights
- Composable library: Megatron Core provides modular building blocks for custom training pipelines.
- Advanced parallelism: Supports TP, PP, DP, EP, and CP for scaling across GPUs.
- Mixed precision: Includes FP16, BF16, FP8, and FP4 support for efficient training.
- Transformer building blocks: Pre-built modules for constructing transformer models.
- Megatron Bridge: Enables bidirectional Hugging Face ↔ Megatron checkpoint conversion with production-ready recipes.
- Reference examples: Megatron-LM includes ready-to-use training scripts for research and learning.
- Open development: Development moved to GitHub in December 2025, welcoming community contributions.
- Latest model support: Includes DeepSeek-V4, Falcon-H1, and GPT-OSS integrations.
💡 Why it matters
Megatron-LM stands out by combining high-performance GPU optimization with flexibility. Unlike monolithic frameworks, it separates core building blocks (Megatron Core) from reference implementations (Megatron-LM), allowing both researchers and framework developers to leverage its capabilities. This modular approach enables efficient scaling of transformer models while maintaining ease of experimentation and customization.
It's particularly valuable for teams training large language models who need robust distributed training capabilities without sacrificing performance. The integration of emerging optimizers, MoE support, and dynamic context parallelism further enhances its appeal for cutting-edge research and production environments.
#MegatronLM #MachineLearning #DeepLearning #NVIDIA #TiniX
Similar Projects
Discover other similar projects and AI models.
all-MiniLM-L6-v2 This is a sentence-transformers(https://www.SBERT.net) model: It maps sentences & paragraphs to a 384 dimensional dense vector space and can be used for tasks like clustering or semantic search. Usage (Sentence-Transformers) Using t...
Langflow is a powerful tool for building and deploying AI-powered agents and workflows.
AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
Reverse engineer anything with agents, from app behavior down to native binaries.
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
A complete computer science study plan to become a software engineer.
An agentic skills framework & software development methodology that works.
Firecrawl is the knowledge infrastructure to make your agents smarter. It connects your agents to the web, and to Alexandria, our library of everything else.
Free domain registration and practical DNS learning resources for everyone.