PPT
PPT copied to clipboard
RuntimeError: element 1 of tensors does not require grad and does not have a grad_fn
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.