Found during #1299. When `maximize` is true and `grad` is false, this (in some optimizers' `step` method) will definitely throw an exception:  For instance:  I will try to fix this after #1299 has been merged.
Activity
NiklasGustafsson commentedon Apr 26, 2024
It's technically a different problem, but I would suggest lumping it in with #1299.
yueyinqiu commentedon May 9, 2024
fixed in #1299