Skip to content

Add feature to calculate the number of parameters based on FSDP2 device mesh #326

Description

@le1nux

So far we only support the estimation of the number of parameters for FSDP1.

See

return -1 # TODO We need to fix this by calculating the correct value based on the device-mesh!

Additionally, we need test coverage for the new functionality.

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

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions