Skip to content

feat: GF-T magsub log-depth normalize (~2x smaller designs) - #1846

Merged
gHashTag merged 1 commit into
masterfrom
feat/gft-magsub-logdepth
Aug 7, 2026
Merged

feat: GF-T magsub log-depth normalize (~2x smaller designs)#1846
gHashTag merged 1 commit into
masterfrom
feat/gft-magsub-logdepth

Conversation

@gHashTag

@gHashTag gHashTag commented Aug 7, 2026

Copy link
Copy Markdown
Owner

New spec gft_xorpercep4.t27 — fully-on-chip 2-layer XOR trainer using a LOG-DEPTH magsub normalize (binary-search priority-encoder 8/4/2/1 + single barrel shift, replacing the 12-iteration linear loop, capped identically). Proven bit-identical over 17.4M (hi,lo) pairs (0 mismatches); in-spec PASS. Synthesis: 9.1M vs 17.86M (-48%); gft_logistic 16.7M->9.62M (-42%). magsub is the design-size bulk, so this shrinks every GF-T core ~2x and brings a fully-on-chip 2-layer trainer under the ~17M correctness ceiling. Silicon reconfirmation pending a board power-cycle (AX7203 degraded mid-session: configures but computes 0 incl known-good sgd). docs/NOW.md updated. Refs #1764

gft_xorpercep4.t27: fully-on-chip 2-layer XOR trainer using a LOG-DEPTH magsub
normalize -- replaces the 12-iteration linear normalize loop with a binary-search
priority-encoder (8/4/2/1) + single barrel shift, capped identically
(min(12,off-1)).

Proven bit-identical to the original magsub over 17.4 MILLION (hi,lo) pairs (0
mismatches); in-spec test PASS. Synthesis: 9.1M fasm vs 17.86M linear (-48%);
same optimization takes gft_logistic 16.7M->9.62M (-42%). magsub is the size
bulk (every sadd uses it), so this shrinks every GF-T core ~2x and brings a
fully-on-chip 2-layer trainer under the ~17M correctness ceiling.

Silicon reconfirmation pending a board power-cycle (the AX7203 degraded
mid-session: configures but computes 0 for all ops incl known-good sgd). The
optimization is sim-proven and synthesis-shrunk.

Refs #1764

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

PR Dashboard

Generated at: 2026-08-07 07:29:58 UTC

Summary

Status Count
Total Open PRs 7
PRs with Failing Checks 0
PRs with All Checks Green 7
READY 5
FAILING 0
PENDING 0

Seal Status

  • ⚠️ STALE -- sha256(compiler.rs)=4c1aaad5309a != manifest seal=87e5cbd3ad94.
    The committed NMSE numbers were certified against an older compiler.rs.
    Run scripts/reseal-check.sh locally for the two-step reseal command (advisory; not a merge gate).

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown
Contributor

📓 NotebookLM Notebook linked to this PR

This notebook contains session context, decisions, and artifacts for this work.

@gHashTag
gHashTag merged commit c171187 into master Aug 7, 2026
17 checks passed
@gHashTag
gHashTag deleted the feat/gft-magsub-logdepth branch August 7, 2026 07:31
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