Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions torch/distributed/_tensor/ops/_pointwise_ops.py
Original file line number Diff line number Diff line change
Expand Up @@ -545,10 +545,18 @@ def linear_pointwise_strategy(mesh: DeviceMesh, op_schema: OpSchema) -> Strategy
aten._foreach_clamp_max_.Scalar,
aten._foreach_clamp_min_.Scalar,
aten._foreach_div_.List,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we also add aten. foreach_div.Scalar and aten. _foreach_div.Scalar in this PR as well?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep good call

aten._foreach_div_.Scalar,
aten._foreach_div_.ScalarList,
aten._foreach_div_.Tensor,
aten._foreach_div.List,
aten._foreach_div.Scalar,
aten._foreach_div.ScalarList,
aten._foreach_div.Tensor,
aten._foreach_lerp_.Scalar,
aten._foreach_maximum_.List,
aten._foreach_mul.Scalar,
aten._foreach_mul.ScalarList,
aten._foreach_mul.Tensor,
aten._foreach_mul.List,
aten._foreach_mul_.Scalar,
aten._foreach_mul_.ScalarList,
Expand Down