mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[Inductor] Fix mutation tracking of ConvolutionBinaryInplace (#114501)
Init function reorders the arguments so the mutation actually happens on argument input[0] I am not sure if there's a good way to test this unfortunately.. Added tests on https://github.com/pytorch/pytorch/pull/114436 Pull Request resolved: https://github.com/pytorch/pytorch/pull/114501 Approved by: https://github.com/leslie-fang-intel, https://github.com/aakhundov
This commit is contained in:
committed by
PyTorch MergeBot
parent
0a063ad2c0
commit
c6d88604d5
@ -5118,7 +5118,7 @@ class ConvolutionBinaryInplace(ExternKernelAlloc):
|
||||
)
|
||||
|
||||
def get_mutation_names(self):
|
||||
return [self.inputs[1].get_name()]
|
||||
return [self.inputs[0].get_name()]
|
||||
|
||||
def get_unbacked_symbol_defs(self):
|
||||
return {}
|
||||
|
Reference in New Issue
Block a user