Error for inplace operation

Hi, guys. I encounter this error “one of the variables needed for gradient computation has been modified by an inplace operation”, but it occur only in pytorch 0.4 not pytorch 0.3, and my program is not allowed to be public. Is there any way I can know which variable is modified by an inplace operation.