verl icon indicating copy to clipboard operation
verl copied to clipboard

Use vllm 0.8.1 with verl some times hang with GPU 0 to perform barrier as devices used by this process are currently unknown

Open SwordFaith opened this issue 1 year ago • 14 comments

Reported log: [rank3]:[W325 11:49:30.413639546 ProcessGroupNCCL.cpp:4561] [PG ID 0 PG GUID 0 Rank 3] using GPU 0 to perform barrier as devices used by this process are currently unknown. This can potentially cause a hang if this rank to GPU mapping is incorrect. Specify device_ids in barrier() to force use of a particular device, or call init_process_group() with a device_id.

SwordFaith avatar Mar 25 '25 10:03 SwordFaith

+1

Nanayali avatar Mar 27 '25 15:03 Nanayali

I also got this with vllm 0.7.3

(WorkerDict pid=171653) [rank0]:[W330 10:12:48.082391574 ProcessGroupNCCL.cpp:4115] [PG ID 0 PG GUID 0 Rank 0] using GPU 0 to perform barrier as devices used by this process are currently unknown. This can potentially cause a hang if this rank to GPU mapping is incorrect.Specify device_ids in barrier() to force use of a particular device,or call init_process_group() with a device_id. [repeated 2x across cluster]

brick-pid avatar Mar 30 '25 02:03 brick-pid

+1

lihaoling avatar Apr 11 '25 16:04 lihaoling

Does it happen on vllm 0.8.2? There's known issue with vllm 0.8.1 related to memory usage. Not sure if your problem is the same but I recommend trying 0.8.2 instead

eric-haibin-lin avatar Apr 12 '25 05:04 eric-haibin-lin

+1

zhaojingqian avatar Apr 20 '25 10:04 zhaojingqian

I tried in 0.8.2,but still happen.

FrankWang2001 avatar Apr 23 '25 06:04 FrankWang2001

same problem

hiber-niu avatar Apr 26 '25 13:04 hiber-niu

0.8.2&0.8.3 have same problem。

hiber-niu avatar Apr 27 '25 06:04 hiber-niu

+1 0.8.4

qilong-zhang avatar May 06 '25 03:05 qilong-zhang

+1

rinapch avatar May 12 '25 22:05 rinapch

+1

kitft avatar May 13 '25 11:05 kitft

same with vllm=0.8.2.

Django-Jiang avatar May 13 '25 22:05 Django-Jiang

Fix fsdp setting with #1577 modified fsdp worker init_process_group

SwordFaith avatar May 19 '25 14:05 SwordFaith

定时清理检查结果:这个 issue 最近一次由当前运行账号以外账号产生的公开回复或公开引用是 2025-05-19T14:46:07Z。本轮检查日期为 2026-07-04,该时间已经超过 6 个月。检查来源包括 issue comments API https://api.github.com/repos/verl-project/verl/issues/752/comments?per_page=100 和 timeline API https://api.github.com/repos/verl-project/verl/issues/752/timeline?per_page=100。

按照本仓库的定时 issue 清理标准,我会先留下这条说明并关闭该 issue。若作者或社区成员仍能提供新的复现、证据或需求背景,请继续评论请求重开,或创建新的 issue 并引用这里的上下文。


Scheduled cleanup check: the latest public reply or public reference from an account other than the current automation account was 2025-05-19T14:46:07Z. The check date for this run is 2026-07-04, so that activity is more than 6 months old. The checked public sources were the issue comments API https://api.github.com/repos/verl-project/verl/issues/752/comments?per_page=100 and the timeline API https://api.github.com/repos/verl-project/verl/issues/752/timeline?per_page=100.

Following the scheduled issue cleanup policy, I am leaving this note first and then closing the issue. If the author or community can still provide a fresh reproduction, evidence, or requirement context, please comment to request reopening or open a new issue that links back to this one.

This response was generated by a scheduled Codex GPT5.5 issue processing task.

Kirrito-k423 avatar Jul 04 '26 01:07 Kirrito-k423