verl icon indicating copy to clipboard operation
verl copied to clipboard

LoRA support for sglang

Open water-vapor opened this issue 1 year ago • 4 comments

It seems that the current lora training support (https://github.com/volcengine/verl/pull/1127/files) is specific to vllm. Are there any plans to bring lora support to sglang as well? If not, how much effort would be required to implement it?

I'm asking because tool use RL currently only supports sglang, and I'd like to apply lora in that context.

water-vapor avatar Jun 06 '25 20:06 water-vapor

Bump

d-falck avatar Aug 31 '25 07:08 d-falck

Bump

rfvasile avatar Oct 13 '25 07:10 rfvasile

Bump

chengtan369 avatar Mar 09 '26 08:03 chengtan369

中文:这个请求现在已有实现,可以按已完成关闭。#5564 已合并 SGLang rollout 的 LoRA 支持,提供 actor_rollout_ref.model.lora.merge=True 的 merge 路径;#5769 随后合并,修复了 lora.merge=False adapter 路径下的 base/adaptor 同步顺序和 SGLang sleep 行为。当前文档也说明 FSDP/FSDP2 LoRA 支持 rollout.name=sglang,并指出 SGLang 可使用 model.lora.merge=True 路径。

如果还有具体配置在最新 main 或包含这些 PR 的版本上失败,请带上完整版本、配置和错误栈开一个更具体的 bug report。

English: This request now has an implementation and can be closed as completed. #5564 merged LoRA support for SGLang rollouts with the actor_rollout_ref.model.lora.merge=True merge path, and #5769 later fixed the lora.merge=False adapter path ordering and SGLang sleep behavior. The current LoRA docs also state that FSDP/FSDP2 LoRA supports rollout.name=sglang, with model.lora.merge=True available for SGLang.

If a specific setup still fails on current main or on a release containing these PRs, please open a focused bug report with the exact versions, config, and traceback.

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

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