-
Notifications
You must be signed in to change notification settings - Fork 44
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
DeepSpeed版本训练报错RuntimeError: The size of tensor a (780) must match the size of tensor b (781) #40
Comments
一样遇到,但是我的是 unsloth 版本 |
遇到了如下的错误: |
我也遇到了:RuntimeError: The size of tensor a (1024) must match the size of tensor b (1025) at non-singleton dimension 1 |
train_Datawhale-R1_unsloth.py中第201行: |
十分感谢,修改之后可以正常运行了。 |
我没有 get 到为什么会出现这种情况, @tize-72 你这样修改后能在 DeepSpeed 的版本上运行吗? |
不是unsloth版本的也会训练报维度错误,这个不知道有人遇到过吗
The text was updated successfully, but these errors were encountered: