Skip to content

profile_step: --analytic_wigner + path-aware Wigner breakdown - #11

Merged
alacour merged 1 commit into
mainfrom
feature/profile-analytic-wigner
Aug 28, 2026
Merged

alacour merged 1 commit into
mainfrom
feature/profile-analytic-wigner

Conversation

@alacour

@alacour alacour commented Aug 28, 2026

Copy link
Copy Markdown
Collaborator

Adds --analytic_wigner to tools/profile_step.py (mirrors the other runtime toggles; the model's own guards handle m_max > 1 and the --edge_frame_fused mutual exclusion — verified to surface cleanly).

Also fixes a stale breakdown: the Wigner stage always timed the full-block pipeline, but since #10 the model actually runs the kept-column slice whenever m_max < l_max (or the matrix-free weights under the new flag). The full-block lines remain as the reference decomposition, and a Wigner ACTIVE: pair now times whichever path the model really uses when it differs.

Smoke-tested on an m_max=1 < l_max=2 fixture checkpoint in all three modes.

🤖 Generated with Claude Code

--analytic_wigner toggles the matrix-free rotation (set_analytic_wigner;
m_max <= 1, single-backward — forces are profiled, force-loss training
is not; the model's own guards surface misuse, verified: the
--edge_frame_fused combination raises the mutual-exclusion error).

The Wigner stage breakdown had gone stale for truncated models: it
always timed recursive build → full-block assembly → full bmm, while
since the D-slice landed the model actually runs the kept-column slice
whenever m_max < l_max (and the weight contraction under
--analytic_wigner). The full-block lines stay as the reference
decomposition; a "Wigner ACTIVE:" pair now times whichever path the
model really uses when it differs.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@alacour
alacour merged commit 6e36b8f into main Aug 28, 2026
1 check passed
@alacour
alacour deleted the feature/profile-analytic-wigner branch August 28, 2026 21:18
alacour added a commit that referenced this pull request Aug 28, 2026
Revert the truncated-Wigner work (PRs #10 and #11)
lukasmki pushed a commit to lukasmki/ecenet that referenced this pull request Sep 1, 2026
…ytic-wigner"

This reverts commit 6e36b8f, reversing
changes made to 6f6fd50.
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