Skip to content

Commit

Permalink
[Decomposition] unsafe_split.Tensor (pytorch#108544)
Browse files Browse the repository at this point in the history
Summary:

Include decomp in core_aten_decompositions

Decomp already exists

https://www.internalfb.com/code/fbsource/[03ff511cad587fc27ed8fd6a54b87845246e8e0c]/fbcode/caffe2/torch/_decomp/decompositions.py?lines=1209

Test Plan: OSS + Phabricator Tests

Reviewed By: SS-JIA

Differential Revision: D48940445
  • Loading branch information
salilsdesai authored and facebook-github-bot committed Sep 15, 2023
1 parent f3d1401 commit 7789da7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion test/expect/HasDecompTest.test_aten_core_operators.expect
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,6 @@ aten::unfold
aten::uniform
aten::uniform.out
aten::uniform_
aten::unsafe_split.Tensor
aten::unsafe_split_with_sizes
aten::unsafe_split_with_sizes.out
aten::unsqueeze
Expand Down
1 change: 1 addition & 0 deletions torch/_decomp/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,7 @@ def core_aten_decompositions() -> Dict[torch._ops.OperatorBase, Callable]:
aten.unfold_backward,
aten.unfold_copy,
aten._unsafe_index,
aten.unsafe_split.Tensor,
aten.upsample_bilinear2d,
aten.upsample_nearest2d_backward,
aten.view_as_complex,
Expand Down

0 comments on commit 7789da7

Please sign in to comment.