Skip to content

BUG: FSDP2 + stochastic rounding optimizers don't work #1505

@cassanof

Description

@cassanof

_fp32_to_bf16_sr uses view(dtype), which does not have a sharding strategy with DTensor. therefore, if you use it in combination with FSDP2, you get the following error:

Operator aten.view.dtype does not have a sharding strategy registered.

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