Hi, I have a model with two components, one on gpu and the other on cpu.
Let’s say Loss_1 is from gpu, Loss_2 is from cpu. And I do Loss = Loss_1 + Loss_2.to('cuda').  I’m wondering how the loss.backward() compute since there are two device?