EveryDev.ai
Subscribe
Home
Tools

5,253+ AI tools

  • Featured
  • Gems
  • Trending
  • New
  • Rate tools
  • Compare
  • Arena
Categories
  • Agents2684
  • Coding1981
  • Infrastructure928
  • Projects739
  • Research658
  • MCP642
  • Analytics511
  • Marketing500
  • Design431
  • Testing425
  • Data384
  • Security345
  • Integration266
  • Communication253
  • Prompts252
  • Extensions225
  • DevOps175
  • Voice175
  • Commerce172
  • Web124
  • Learning114
  • Finance37
AI Tools by Topic
  • AI Coding Assistants
  • Agent Frameworks
  • MCP Servers
  • AI Prompt Tools
  • Vibe Coding Tools
  • AI Design Tools
  • AI Database Tools
  • AI Website Builders
  • AI Testing Tools
  • LLM Evaluations
Follow Us
  • X / Twitter
  • LinkedIn
  • Reddit
  • Discord
  • Threads
  • Bluesky
  • Mastodon
  • YouTube
  • GitHub
  • Instagram
Get Started
  • Users
  • Rate Tools
  • About
  • Editorial Standards
  • Corrections & Disclosures
  • Community Guidelines
  • Advertise
  • Contact Us
  • Newsletter
  • Submit a Tool
  • Start a Discussion
  • Write A Blog
  • Share A Build
  • Terms of Service
  • Privacy Policy
Explore with AI
  • ChatGPT
  • Gemini
  • Claude
  • Grok
  • Perplexity
Agent Experience
  • llms.txt
Theme
With AI, Everyone is a Dev. EveryDev.ai ©
    1. Home
    2. Tools
    3. Megatron-LM
    Megatron-LM icon

    Megatron-LM

    AI Infrastructure
    Featured

    NVIDIA's GPU-optimized library and reference scripts for training transformer models at scale with advanced parallelism.

    Visit Website

    At a Glance

    Pricing
    Open Source

    Self-hosted Megatron-LM and Megatron Core library, free to install and use under the repository's permissive license (BSD-style LICENSE file; README badge shows Apache). Third-party files carry their own notices.

    Engagement

    Available On

    Windows
    Linux
    Web
    API
    SDK

    Resources

    WebsiteDocsGitHubllms.txt

    Topics

    AI InfrastructureAI Development LibrariesModel Management

    Alternatives

    DiffusionBlocksColossal-AICortex Robot
    Developer
    NVIDIASanta ClaraEst. 1993

    Listed Oct 2026

    About Megatron-LM

    Megatron-LM is NVIDIA's repository for training transformer models at scale. It contains two components: Megatron-LM, a reference example with pre-configured training scripts, and Megatron Core, a composable library of GPU-optimized building blocks. The latest documented docs version is 0.19.0, and the repository lists a core_v0.19.2 release.

    What It Is

    Megatron Core provides transformer building blocks, parallelism strategies (tensor, pipeline, data, expert, and context parallelism), mixed precision support (FP16, BF16, FP8, FP4), and model architectures. The README positions it for framework developers and ML engineers building custom training pipelines, while the Megatron-LM reference scripts target research teams, learning distributed training, and quick experimentation.

    Training Workflow

    After installing from PyPI (megatron-core) or from source, the quickstart first runs a minimal distributed loop with mock data on two GPUs to validate the environment. It then runs a LLaMA-3 8B training script with FP8 mixed precision on eight GPUs. To train on custom data, users prepare a JSONL file with a text field and run tools/preprocess_data.py to tokenize it into .bin and .idx binary files.

    Advanced Capabilities

    The documentation covers Mixture of Experts, multi-token prediction, multi-latent attention, context parallelism, Megatron-FSDP, a distributed optimizer, optimizer CPU offload, activation offloading, distributed checkpointing, inference engines, quantization, and reinforcement learning. Supported models include language and multimodal models. Megatron Bridge, a separate project, converts checkpoints between Hugging Face and Megatron formats.

    Performance Claims

    The README states the codebase trains models from 2B to 462B parameters across thousands of GPUs, reaching up to 47% Model FLOP Utilization on H100 clusters, measured without training to convergence.

    Megatron-LM - 1

    Community Discussions

    Be the first to start a conversation about Megatron-LM

    Share your experience with Megatron-LM, ask questions, or help others learn from your insights.

    Pricing

    OPEN SOURCE

    Open Source

    Self-hosted Megatron-LM and Megatron Core library, free to install and use under the repository's permissive license (BSD-style LICENSE file; README badge shows Apache). Third-party files carry their own notices.

    • Install from PyPI: megatron-core
    • Clone and install from source
    • Megatron Core composable GPU-optimized building blocks
    • Parallelism strategies: TP, PP, DP, EP, CP
    • Mixed precision: FP16, BF16, FP8, FP4

    Capabilities

    Key Features

    • Tensor, pipeline, data, expert, and context parallelism
    • Mixed precision training (FP16, BF16, FP8, FP4)
    • Mixture of Experts support
    • Megatron-FSDP and distributed optimizer
    • Distributed checkpointing
    • Data preprocessing to binary .bin/.idx format
    • Inference engines and TensorRT-LLM export
    • Post-training (quantization, distillation, pruning) and RL
    • Pre-configured training scripts such as LLaMA-3 8B

    Integrations

    Hugging Face
    Megatron Bridge
    TensorRT-LLM
    Transformer Engine
    NVIDIA GPU Cloud (NGC)
    PyTorch
    API Available
    View Docs

    Ratings & Reviews

    No ratings yet

    Be the first to rate Megatron-LM and help others make informed decisions.

    Rate other tools you’ve used

    Developer

    NVIDIA

    NVIDIA builds the computing platform powering modern AI, from data center GPUs and networking to developer SDKs and open-source tooling. The company develops hardware, software, and frameworks that accelerate AI training, inference, and deployment at every scale. NVIDIA's open-source projects — including OpenShell — extend its platform into agent runtimes, safety tooling, and developer workflows. With deep roots in GPU architecture and a growing focus on AI infrastructure, NVIDIA ships tools used by researchers, enterprises, and individual developers worldwide.

    Founded 1993
    2788 San Tomas Expressway
    42,000 employees

    Used by

    Amazon Web Services
    Google Cloud
    Microsoft Azure
    Oracle Cloud Infrastructure
    +5 more
    Read more about NVIDIA
    WebsiteGitHubLinkedInX / Twitter
    15 tools in directory

    Similar Tools

    DiffusionBlocks icon

    DiffusionBlocks

    A principled framework for block-wise neural network training via diffusion interpretation, reducing memory requirements proportionally while maintaining competitive performance across transformer architectures.

    Colossal-AI icon

    Colossal-AI

    An open-source distributed deep learning framework that maximizes runtime performance for large neural networks using advanced parallelism techniques.

    Cortex Robot icon

    Cortex Robot

    Building diverse real-world egocentric and robot datasets to accelerate physical intelligence and embodied AI development.

    Browse all tools

    Related Topics

    AI Infrastructure

    Infrastructure designed for deploying and running AI models.

    530 tools

    AI Development Libraries

    Programming libraries and frameworks that provide machine learning capabilities, model integration, and AI functionality for developers.

    494 tools

    Model Management

    Tools for managing, versioning, and deploying AI models.

    115 tools
    Browse all topics
    Back to all toolsSuggest an edit
    ratings
    discussions
    1view