GRPOTrainer rollout time limited to 10min
Los mantenedores suelen responder en 1 día
@hjh0119 ya está trabajando en esto.
Desde el 8/9/2026.
Evaluación
Este issue todavía no se ha evaluado.
Descripción
Checklist / 检查清单
- I have searched existing issues, and this is a new bug report. / 我已经搜索过现有的 issues,确认这是一个新的 bug report。
Bug Description / Bug 描述
While using GRPOTrainer, the rollout time appears to be limited to 10 minutes. Once this limit is reached, the trainer raises an NCCL watchdog timeout error.
This seems to be related to the distributed object collectives used during server-side rollout. I could not find any suggested environment variable that reliably extends this timeout.
The solution is to create a dedicated Gloo process group for vLLM server-side rollout and configure its timeout with self.args.ddp_timeout. The object collectives used during rollout, specifically gather_object and broadcast_object_list, are then routed through this Gloo group instead of the default NCCL process group.
This keeps NCCL unchanged for model training, while using Gloo only for rollout synchronization and Python-object communication. As a result, long rollouts are no longer constrained by the NCCL watchdog timeout and can instead follow the configured ddp_timeout.
How to Reproduce / 如何复现
torch: 2.9.1
cuda: 12.9
ms-swift: 4.5.0dev
deepspeed: 0.19.2
accelerate: 0.13.0
MS-Swift, any long context multi-turn rollout takes more than 10 min.
Additional Information / 补充信息
No response
- Lenguaje dominante
- Python
- Estrellas
- 16.2k
- Forks
- 1.8k
- Merge medio
- 1 d 14 h
- PR fusionados (30 d)
- 68
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de modelscope/ms-swift
-
get_multimodal_target_regex(..., exclude_router=True) does not exclude shared_expert_gatePosiblemente ocupada @KonnyakuMatcha la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
modelscope/ms-swift#10696 ·
Los mantenedores suelen responder en 1 día
-
[BUG] GRPO REAL loss crashes with beta>0 and kl_in_reward=True (NoneType * Tensor)Posiblemente ocupada @newcloud123 la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
modelscope/ms-swift#10690 ·
Los mantenedores suelen responder en 1 día
-
[BUG] GRPO REAL loss divides by all groups instead of valid groups, silently scaling gradientsPosiblemente ocupada @newcloud123 la tomó hace 1 día. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
modelscope/ms-swift#10688 ·
Los mantenedores suelen responder en 1 día
-
enhancement
Dificultad 2/5 Medio día Aptitud para principiantes 62/100
modelscope/ms-swift#10621 ·
Los mantenedores suelen responder en 1 día
-
[Bug] `get_seed` consumes a draw from the shared RandomState even when decision augmentation is disabled, changing the train/val split and dataset shufflePosiblemente ocupada @ryznren la tomó hace 38 días. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
modelscope/ms-swift#10466 · 1 comentario ·
Los mantenedores suelen responder en 1 día
Todos los issues de modelscope/ms-swift
Issues similares
-
Test: to_hijri() accepts datetime.datetime and uses only the date partPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertogood first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 95/100
omarelshamy25x/shamy-hijri#63 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
polish
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
521xueweihan/HelloGitHub#4729 ·
-
[Bug]: Score parser reads parts of scientific notation as valid scoresPosiblemente ocupada @AshutoshSingh840 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
UKGovernmentBEIS/control-arena#992 ·
Los mantenedores suelen responder en 3 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
mvalentsev/awesome-free-ai-coding#70 ·
Los mantenedores suelen responder en 1 día