[KongchangAI]
ProductMegatron

Megatron-LM

A distributed training framework for large-scale language models developed by NVIDIA, supporting the combination of data parallelism, tensor parallelism, and pipeline parallelism. It is designed for training extremely large models across thousands of GPUs and serves as the underlying training engine of the NeMo framework.

Core Facts

Timeline (last 90 days)

Oct 7

During the CAD phase, the team forked Megatron-LM and Microsoft DeepSpeed and rewrote kernels, laying the foundation for the inference capability behind Cursor's more than 500 million model calls per day.

Unverified50%
Oct 6

The column/row splitting scheme for tensor parallelism was first proposed by Megatron-LM

Unverified50%
Oct 6

Sequence parallelism was formally proposed by Megatron-LM in a 2022 paper

Unverified50%
Oct 6

In Megatron-LM's tensor parallelism scheme, the Query, Key, and Value projection matrices are split by column, the output projection matrix is split by row, and an All-Reduce communication is inserted at each end

Unverified50%
Oct 4

PyTorch's torch.save/torch.load, Hugging Face Transformers' Trainer class, DeepSpeed, and Megatron-LM all have built-in periodic checkpoint support.

Unverified50%
Sep 27

Large model training involves multiple stages including data cleaning, annotation, alignment, and safety fine-tuning

Unverified50%
Sep 21

Previously, multi-device support relied primarily on upper-level frameworks (such as Megatron-LM) to implement independently; TensorRT has internalized this as a native runtime capability.

Unverified50%
Sep 11

For models with parameter counts above 70B, a single machine or single node's VRAM is often unable to accommodate the full model, making Megatron-style model parallelism almost a mandatory choice.

Unverified50%
Sep 11

NeMo provides advanced parallel training strategies such as model parallelism and pipeline parallelism by integrating Megatron-LM.

Unverified50%
Sep 10

Megatron-LM implements a 3D parallelism strategy combining tensor parallelism, pipeline parallelism, and data parallelism, while DeepSpeed distributes optimizer states across multiple nodes via ZeRO technology.

Unverified50%

All Facts (11)

Verified

Megatron-LM is a large model training framework developed by NVIDIA, focusing on tensor parallelism and pipeline parallelism.

70%
Unverified

During the CAD phase, the team forked Megatron-LM and Microsoft DeepSpeed and rewrote kernels, laying the foundation for the inference capability behind Cursor's more than 500 million model calls per day.

50%
Unverified

In Megatron-LM's tensor parallelism scheme, the Query, Key, and Value projection matrices are split by column, the output projection matrix is split by row, and an All-Reduce communication is inserted at each end

50%
Unverified

Sequence parallelism was formally proposed by Megatron-LM in a 2022 paper

50%
Unverified

The column/row splitting scheme for tensor parallelism was first proposed by Megatron-LM

50%
Unverified

PyTorch's torch.save/torch.load, Hugging Face Transformers' Trainer class, DeepSpeed, and Megatron-LM all have built-in periodic checkpoint support.

50%
Unverified

Large model training involves multiple stages including data cleaning, annotation, alignment, and safety fine-tuning

50%
Unverified

Previously, multi-device support relied primarily on upper-level frameworks (such as Megatron-LM) to implement independently; TensorRT has internalized this as a native runtime capability.

50%
Unverified

NeMo provides advanced parallel training strategies such as model parallelism and pipeline parallelism by integrating Megatron-LM.

50%
Unverified

For models with parameter counts above 70B, a single machine or single node's VRAM is often unable to accommodate the full model, making Megatron-style model parallelism almost a mandatory choice.

50%
Unverified

Megatron-LM implements a 3D parallelism strategy combining tensor parallelism, pipeline parallelism, and data parallelism, while DeepSpeed distributes optimizer states across multiple nodes via ZeRO technology.

50%

Source Articles