I think I meant that if faking a forward pass is the correct approach and would work. I am not 100 % sure that just setting the gradients to 0 would lead to correct training.
And also if there are better approaches, this feels like a bandaid approach with DDP. Without DDP you do not need to do a faked forward pass.