Skip to content

Example of quantized_model_init for low-precision compute weights, fp32 main weights using fused_adam with fsdp2 #2682

@pstjohn

Description

@pstjohn

This is likely the optimal way to run FSDP2 with TE layers, but it would be great to have an example of using FusedAdam with master_weights=True (https://github.com/NVIDIA/TransformerEngine/blob/main/transformer_engine/pytorch/optimizers/fused_adam.py#L75-L82), quantized_model_init, and fully_shard together.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions