Skip to content

Is this assertion for mask wrong? #400

Open
@yinfangchen

Description

@yinfangchen

I got an AssertionError: Mask is silently ignored due to the use of a custom kernel when training GPT-2 with examples/pretrain_gpt.sh.

This line leads to the assertion error:

assert mask is None, "Mask is silently ignored due to the use of a custom kernel"

Is this assertion necessary? And is it even correct?

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