Skip to content

Commit

Permalink
Fix broken test
Browse files Browse the repository at this point in the history
Summary:
This test seems to be broken for at least a month and is blocking S343974
Specifically, the fbpkg builds are blocked by this:
https://www.internalfb.com/intern/sandcastle/job/27021598739017954

Reviewed By: gunchu

Differential Revision: D46848358

fbshipit-source-id: 4109c6bf909594dc42543a986e4c55398fcb2f07
  • Loading branch information
schwarzmx authored and facebook-github-bot committed Jun 20, 2023
1 parent f2be07b commit bd1c76f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion multipy/runtime/example/examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ def forward(
self, t: Tuple[Tensor, Tensor]
) -> Tuple[Tuple[Tensor, Tensor], Tuple[Tensor, Tensor]]:
a, b = t
result = ((a.masked_fill_(b, 0.1), b), (torch.ones_like(a), b))
result = ((a.masked_fill_(b.to(torch.bool), 0.1), b), (torch.ones_like(a), b))
return result


Expand Down

0 comments on commit bd1c76f

Please sign in to comment.