Open aooating opened 1 year ago
when running the code: diffopt.step(buff_losses) the following problem occurs: RuntimeError: trying to differentiate twice a function that was markedwith @once_differentiable but when setting track_higher_grads: bool = False, it runs correctly. I want to know why this issue occurs. Thanks a lot for answering my question!
does this setting have any effect on the final result?
when running the code: diffopt.step(buff_losses) the following problem occurs: RuntimeError: trying to differentiate twice a function that was markedwith @once_differentiable but when setting track_higher_grads: bool = False, it runs correctly. I want to know why this issue occurs. Thanks a lot for answering my question!