Skip to content

Commit 38cf06c

Browse files
generatedunixname89002005307016facebook-github-bot
authored andcommitted
suppress errors in torchtnt (#835)
Summary: Pull Request resolved: #835 Differential Revision: D57559314 fbshipit-source-id: a8037e10b1a362eed267a2cd3b780745cd74e35a
1 parent 3e6fa3d commit 38cf06c

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

tests/utils/test_flops.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,6 @@ def test_torch_linear_layer(self) -> None:
136136

137137
def test_torch_pretrained_module(self) -> None:
138138
"""Make sure FLOPs calculation works for a resnet18."""
139-
# pyre-fixme[16]: Module `models` has no attribute `resnet18`.
140139
mod = models.resnet18()
141140
inp = torch.randn(1, 3, 224, 224)
142141
with FlopTensorDispatchMode(mod) as ftdm:

0 commit comments

Comments
 (0)