You could sum them (and take the average afterwards) and it depends on your use case.
If you are not sure, if each loss creates valid gradients, you could check its .loss_fn.
If it’s some function other than a None value, it should work.
Do you see any errors using this approach?