training-llms-megatron

Train large language models with Megatron-Core parallelism on GPU clusters.

Updated Mar 18, 2026
One-click install
npx skills add https://github.com/tadod12/fraud-detection-research --skill training-llms-megatron-tadod12
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: training-llms-megatron
Source: https://github.com/tadod12/fraud-detection-research/tree/main/.agent/skills/08-distributed-training/megatron-core
Command: npx skills add https://github.com/tadod12/fraud-detection-research --skill training-llms-megatron-tadod12

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Megatron-Core training enables scalable large-language-model training with advanced parallelism to utilize GPU clusters efficiently.

Core Features & Use Cases

  • 3D parallelism (TP/PP/DP) and Expert Parallel for enormous models
  • FP8/Flash Attention acceleration and Transformer Engine integration for higher MFU
  • Production-grade training recipes and multi-node deployment for LLaMA-Megatron-scale projects

Quick Start

Launch a distributed Megatron-Core training job using your preferred launcher with your model and parallelism configuration.

Frequently Asked Questions about training-llms-megatron

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I train large language models using distributed GPU clusters?

To train large language models using distributed GPU clusters, leverage Megatron-Core to apply tensor, pipeline, context, and expert parallelism. This approach maximizes throughput for models ranging from 2B up to 462B parameters.

What is 3D parallelism and when do I need it for LLM training?

3D parallelism combines tensor, pipeline, and data parallelism to efficiently train enormous models across multi-node GPU clusters. You need it when scaling models beyond single GPU memory limits to maximize overall training efficiency.

Can I use FP8 training and Flash Attention with Megatron-Core?

Yes, you can use FP8 training and Flash Attention with Megatron-Core. It integrates the Transformer Engine to provide these acceleration features, significantly increasing model FLOPs utilization and overall training throughput.

Does distributed LLM training support Mixture of Experts architectures?

Distributed LLM training supports Mixture of Experts architectures through expert parallelism. This allows you to efficiently train large MoE models alongside standard tensor and pipeline parallelism within multi-node GPU clusters.

What's the best way to configure multi-node deployment for LLaMA-scale models?

The best way to configure multi-node deployment for LLaMA-scale models is using production-grade training recipes with Megatron-Core. This provides 3D parallelism and FP8 acceleration to maximize throughput on distributed GPU clusters.