Skip to content

Commit

Permalink
adding select_scatter decomp lowering ops in test
Browse files Browse the repository at this point in the history
  • Loading branch information
apbose committed Feb 26, 2024
1 parent 3814267 commit b5b45a1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/py/dynamo/lowering/test_decompositions.py
Original file line number Diff line number Diff line change
Expand Up @@ -434,6 +434,7 @@ def forward(self, x, src, dim, index):
torch.ops.aten.slice.Tensor,
torch.ops.aten.squeeze.dim,
torch.ops.aten.cat.default,
torch.ops.aten.reshape.default,
}
unexpected_ops = {torch.ops.aten.select_scatter.default}

Expand Down Expand Up @@ -496,6 +497,7 @@ def forward(self, x, src, dim, index):
expected_ops = {
torch.ops.aten.slice.Tensor,
torch.ops.aten.squeeze.dim,
torch.ops.aten.unsqueeze.default,
torch.ops.aten.cat.default,
}
unexpected_ops = {torch.ops.aten.select_scatter.default}
Expand Down

0 comments on commit b5b45a1

Please sign in to comment.