Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information