Skip to content

feat: GF-T axpy primitive (perceptron/SGD vector update) - #1824

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

feat: GF-T axpy primitive (perceptron/SGD vector update)#1824
gHashTag merged 1 commit into
masterfrom
feat/gft-axpy

Conversation

@gHashTag

@gHashTag gHashTag commented Aug 7, 2026

Copy link
Copy Markdown
Owner

New spec gft_axpy.t27 — one-class weight-vector update w' = w +/- eta*x over 2 features (sign=1 boost, sign=0 suppress); returns (w0'<<32)|w1'. In-spec tests (boost/supp) PASS. Building block for multi-class perceptron training. Honest note: a full on-chip 3-class perceptron placed on AX7203 (fasm 22.9M) but exceeds the openXC7 CORRECTNESS envelope (GF-T sim converges 100%, iverilog learns, silicon miscomputes) — documented for future split-pass approach. docs/NOW.md updated. Refs #1764

gft_axpy.t27: one-class weight-vector update w' = w +/- eta*x over 2 features
(sign=1 boost w+eta*x, sign=0 suppress w-eta*x); returns (w0'<<32)|w1'. Reuses
smul/sadd/neg. Building block for multi-class perceptron training.

Honest envelope note: a full on-chip 3-class perceptron (GftClassify3 + 2x
GftAxpy + register routing) placed on the AX7203 (fasm 22.9M) but exceeds the
openXC7 CORRECTNESS envelope -- a faithful GF-T Python sim converges to 100% and
iverilog learns, but the silicon bitstream miscomputes. The axpy spec itself is
verified (boost/supp tests PASS). On-chip multi-class training needs the model
split into smaller separately-verified passes.

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 02:22:34 UTC

Summary

Status Count
Total Open PRs 4
PRs with Failing Checks 0
PRs with All Checks Green 4
READY 3
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 370ca18 into master Aug 7, 2026
17 checks passed
@gHashTag
gHashTag deleted the feat/gft-axpy branch August 7, 2026 02:23
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