NVIDIA-NeMo/Megatron-Bridge
Training library for Megatron-based models with bidirectional Hugging Face conversion capability
Build with Backblaze B2
SDKs, agent skills, IDE extensions, and reference pipelines from Backblaze Labs. All open source.
Loading star history...
Where it stands
Rank, growth pace and release cadence relative to everything GStars tracks.
4 releases in the last 90 days, the latest 19 days ago, with 213 contributors on GitHub.
Gained 40% fewer stars in the last 90 days than in the 90 days before.
Use Cases & Benefits
- Provides a PyTorch-native training library enabling bidirectional checkpoint conversion between Hugging Face and Megatron Core formats for large language and vision models.
- Enables seamless interoperability and efficient parallel training with built-in verification, supporting advanced mixed precision and model parallelism for scalable performance.
- Use for converting and verifying checkpoints between Hugging Face and Megatron formats to leverage Megatron Core's parallelism in custom training workflows.
- Use for pretraining and fine-tuning Megatron-based large models with support for tensor and pipeline parallelism and parameter-efficient finetuning methods like LoRA.
- Use for developing and deploying state-of-the-art LLM and VLM models with optimized training recipes and scalable distributed training on multi-GPU or multi-node clusters.
Should you depend on it?
License terms, project hygiene and risks, from GitHub metadata and GStars' snapshots.
License
Apache 2.0
Permissive: commercial use, modification and redistribution are allowed with attribution; includes an explicit patent grant from contributors.
Community files
- README: present
- Contributing guide: present
Watch-outs
No watch-outs from GStars' checks.
General guidance from repository metadata, not legal advice. How we score
From the README
NeMo Megatron Bridge is a PyTorch-native library within the NeMo Framework that provides pretraining, SFT and LoRA for popular LLM and VLM models. It serves as a powerful bridge, conversion, and verification layer between 🤗 Hugging Face and Megatron Core. It provides bidirectional checkpoint conversion between these formats, enabling other projects to leverage Megatron Core's parallelism capabilities or export models for various inference engines. The bridge includes built-in verification mechanisms to ensure conversion accuracy and checkpoint integrity across different model formats.
On top of the bridge, NeMo Megatron Bridge provides a performant and scalable PyTorch-native training loop that leverages Megatron Core to deliver state-of-the-art training throughput. It supports pretraining and fine-tuning with features like tensor and pipeline parallelism, and mixed precision (FP8, BF16, FP4, etc.). Users can either use existing 🤗 Hugging Face models or define custom PyTorch model definitions for flexible end-to-end workflows.
NeMo Megatron Bridge is a refactor of the previous NeMo training stack that adopts a PyTorch-native training loop to provide greater flexibility and customizability for developers.
Daily snapshots
Stars gained per day, and how forks and open issues moved, from GStars' daily snapshots
Forks
562+136
Open issues
496+119
Compared with peers in Machine Learning
Fastest-growing repositories GStars tracks in this cohort for the week of Nov 1, by 7-day star growth
| Repository | Stars | +7d | Health | Last release |
|---|---|---|---|---|
| photoprism/photoprism | 40.4K | — | 65 | 1 day ago |
| huggingface/diffusers | 34.8K | — | 65 | 3 days ago |
| onnx/onnx | 21.6K | — | 63 | 31 days ago |
| lukas-blecher/LaTeX-OCR | 16.6K | — | 18 | — |
| milesial/Pytorch-UNet | 11.7K | — | 18 | — |
| NVIDIA-NeMo/Megatron-Bridge | 970 | — | 59 | 19 days ago |
| Category median | 21.6K | — | 63 | — |
Also by NVIDIA-NeMo
Other repositories from this maintainer that GStars tracks
- Python18.7K stars
Speech
A scalable generative AI framework built for researchers and developers working on Large Language Models, Multimodal, and Speech AI (Automatic Speech Recognition and Text-to-Speech)
- Rust3.5K stars
Switchyard
Switchyard lets LLM applications route traffic across models and providers while preserving native OpenAI and Anthropic API compatibility - enabling flexible model selection, benchmarking, and cost/performance optimization.
- Python2.4K stars
DataDesigner
🎨 NeMo Data Designer: Generate high-quality synthetic data from scratch or from seed data.
- Python2.1K stars
RL
Scalable toolkit for efficient model reinforcement
- Python1.3K stars
Gym
Evaluate and improve models and agents using environments
Discover Repositories
Search across tracked repositories by name or description