Skip to content

[QUESTION] Megatron-LM DistributedOptimizer or NeMo MegatronDistributedFusedAdam Optimizer? #971

Description

@TJ-Solergibert

Hi,

After going across both Megatron-LM & NeMo I've found that NeMo configs set by default the MegatronDistributedFusedAdam optimizer from the NeMo framework. But Megatron also contains a DistributedOptimizer.

The NeMo one is based on the Apex's DistributedFusedAdam which incorporates ZeRO-2. I would like to know which one is better, both in terms of throughput and performance or which config do you recommend to use for large scale training.

Thanks!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions