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
When using the GlobalInternalCoordinateTransform together with functorch (more specifically jacrev), I encountered a lot of incompatibilities.
Some things I found that are incompatible:
calling requires_grad_(True) on tensors that already require gradients (haven't tried it for tensors without). E.g. in init_ics2xyz in ic_helper.py
calling torch.any, e.g. in dist_deriv in ic_helper.py
inplace arithmetics, e.g. in _rotmat3x3 in ic_helper.py
It seems like mainly ic_helper.py being the issue.
The text was updated successfully, but these errors were encountered:
When using the
GlobalInternalCoordinateTransform
together withfunctorch
(more specificallyjacrev
), I encountered a lot of incompatibilities.Some things I found that are incompatible:
requires_grad_(True)
on tensors that already require gradients (haven't tried it for tensors without). E.g. ininit_ics2xyz
inic_helper.py
torch.any
, e.g. indist_deriv
inic_helper.py
_rotmat3x3
inic_helper.py
It seems like mainly
ic_helper.py
being the issue.The text was updated successfully, but these errors were encountered: