Skip to content

Commit

Permalink
[torchdynamo] Add default decomposition for ops in the dynamo backend
Browse files Browse the repository at this point in the history
Signed-Off By: Vivek Khandelwal <[email protected]>
  • Loading branch information
vivekkhandelwal1 committed Jan 23, 2023
1 parent bf4c77c commit 23aa690
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions python/torch_mlir/dynamo.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ def _get_decomposition_table():
aten.native_group_norm,
aten.split.Tensor,
aten.split_with_sizes,
aten.norm.ScalarOpt_dim,
aten.embedding_dense_backward,
aten.native_layer_norm_backward,
aten.slice_backward,
aten.select_backward,
aten.upsample_bilinear2d.vec,
aten.mse_loss_backward,
aten.native_group_norm_backward,
aten.sigmoid_backward,
])


Expand Down

0 comments on commit 23aa690

Please sign in to comment.