-
Notifications
You must be signed in to change notification settings - Fork 25.6k
Closed
Labels
module: internalsRelated to internal abstractions in c10 and ATenRelated to internal abstractions in c10 and ATenoncall: jitAdd this issue/PR to JIT oncall triage queueAdd this issue/PR to JIT oncall triage queuetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module
Description
🐛 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
Metadata
Metadata
Assignees
Labels
module: internalsRelated to internal abstractions in c10 and ATenRelated to internal abstractions in c10 and ATenoncall: jitAdd this issue/PR to JIT oncall triage queueAdd this issue/PR to JIT oncall triage queuetriagedThis issue has been looked at a team member, and triaged and prioritized into an appropriate moduleThis issue has been looked at a team member, and triaged and prioritized into an appropriate module