Skip to content

Why use local_loss=True with gather_with_grad=True? #4

@ThisisBillhe

Description

@ThisisBillhe

Hi,

Thanks for your great work! I notice that both local_loss and gather_with_grad are set to True in LIFT/configs/lift_vit_b16_128m.yaml. However, since local_loss is set to True, we do not need grad for features from other ranks, right?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions