qmetrics.net

Megatron LM

GPU-optimized large transformer model training stack

Megatron LM screenshot

Megatron-LM and Megatron Core provide GPU-oriented building blocks and scripts for training transformer models at scale. They target research experimentation and custom large-model training frameworks.

Overview

Megatron-LM bundles Megatron Core with ready-made training scripts for teams that want an opinionated starting point for distributed transformer training. Megatron Core itself is a composable library of GPU-optimized modules, parallelism strategies, mixed-precision paths, and model architectures for engineers embedding training into their own stacks.

Megatron Core documents tensor, pipeline, data, expert, and context parallelism, along with precisions such as FP16, BF16, FP8, and FP4. Megatron Bridge is referenced for bidirectional checkpoint conversion between Hugging Face and Megatron formats. Install paths include PyPI packages or source builds, with NGC container images noted for NVIDIA environments.

Documentation walks through minimal multi-GPU sanity loops, larger example jobs such as LLaMA-scale training scripts, and preprocessing pipelines that tokenize JSONL into binary training shards. Performance summaries publish throughput figures for named models on NVIDIA systems under stated benchmark conditions.

The work is research and infrastructure oriented rather than an end-user application: you bring datasets, cluster hardware, and orchestration, then use Megatron APIs and scripts to run training and scaling experiments.

Key features

  • Megatron Core composable training modules
  • Megatron-LM reference training scripts
  • TP, PP, DP, EP, and CP parallelism
  • Mixed FP16, BF16, FP8, FP4 training
  • Hugging Face checkpoint bridge tooling
  • LLaMA-style example training scripts
  • JSONL to binary data preprocessing
  • Published GPU throughput benchmarks

Use cases

  • Research teams learning distributed LLM training
  • Custom frameworks built on Megatron Core
  • Large transformer pretraining on NVIDIA GPUs
  • Converting checkpoints with Megatron Bridge
  • Validating multi-GPU training environments

Tags

Similar software

TensorFlow

End-to-end machine learning platform and tooling ecosystem

TensorFlow is a machine learning platform with Python and C++ APIs, optional GPU packages, and companion libraries for data, training, deployment, and visualization.

★ 201.8k⟳ todayApache-2.0

Transformers

Shared model definitions for multimodal ML workloads

Transformers is a Python library that defines pretrained text, vision, audio, and multimodal models once in PyTorch for shared inference and training across the ecosystem.

★ 169.4k⟳ todayApache-2.0

RAGFlow

Open-source RAG engine and agent context platform

RAGFlow ingests heterogeneous documents, builds retrievable knowledge, and supports agent workflows with citations. It can run on your own hardware with Docker or a from-source server stack.

★ 94.8k⟳ todayApache-2.0

Headroom

Local LLM context compression library and proxy

Headroom shrinks tool outputs, logs, JSON, and chat history before LLM calls to cut input tokens while preserving retrievable originals. It offers a Python library, proxy, MCP tools, and agent wrappers.

★ 81k⟳ yesterdayApache-2.0

Unsloth

Local desktop workspace to run and fine-tune AI models

Unsloth is a desktop application to chat with, fine-tune, and serve LLMs, diffusion, audio, and embedding models on your own hardware with optional agent integrations.

★ 80.4k⟳ todayApache-2.0

Models

TensorFlow reference models and modeling utilities collection

The TensorFlow Model Garden hosts implementations of models and modeling solutions for TensorFlow, installable via pip as tf-models-official.

★ 77.6k⟳ 11 days agoApache-2.0