theseus icon indicating copy to clipboard operation
theseus copied to clipboard

Implicit backward mode gives nan result

Open lpanaf opened this issue 1 year ago • 2 comments

Hi, thanks for the nice project. I am now encountering some problems with the implicit backward mode: it very frequently gives NaN results for the last iteration. Here is one such example: https://drive.google.com/file/d/1IjcDdZSFFdlLf1w80rSDpzJ-ANzI_ouY/view?usp=drive_link. Running the issue.py file, and you should see nan error as well

Do you know what can be the reason? Thanks in advance!

lpanaf avatar Sep 01 '24 21:09 lpanaf

Thanks for reporting @lpanaf. Is there any chance you can build a smaller example that reproduces this error?

luisenp avatar Sep 11 '24 12:09 luisenp

Hi, thanks for looking into the problem. This link should provide the necessary information to reproduce the error :) Running the issue.py file directly would be enough

lpanaf avatar Sep 12 '24 08:09 lpanaf