Revert "Fix full_like decomposition to preserve strides (#144765)"

This reverts commit 01b0f09931d47bd2716398a0c335b2807dc3074d.

Reverted https://github.com/pytorch/pytorch/pull/144765 on behalf of https://github.com/jeanschmidt due to Seems to be breaking internal tests see [D77652778](https://www.internalfb.com/diff/D77652778), @jansel may you help get this PR merged? ([comment](https://github.com/pytorch/pytorch/pull/144765#issuecomment-3027975098))
This commit is contained in:
PyTorch MergeBot
2025-07-02 13:56:03 +00:00
parent d5a89178b0
commit c553c55be7
11 changed files with 58 additions and 101 deletions

View File

@ -346,7 +346,6 @@ def _core_aten_decompositions_post_autograd() -> dict[
aten.floor_divide,
aten.frac,
aten.frac_,
aten.full_like,
aten._fused_moving_avg_obs_fq_helper,
aten.gelu_,
aten.gelu_backward,