benchmark
ae8f06fe - Fix require_grad typo (#1771)

Commit
2 years ago
Fix require_grad typo (#1771) 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: https://github.com/codertimo/BERT-pytorch/pull/104 Pull Request resolved: https://github.com/pytorch/benchmark/pull/1771 Reviewed By: xuzhao9 Differential Revision: D47531187 Pulled By: kit1980 fbshipit-source-id: 738b1866cc5cd3fedfa878cc40827236717f6f27
Author
Parents
Loading