Skip to content

Commit

Permalink
torchtnt/tests/framework (#952)
Browse files Browse the repository at this point in the history
Summary: Pull Request resolved: #952

Reviewed By: galrotem, avikchaudhuri

Differential Revision: D67388469

fbshipit-source-id: 6b0fce0e95c1561407c9e118b2b45d47299c8b56
  • Loading branch information
gmagogsfm authored and facebook-github-bot committed Dec 19, 2024
1 parent 2ce298f commit 2e762a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/framework/test_loop_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def forward(self, x):
return x

loss_fn = nn.CrossEntropyLoss()
module = torch.export.export(M(), (torch.rand(4, 4),)).module()
module = torch.export.export(M(), (torch.rand(4, 4),), strict=True).module()

tracked_modules: Dict[str, torch.nn.Module] = {
"module": module,
Expand Down

0 comments on commit 2e762a1

Please sign in to comment.