Skip to content

[BUG]: AssertionError: you are calculating the l2 norm twice #5000

@airlsyn

Description

@airlsyn

🐛 Describe the bug

following the section Gradient Accumulation on GeminiPlugin in https://colossalai.org/docs/features/gradient_accumulation_with_booster/ , I got the exception AssertionError: you are calculating the l2 norm twice at the second step.

Environment

Pytorch: 2.0.1
Colossalai: 0.3.4

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions