You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there. I want to take a LORA I finetuned using SFT, and then align it using GRPO. Unfortunately, GRPO seems to rely upon VLLM and as such we can't load a LORA adapter. Is there any work around?
I figured out how to do it. You need to disable VLLM in both the model load and the trainer initialization. In my experience, removing VLLM made no major changes in the performance of the training, and each epoch took roughly the same amount of time.
Follow up on this - I used the Qwen 2.5 GRPO notebook, and disabling vLLM caused the model to output the same thing over and over beyond the first step of training. Did you see any issues like this @DaddyCodesAlot?
Follow up on this - I used the Qwen 2.5 GRPO notebook, and disabling vLLM caused the model to output the same thing over and over beyond the first step of training. Did you see any issues like this @DaddyCodesAlot?
No, I disabled VLLM on unsloth==2025.2.4, and I got the model to train without any problems. Maybe downgrading could temporarily solve your problem?
Activity
DaddyCodesAlot commentedon Feb 24, 2025
I figured out how to do it. You need to disable VLLM in both the model load and the trainer initialization. In my experience, removing VLLM made no major changes in the performance of the training, and each epoch took roughly the same amount of time.
le-big-mac commentedon Feb 24, 2025
Follow up on this - I used the Qwen 2.5 GRPO notebook, and disabling vLLM caused the model to output the same thing over and over beyond the first step of training. Did you see any issues like this @DaddyCodesAlot?
LouisDie commentedon Feb 24, 2025
@le-big-mac I’m seeing the same issue since Unsloth 2025.2.15 when running without vLLM. Before this version, I didn’t encounter this problem.
DaddyCodesAlot commentedon Feb 24, 2025
No, I disabled VLLM on unsloth==2025.2.4, and I got the model to train without any problems. Maybe downgrading could temporarily solve your problem?
le-big-mac commentedon Feb 24, 2025
Ok, downgrading to 2025.2.12 seems to do it (2025.2.14 still has the problem). Thanks guys!
danielhanchen commentedon Feb 26, 2025
I will investigate the Qwen issue asap!
LouisDie commentedon Feb 26, 2025
Thanks for looking into this! Just to clarify, the issue is not limited to Qwen. I’m experiencing the same problem with Llama as well.
Yueeeeeeee commentedon Feb 26, 2025
Same here, happens to both Qwen and Llama models when fast_inference = False and use_vllm = False
xandrmoro commentedon Mar 3, 2025
Same here.
UPD: Seems to be fixed with 2025.3.1?
danielhanchen commentedon Mar 5, 2025
Apologies just fixed! For Colab / Kaggle, please restart and run all. For local machines, please do:
DaddyCodesAlot commentedon Mar 6, 2025
Awesome work! I'll close this issue.
ahnesi commentedon Apr 6, 2025
It still doesn't work for me even after
pip install --force-reinstall --upgrade --no-cache-dir --no-deps unsloth unsloth_zoo
Any thoughts?
sunyilgdx commentedon May 15, 2025
I have the same question!