{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/7"},{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/6"},{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/16"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/8"},{"label":"Artificial Intelligence","url":"https://skillfed.io/packages/category/scientific-engineering-artificial-intelligence/7"},{"label":"Mathematics","url":"https://skillfed.io/packages/category/scientific-engineering-mathematics/3"},{"label":"Image Recognition","url":"https://skillfed.io/packages/category/scientific-engineering-image-recognition"}],"enrichment":{"capability":"Megatron Core provides GPU-optimized building blocks and parallelism strategies for training large transformer models at scale, including tensor parallelism, pipeline parallelism, and mixed precision support.","skillfed_tags":["distributed-training","gpu-optimization","transformer-models"],"use_cases":["Build custom distributed training frameworks that need composable parallelism strategies and transformer building blocks.","Scale transformer model training across thousands of GPUs with optimized communication and computation overlap.","Implement mixed-precision training (FP16, BF16, FP8, FP4) for large language models to reduce memory and compute costs.","Train variable-length sequence models using dynamic context parallelism for adaptive efficiency gains.","Integrate advanced model architectures (GPT, BERT, Mamba) into production training pipelines with fault tolerance."],"what_it_does":"Megatron Core is a composable library of GPU-optimized building blocks for training transformer models across distributed systems. It provides modular components for tensor parallelism, pipeline parallelism, data parallelism, expert parallelism, and context parallelism, along with support for mixed precision training (FP16, BF16, FP8, FP4) and model architectures including GPT, BERT, and Mamba-based models. The library is designed for framework developers and ML engineers building custom training pipelines, not as a standalone training script.\n\nThe package depends on torch, numpy, and packaging, and is actively maintained by NVIDIA with recent releases including dynamic context parallelism and multi-data center training support. Precompiled wheels are available for modern Python versions. Performance benchmarks show up to 47% Model FLOP Utilization on H100 clusters when training models from 2B to 462B parameters.","worth_installing":"Yes, if you are building a custom distributed training framework or scaling transformer training across multiple GPUs. The library is production-stable, actively maintained, permissively licensed, and has no known vulnerabilities. Install friction is moderate due to GPU/CUDA requirements and torch dependency. Not recommended for simple single-GPU training or inference-only use cases."},"id":"megatron-core","links":{"html":"https://skillfed.io/packages/megatron-core","md":"https://skillfed.io/packages/megatron-core.md","pypi":"https://pypi.org/project/megatron-core/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-21","license_spdx":null,"license_treatment":"permissive","name":"megatron-core","python_support":"supports_current","summary":"Megatron Core - a library for efficient and scalable training of transformer based models"},"popularity":{"monthly_downloads":208041,"position":9536,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.18.2"}
