Skip to content

Add the Transformer parity test suite#404

Open
LegrandNico wants to merge 1 commit into
feat/error-conventionsfrom
feat/transformer-parity
Open

Add the Transformer parity test suite#404
LegrandNico wants to merge 1 commit into
feat/error-conventionsfrom
feat/transformer-parity

Conversation

@LegrandNico

@LegrandNico LegrandNico commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

End-to-end validation of the hybrid GPT against its Equinox twin: the attention backward formula against autodiff, the fully-transplanted frozen model reproducing the reference forward pass (wiring gate), single-step learning parity for the feed-forward swap and the all-PyHGF model, the categorical output head at vocabulary width against softmax backprop, and the 100-step fused trajectory following the backprop twin's cross-entropy curve. Also enforces that categorical layers are leaf-only.

Stack (7/8) — stacked on #403; next is deep-networks-docs.

🤖 Generated with Claude Code

End-to-end validation of the hybrid GPT against its Equinox twin: the
attention backward formula against autodiff, the fully-transplanted frozen
model reproducing the reference forward pass (wiring gate), single-step
learning parity for the feed-forward swap and the all-PyHGF model, the
categorical output head at vocabulary width against softmax backprop, and
the 100-step fused trajectory following the backprop twin's cross-entropy
curve. Also enforces that categorical layers are leaf-only.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@LegrandNico LegrandNico force-pushed the feat/error-conventions branch from aa62ab2 to 2fa62cc Compare July 8, 2026 21:51
@LegrandNico LegrandNico force-pushed the feat/transformer-parity branch from fbc682b to 28b81b3 Compare July 8, 2026 21:51
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