Conversation
haixuanTao
referenced
this pull request
in haixuanTao/nexus
Jul 14, 2026
emit_limit_constraint always emitted a kind=1 row and computed its O(ndofs) LU back-solve column, even when the joint sits strictly inside its bounds — where the row has zero positional bias AND both impulse clamps at 0, so it can never apply any impulse. Every PGS sweep then carried #joints dead rows per env per substep. Skip emission when !min_enabled && !max_enabled: the slot stays kind=0 (pre-zeroed by the discovery walk), which compute_joint_columns_par and both PGS sweeps already skip. Constraints are rebuilt from current coords each substep, so a joint reaching its bound re-emits next substep exactly as before. Result-identical (verified: bit-identical training stats on the zealot biped). Measured (zealot biped trainer, 5090): gpu_mb_init_solve_joint_with_bias was the #1 GPU kernel for a 25-joint humanoid (28% — O(joints) rows x O(ndofs) back-solve each, per substep); with the skip, full-body-G1 iteration throughput +16%, 12-DOF biped +5%. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016Dbpu5NhqXK2Xt3YzUbJRM
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.