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

scikit-learn

Python toolkit for classical machine learning

scikit-learn provides algorithms and utilities for classification, regression, clustering, and model selection in Python. It builds on NumPy and SciPy.

  • Classification and regression estimators
  • Clustering and dimensionality reduction
  • Model selection and cross-validation
PythonDetails →
★ 68.5k⟳ todayBSD-3-Clause

whisper.cpp

Portable C/C++ inference for Whisper speech recognition

Whisper.cpp runs OpenAI Whisper ASR with a dependency-light C/C++ core and CLI tools. It targets CPUs and many GPU and NPU accelerators across common operating systems.

  • Plain C/C++ Whisper implementation
  • Integer quantization for smaller models
  • Metal, CUDA, Vulkan, and OpenVINO backends
C++DockerDetails →
★ 55.9k⟳ 3 days agoMIT

AirLLM

Layer-streaming inference for huge models on small GPUs

AirLLM loads one transformer layer at a time so very large language models can infer or fine-tune on GPUs with only a few gigabytes of VRAM.

  • Single-layer GPU residency
  • AutoModel for many HF architectures
  • Optional 4-bit or 8-bit compression
Jupyter NotebookDetails →
★ 43.9k⟳ todayApache-2.0

DeepSpeed

PyTorch distributed training and inference optimizations

DeepSpeed is a Python library that speeds large-model training and inference with ZeRO memory optimizations, parallelism modes, and MoE support. Install via pip with JIT-built CUDA ops.

  • ZeRO and ZeRO-Infinity memory sharding
  • 3D and tensor parallelism options
  • Mixture-of-experts training support
PythonWindowsDetails →
★ 43.4k⟳ yesterdayApache-2.0

Faiss

Library for dense vector similarity search and clustering

Indexes and searches large sets of embedding vectors with CPU or GPU backends. Python and C++ APIs support exact and approximate nearest-neighbor methods.

  • Dense vector indexes
  • L2 and inner product search
  • Approximate and exact methods
C++Details →
★ 42k⟳ todayMIT
Open Source Alternative to:Pinecone

Colossal-AI

Distributed deep learning parallelization toolkit

Colossal-AI is a PyTorch-oriented toolkit for training and inferencing large models with data, pipeline, and tensor parallelism. It targets cheaper, faster large-scale AI on clusters or single GPUs.

  • Data pipeline tensor parallelism
  • Heterogeneous memory manager
  • Config-file driven parallelism
PythonLinux, CLIDetails →
★ 41.4k⟳ 2 days agoApache-2.0