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

Question about sft with deepspeed #170

Open
XXares opened this issue May 27, 2024 · 1 comment
Open

Question about sft with deepspeed #170

XXares opened this issue May 27, 2024 · 1 comment

Comments

@XXares
Copy link

XXares commented May 27, 2024

Hello , I face a problem when training mistral model in a sft way with deepspeed zero3 config, here is the error information:

Variable._execution_engine.run_backward(  # Calls into the C++ engine to run the backward pass

RuntimeError: The size of tensor a (0) must match the size of tensor b (14336) at non-singleton dimension 1

Which problem occurs in loss computation process and do you have any suggestions about this problem?

@mianzhang
Copy link

same question here.

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