NVIDIA/Megatron-LM
Train large language models and transformer architectures at scale.
- 19kstars
- 4.8kforks
- 562open issues
- updated today
Megatron-LM star history
+48 this week
About Megatron-LM
Megatron-LM is a free, open-source machine learning tool by NVIDIA, written mainly in Python. Train large language models and transformer architectures at scale. It has 19k GitHub stars and 4.8k forks, and was last updated today. GitHub doesn't detect a standard license, so check the repository before using it commercially.
Similar free tools
transformers170k stars · Provides state-of-the-art machine learning models for text, vision, audio, and multimodal tasks.
LlamaFactory76k stars · Unified platform for fine-tuning 100+ large language models with CLI and Web UI.
pytorch-lightning31k stars · Scales AI model training across GPUs with minimal code changes.
unilm22k stars · Research and development of large-scale pre-trained models for NLP, vision, speech, and multimodal tasks.
pytorch-image-models37k stars · A collection of PyTorch image models for training and inference.
timesfm36k stars · Time-series forecasting model for multivariate and univariate data.
Discussions
Megatron-LM FAQ
Can I use Megatron-LM commercially?
Unclear. No license was detected, which legally means all rights are reserved. Ask the author before using it commercially. This is a plain-English summary, not legal advice.
Is Megatron-LM free?
Yes. Megatron-LM is open source and free to use. GitHub doesn't detect a standard license, so check the repository before using it commercially.
Does Megatron-LM run on a Mac?
The project doesn't say. Check its installation guide before you start.
Does Megatron-LM need a GPU?
The project doesn't state hardware needs. AI models generally run much faster with a GPU.
Is Megatron-LM still maintained?
Yes. It was last updated today and has 562 open issues on GitHub.
How hard is Megatron-LM to set up?
Medium: typically about 30 min, using pip. The project's install command is: uv pip install megatron-core
What are alternatives to Megatron-LM?
Similar free, open-source tools include transformers, LlamaFactory, pytorch-lightning, unilm.
Related topics
Maintain Megatron-LM? Add a FreeAIRepo badge to your README
[](https://www.freeairepo.com/repo/NVIDIA/Megatron-LM)