verl icon indicating copy to clipboard operation
verl copied to clipboard

*.distcp转为HF格式

Open XQZZK opened this issue 1 year ago • 4 comments

我用8台H20训练完235B moe的模型之后,模型是以*.distcp这种文件格式存储的,我应该如何将这些分布式的东西转为Huggingface的格式?同时,我发现在actor这个文件夹下有一个huggingface文件夹,里面存放了模型的参数,请问这个模型的参数是微调之后的模型参数嘛

XQZZK avatar Sep 11 '25 02:09 XQZZK

torchrun --nproc_per_node 1 --nnodes 8 --node_rank ${RANK} -m verl.model_merger merge
--backend megatron
--local_dir /tmp/ray/ckpt/verl-qwen3/235B-8-pp16-tp4-ep4-actor-length6864/global_step_2/actor/
--target_dir /tmp/ray/ckpt/verl-qwen3/235B-8-pp16-tp4-ep4-actor-length6864/global_step_2/HF

我使用官方文档推荐的脚本,它会卡死住

XQZZK avatar Sep 11 '25 02:09 XQZZK

我训练的时候pp=16, tp = 4, ep = 4

XQZZK avatar Sep 11 '25 02:09 XQZZK

The weights in actor folder is fine tuned model weights. https://github.com/volcengine/verl/issues/3360#issuecomment-3277191408

techkang avatar Sep 11 '25 12:09 techkang

定时清理检查结论:本 issue 最近一次非当前运行账号(Kirrito-k423)的公开回复或公开引用是 2025-09-11T12:29:48Z(actor: techkang),早于 2026-01-19T00:00:00Z,已经超过 6 个月。根据项目的定时 issue 清理规则,本轮先发布说明并关闭。

可追溯证据:

  • Issue: https://github.com/verl-project/verl/issues/3446
  • Latest non-self public reply/reference: https://github.com/verl-project/verl/issues/3446#issuecomment-3280386971
  • Comments API: https://api.github.com/repos/verl-project/verl/issues/3446/comments
  • Timeline API: https://api.github.com/repos/verl-project/verl/issues/3446/timeline

如果作者或社区成员仍能提供新的复现、证据或需求背景,请继续评论请求重开,或创建一个包含当前版本信息和最小复现的新 issue。


Scheduled cleanup conclusion: the latest public reply or public reference by an account other than the current automation account (Kirrito-k423) was 2025-09-11T12:29:48Z (actor: techkang), which is earlier than 2026-01-19T00:00:00Z and therefore more than 6 months old. Under the scheduled issue cleanup rule, this task is posting the explanation first and then closing the issue.

Traceable evidence:

  • Issue: https://github.com/verl-project/verl/issues/3446
  • Latest non-self public reply/reference: https://github.com/verl-project/verl/issues/3446#issuecomment-3280386971
  • Comments API: https://api.github.com/repos/verl-project/verl/issues/3446/comments
  • Timeline API: https://api.github.com/repos/verl-project/verl/issues/3446/timeline

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 with current version details and a minimal reproduction.

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

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