Skip to content

Commit

Permalink
Fix wrong call to grayskull
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinwuTT committed Sep 12, 2024
1 parent f0bf7df commit b13c422
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/lowering/misc/test_fallback_incompatible_platform.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def test_floor(device, input_shape):
# This test will fallback to torch.ops.aten.floor.default
nodes = list(option._out_fx_graphs[0].nodes)
target = [node.target for node in nodes]
if ttnn.device.is_grayskull:
if ttnn.device.is_grayskull(device):
assert target.count(ttnn.floor) == 0
assert target.count(torch.ops.aten.floor.default) == 1
else:
Expand Down

0 comments on commit b13c422

Please sign in to comment.