Skip to content

[BUG]: can not save model in pipeline training mode #6253

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
1 of 2 tasks
fangxintao opened this issue Mar 25, 2025 · 0 comments
Open
1 of 2 tasks

[BUG]: can not save model in pipeline training mode #6253

fangxintao opened this issue Mar 25, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@fangxintao
Copy link

fangxintao commented Mar 25, 2025

Is there an existing issue for this bug?

  • I have searched the existing issues

The bug has not been fixed in the latest main branch

  • I have checked the latest main branch

Do you feel comfortable sharing a concise (minimal) script that reproduces the error? :)

Yes, I will share a minimal reproducible script.

🐛 Describe the bug

I use the HybridParallelPlugin methods and set pp_size to 2, tp_size to 1, it can train success, but got the issue
AttributeError: 'Tensor' object has no attribute '_unpad_detach', when I try to use the methods booster.save_model() to save model. I have no ideas to solve this problem. how to deal with this?

Environment

No response

@fangxintao fangxintao added the bug Something isn't working label Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants
@fangxintao and others