Commit ae8f06f
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: codertimo/BERT-pytorch#104
Pull Request resolved: #1771
Reviewed By: xuzhao9
Differential Revision: D47531187
Pulled By: kit1980
fbshipit-source-id: 738b1866cc5cd3fedfa878cc40827236717f6f271 parent e8c1cf0 commit ae8f06f
File tree
1 file changed
+2
-1
lines changed- torchbenchmark/models/BERT_pytorch/bert_pytorch/model/embedding
1 file changed
+2
-1
lines changedLines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
0 commit comments