Skip to content

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