We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently, the optimizer does not check whether the parameters have gradients when calling .step(), It could be valuable to return a warning.
.step()
This could be checked in get_gradient_and_context_text function of optimizer.py.
get_gradient_and_context_text
The text was updated successfully, but these errors were encountered:
great point.. we should add this in the next release. thank you @linyuhongg !
Sorry, something went wrong.
No branches or pull requests
Currently, the optimizer does not check whether the parameters have gradients when calling
.step()
, It could be valuable to return a warning.This could be checked in
get_gradient_and_context_text
function of optimizer.py.The text was updated successfully, but these errors were encountered: