VLM-R1 icon indicating copy to clipboard operation
VLM-R1 copied to clipboard

E0225 torch/distributed/elastic/multiprocessing/api.py:826] failed (exitcode: 1);torch.distributed.elastic.multiprocessing.errors.ChildFailedError

Open penciler-star opened this issue 1 year ago • 4 comments

I tried to conduct training on a single NVIDIA GeForce RTX 4090 graphics card using my own data. However, an error occurred. What could be the cause of this? Does it seem that distributed training must be used?

E0225 19:30:27.457000 140313068226368 torch/distributed/elastic/multiprocessing/api.py:826] failed (exitcode: 1) local_rank: 0 (pid: 8668) of binary:

torch.distributed.elastic.multiprocessing.errors.ChildFailedError:

src/open_r1/grpo_rec.py FAILED

Image

penciler-star avatar Feb 25 '25 11:02 penciler-star

Could you provide the complete error message?

SZhanZ avatar Feb 25 '25 12:02 SZhanZ

Hello, the josnl file is supported by grpo_jsonl.py instead of grpo_rec.py.

Image

SZhanZ avatar Feb 25 '25 13:02 SZhanZ

Hello, the josnl file is supported by grpo_jsonl.py instead of grpo_rec.py.

Image

It's working now. Thank you!

penciler-star avatar Feb 25 '25 13:02 penciler-star

@penciler-star hello,can you show a picture for your own data of jsonl format ? I find the content of refcoco_train.jsonl, which is used to train REC task, is different from the showed example of Part: For your own data. @SZhanZ,Can you answer my question? thank you.

xiebinghua avatar Oct 10 '25 14:10 xiebinghua