Essentially, you have an operator in your discriminator that changes the value of one of your needed matrices “in place” (i.e. at the same memory pointer instead of making a copy). Check Your Relu operator.
If u see nn.Relu(True) set it to nn.Relu(False).