Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is this assertion for mask wrong? #400

Open
yinfangchen opened this issue Feb 15, 2024 · 1 comment
Open

Is this assertion for mask wrong? #400

yinfangchen opened this issue Feb 15, 2024 · 1 comment

Comments

@yinfangchen
Copy link

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?

@LordEdison
Copy link

same puzzlement

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants