Skip to content

Commit 7b2e802

Browse files
wanchaolpytorchmergebot
authored andcommitted
[dtensor] add a few dunder methods to pointwise ops (pytorch#130754)
fixes pytorch#130671 Pull Request resolved: pytorch#130754 Approved by: https://github.com/Skylion007, https://github.com/awgu, https://github.com/msaroufim ghstack dependencies: pytorch#130753
1 parent 2b2671a commit 7b2e802

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

torch/distributed/_tensor/ops/pointwise_ops.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,14 @@
5858

5959
pointwise_ops = [
6060
# please keep the entries below alphabetically sorted
61+
aten.__ilshift__.Scalar,
62+
aten.__ilshift__.Tensor,
63+
aten.__irshift__.Scalar,
64+
aten.__irshift__.Tensor,
65+
aten.__lshift__.Scalar,
66+
aten.__lshift__.Tensor,
67+
aten.__rshift__.Scalar,
68+
aten.__rshift__.Tensor,
6169
aten._conj.default,
6270
aten.abs.default,
6371
aten.abs.out,

0 commit comments

Comments
 (0)