-
Notifications
You must be signed in to change notification settings - Fork 259
New issue
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
Mass spring loss is nan
after repeatedly running
#61
Comments
Hi @alansun17904 , if it is possible to share a minimal repro code? |
Thanks for the quick response. I modified
Then, I am calling
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am running taichi 1.2.1 with arm64 arch and Python 3.10.8. I've written some code that repeatedly calls the
mass_spring
simulation with different mass spring layouts and the loss of mass spring becomes nan when this happens. However, this behavior is not deterministic, sometimes it happens after 1 iteration other times after 4-5 with it not failing on a particular mass_spring layout.Before and after each call to mass_spring main, I am reloading the mass_spring file to re-initialize the variables and after I am tearing down with
ti.reset()
.Could someone please shed some light on this error?
The text was updated successfully, but these errors were encountered: