Skip to content
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

How to convert a model parallel model to hugging face model? #879

Closed
guozhiyao opened this issue Apr 12, 2023 · 1 comment
Closed

How to convert a model parallel model to hugging face model? #879

guozhiyao opened this issue Apr 12, 2023 · 1 comment
Labels
feature request New feature or request

Comments

@guozhiyao
Copy link

Is your feature request related to a problem? Please describe.
I train a model with "model-parallel-size": 2, and try to convert it to hugging-face model. I refer to tools/convert_to_hf.py for conversion, and the model can load parameters normally, but the generated results are random.
While I train a model with "model-parallel-size": 1, and use the same code to convert and generate, the result is normal. So I suspect it is because of the conversion code.

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

@guozhiyao guozhiyao added the feature request New feature or request label Apr 12, 2023
@Quentin-Anthony
Copy link
Member

Closing as duplicate of #880

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

No branches or pull requests

2 participants