Hi,
This error happens when you perform inplace operations on tensors whose values are needed by another op for computing gradients.
Inplace ops can be t[indices] = xxx or t += xxx or relu(t, inplace=True) etc