taichi-dev/difftaichi

loss become NAN with Taichi 0.4.0

SJHNJU opened this issue · 7 comments

I install taichi-nightly on OS X and try to run the demo: diffmpm.py, diffmpm3d.py, liquid.py.

However the loss become NAN on the second iteration.

WHY???

Hi, thanks for reporting. Which taichi version, device (CPU/GPU), and OS are you using?

Thanks! The configurations are as follows:
taichi-nightly (0.4.0)
CPU
MacOS Mojave(10.14.3)

Thank you. I can reproduce this on my end now. I'll fix it later. Please try Taichi v0.3.25 and see if it works for you.

Fixing related issues. Taichi v0.3.18 is the version that works.

Confirmed that the change between v0.3.23 and v0.3.24 introduced something that caused ill behavior in diffmpm.py

Update: this should be fixed in Taichi v0.4.1. Please update and let me know if your issue is resolved. Thanks so much for reporting!

The issue is resolved, Great job!!!
Lots of respect, Thank you!