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

RuntimeError: element 1 of tensors does not require grad and does not have a grad_fn #12

Open
YCC-324 opened this issue May 23, 2023 · 0 comments

Comments

@YCC-324
Copy link

YCC-324 commented May 23, 2023

Hello, when training the model, if I didn't use the option 'deepspeed', the error occurred: RuntimeError: element 1 of tensors does not require grad and does not have a grad_fn. Is there anything I should change? Thank you.

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

1 participant