Skip to content

AssertionError: no_sync context manager is incompatible with gradient partitioning logic of ZeRO stage 2 #5

@yunqingliu1996

Description

@yunqingliu1996

It seems related to using accelerator.accumulate() together with DeepSpeed’s ZeRO Stage 2 (also with 1).

might be due to version incompatibilities between accelerate and deepspeed?

Could you plz share the specific versions of accelerate, deepspeed?

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