Skip to content

The output is different when not using deepspeed zero and when using zero3. #33

@lihua8848

Description

@lihua8848

For the same input on the first sample, the output from self.model() is different under the two configurations: zero3 and not using deepspeed. Also, after self.attn followed by mlp, the result is Nan, causing the loss to be 0. The environment is A100.

The output is as follows:

Image

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions