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

[Tensor] fix test_model #916

Merged
merged 2 commits into from
May 6, 2022
Merged

Conversation

Wesley-Jzy
Copy link
Contributor

No description provided.


def bert_model_builder(checkpoint):
config = BertConfig(gradient_checkpointing=checkpoint,
config = BertConfig(vocab_size=vocab_size,
gradient_checkpointing=checkpoint,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The latest best model does not use this flag?
you can see the warning

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, line 65 is for this.

@Wesley-Jzy Wesley-Jzy merged commit dfaff4e into hpcaitech:main May 6, 2022
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

Successfully merging this pull request may close these issues.

2 participants