Closed gouchangjiang closed 2 months ago
Hi! thanks for your contribution!, great first issue!
@gouchangjiang was it resoled? 🤔
metric.compute()
Yeah, I just solved the issue after posting it. The problem is that metric.compute() has only been called by rank 0. All ranks should call it.
🐛 Bug
torchmetrics.classification.BinaryAUROC.compute()
hangs when running the program on multi-node multi-card.To Reproduce
Launch the following code snippet by torchrun
Expected behavior
The program prints the auc until it hangs at the 100-th iteration.
Environment