PPT icon indicating copy to clipboard operation
PPT copied to clipboard

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

Open YCC-324 opened this issue 1 year ago • 0 comments

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.

YCC-324 avatar May 23 '23 09:05 YCC-324