Skip to content

Bug! Help! MS-SWIFT GRPO + LoRA training hung/stuck after training 1 step from full merged model merged from lora adapter #3990

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
tjoymeed opened this issue Apr 24, 2025 · 1 comment

Comments

@tjoymeed
Copy link

tjoymeed commented Apr 24, 2025

Hi all,

I am doing Model Scope MS-SWIFT GRPO RL training with lora.

When resume training from check-point, because I cannot directly do it due to the fact that my GPU cards numbers got reduced (ref: #3989) , so I have to convert the check-point to the merged full model and then start the training from scratch from this merged full model.

And then in the training script, I supply my merged full model path.

swift rlhf
--rlhf_type grpo
--model /myprojects/ms-swift/output/Qwen2.5-7B-32GPUs/v3-20250423-132415/checkpoint-400-mergedfull
--model_type qwen2_5
--train_type lora \

Surprisingly, it hung/stuck after 1 step of training.

The whole program froze...

What's wrong?

Could anybody help?

Thanks!

@slin000111
Copy link
Collaborator

pip install py-spy
py-spy dump --pid <pid>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants