+
Skip to content

[Question] TP only + amp by fully_shard(..., ignored_params=...) #1469

@junjzhang

Description

@junjzhang

I'm wondering if it's possible to wrap a model with fully_shard and use ignored_params to enable AMP for a TP-only or PP-only configuration, without actually sharding the parameters. The goal is to use FSDP just for its parameter management features. I also want to know if the FSDP wrapper itself would cause any performance degradation in this case.

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

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载