-
Notifications
You must be signed in to change notification settings - Fork 11
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
Impossible to run with JAX_DISABLE_JIT set to True model with zero dof #191
Comments
I already encountered this problem in the past for similar reasons. Refer to: In that occasion, I fixed only the RBDAs that I needed. In your case, there are other ones that fail for similar reasons. Can you try to apply something similar to the following to exclude running the scan call? Lines 163 to 171 in 7340d43
|
This can be added to #186 |
Probably it's time to merge that PR. We're already a bit further than what I define "minor changes", as it often happens 😄 |
Cool thanks, we had the intuition that a workaround something that was necessary, but we were a bit clueless. @xela-95 probably you can open a PR yourself with the fix proposed by @diegoferigo ? |
Sure, I'll try to see if this fixes the issue and then open a PR :) |
xref other jax issues:
The fix suggested by @diegoferigo is useful and may be useful for users finding related jax issues on search engines. |
It's worth noting that (if I don't mistake) the fix works in our case only because the condition of the |
Most cases we saw were indeed due to |
We actually do support that, and single-body models are also part of our test suite (together with a fixed-based and a floating-base model). This went unnoticed because JIT is automatically enabled in tests, and JIT-compiled |
Thanks @flferretti ! |
Related issue on JAX: jax-ml/jax#4668
The error is:
The text was updated successfully, but these errors were encountered: