You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
JIT-compilation in PyTorch has many problems and pitfalls and is not actually that much faster. For fast code, I recommend jit-compiling with Jax or TensorFlow.
I was considering integrating phiflow with nimblephysics for solid motion and collision support https://github.com/keenon/nimblephysics. But nimblephysics supports only pytorch.
Hi, I am trying to do gradient based training, unfortunately with jit_compile I get an error:
RuntimeError: Cannot insert a Tensor that requires grad as a constant. Consider making it a parameter or input, or detaching the gradient
The text was updated successfully, but these errors were encountered: