LongBench icon indicating copy to clipboard operation
LongBench copied to clipboard

No initialization for the process group

Open Mugariya opened this issue 1 year ago • 1 comments

In pred.py, there's dist.destroy_process_group() without any initialization before. So it throws an assertion error.

Mugariya avatar Aug 28 '24 11:08 Mugariya

Hi, you can change this line to

if dist.is_initialized():
    dist.destroy_process_group()

to avoid the assertion error.

bys0318 avatar Sep 06 '24 03:09 bys0318