Skip to content

Revert the truncated-Wigner work (PRs #10 and #11) - #12

Merged
alacour merged 2 commits into
mainfrom
revert/wigner-d-slice
Aug 28, 2026
Merged

alacour merged 2 commits into
mainfrom
revert/wigner-d-slice

Conversation

@alacour

@alacour alacour commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Rolls back both the kept-column D-slice and the analytic/matrix-free rotation, plus the profile_step flag (git revert -m 1 of merges 6e36b8f and 6f6fd50).

Rationale: the analytic path measured 1.8× slower end-to-end on GPU (its backward runs sphericart Hessians on every force call, and the matrix-free application trades one bmm for many small kernels), and the production configuration here uses the fused Triton kernels, which never benefited from the slice either (they already read only the kept D entries). Reverting wholesale keeps the codebase at its pre-#10 simplicity; the work remains in history and in the PR records if a m_max < l_max eager configuration ever makes it worth resurrecting — the closed forms and their verification are documented in the reverted commits.

Full suite green, ruff clean at the tip.

🤖 Generated with Claude Code

…igner"

This reverts commit 6e36b8f, reversing
changes made to 6f6fd50.
This reverts commit 6f6fd50, reversing
changes made to 55306f2.
@alacour
alacour merged commit bc0508a into main Aug 28, 2026
1 check passed
@alacour
alacour deleted the revert/wigner-d-slice branch August 28, 2026 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant