🐛 Bug
aten::normal_ should be considered as a special op in remove mutation pass.
The op does not have an equivalent aten::normal
To Reproduce
Steps to reproduce the behavior:
Apply remove mutation on the model below:
class Noise(nn.Module):
def forward(self, image):
return image.new_empty(2, 1, 3, 4).normal_()
Expected behavior
Error is:
RuntimeError: 0 INTERNAL ASSERT FAILED at "/pytorch/torch/csrc/jit/ir/alias_analysis.cpp":532, please report a bug to PyTorch. We don't have an op for aten::normal but it isn't a special case. Argument types: Tensor, float, float, None,
cc @ezyang @bhosmer @smessmer @ljk53 @bdhirsh @ailzhang @gmagogsfm
🐛 Bug
aten::normal_ should be considered as a special op in remove mutation pass.
The op does not have an equivalent aten::normal
To Reproduce
Steps to reproduce the behavior:
Apply remove mutation on the model below:
Expected behavior
Error is:
RuntimeError: 0 INTERNAL ASSERT FAILED at "/pytorch/torch/csrc/jit/ir/alias_analysis.cpp":532, please report a bug to PyTorch. We don't have an op for aten::normal but it isn't a special case. Argument types: Tensor, float, float, None,
cc @ezyang @bhosmer @smessmer @ljk53 @bdhirsh @ailzhang @gmagogsfm