Skip to content

about optimizer.step() #54

@JachinJiang

Description

@JachinJiang

train.py:
if accelerator.state.deepspeed_plugin is None:
optimizer.step()

Why is the .step() performed when the plugin is none during training? I don’t know if this is a bug.

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