https://github.com/pytorch/examples/blob/master/regression/main.py#L60 Fix grad in-place operation issue remains in regression tests after https://github.com/pytorch/examples/pull/779 Created a PR for solving it. https://github.com/pytorch/examples/pull/781