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

Fix require_grad typo #104

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Fix require_grad typo #104

wants to merge 1 commit into from

Conversation

kit1980
Copy link

@kit1980 kit1980 commented Jul 18, 2023

Fix require_grad typos (should be requires_grad).
Before the fix, the code doesn't cause any errors but doesn't do what it's supposed to do.

Also see pytorch/benchmark#1771

Fix require_grad typos (should be requires_grad).
Before the fix, the code doesn't cause any errors but doesn't do what it's supposed to do.

Also see pytorch/benchmark#1771
facebook-github-bot pushed a commit to pytorch/benchmark that referenced this pull request Jul 19, 2023
Summary:
Fix require_grad typos (should be requires_grad).
Before the fix, the code doesn't cause any errors but doesn't do what it's supposed to do.

Fixed with TorchFix https://github.com/pytorch/test-infra/tree/main/tools/torchfix

Upstream PR: codertimo/BERT-pytorch#104

Pull Request resolved: #1771

Reviewed By: xuzhao9

Differential Revision: D47531187

Pulled By: kit1980

fbshipit-source-id: 738b1866cc5cd3fedfa878cc40827236717f6f27
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.

1 participant