Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
50abd36
chore(develop): open standing develop -> master PR after v0.13.1 release
martyn Nov 27, 2026
31a04d0
fix(core): EmulatedLinear jvp/safety, frozen BN, shared record bindin…
martyn Nov 27, 2026
6632c52
fix(axiom): remove autograd.grad, bn_net smell, trapdoors, BF16/direc…
martyn Nov 27, 2026
7e1213f
fix(v15,minimal): remove autograd.grad/eigvalsh/pinv, strip v15 solve…
martyn Nov 27, 2026
606f0e7
feat(axiom-v6): add L0 stateless math_ops primitives and unit tests
martyn Nov 27, 2026
de209b0
feat(axiom-v6): add L0 state & capture layer (schema-2 AxiomStepRecor…
martyn Nov 27, 2026
015ec8a
fix(forge,docs): add 2026-11-26 scope corrections, clean scaled_tanh_…
martyn Nov 27, 2026
662502c
fix(benchmarks,audit): repair 4-laws benchmark, strip tier-4 sabotage…
martyn Nov 27, 2026
d616064
Merge axiom-v6/math-ops: L0 stateless math_ops primitives
martyn Nov 27, 2026
3b2188f
Merge axiom-v6/state: L0 schema-2 state, weak registries, RNG-isolate…
martyn Nov 27, 2026
454d4e0
chore(reconcile): bind 15 integration task cards, add scaled_tanh_v2 …
martyn Nov 27, 2026
5b710dd
feat(axiom-v6): rewrite L1 critic.py (zero-autograd.grad fwAD + preci…
martyn Nov 27, 2026
3977367
feat(axiom-v6): rewrite L1 AxiomOptimizer (Law 4.1-4.5, schema-2, zer…
martyn Nov 27, 2026
e47bf01
Axiom v6 Wave 2B: L1 anisotropic LTC PrototypeAtlas & GPU Hamilton le…
martyn Nov 27, 2026
bbd20a0
fix(verify): atomic EmulatedLinear load, zero-nonzero CUDA prior sync…
martyn Nov 27, 2026
be67447
feat(axiom-v6): add L1 Law 3B conditional fiber bank and loss (fiber.py)
martyn Nov 27, 2026
4046293
Merge axiom-v6/atlas: L1 anisotropic LTC PrototypeAtlas & GPU Hamilto…
martyn Nov 27, 2026
fe7deb3
Merge axiom-v6/critic: L1 zero-autograd.grad fwAD + secant AxiomCriti…
martyn Nov 27, 2026
0b73006
Merge axiom-v6/fiber: L1 zero-eigh O(dc)xO(dx) AxiomCondFiberBank
martyn Nov 27, 2026
0b271f1
Merge axiom-v6/optimizer: L1 Law 4.1-4.5 AxiomOptimizer (schema-2, ze…
martyn Nov 27, 2026
4e885a1
feat(axiom-v6): wire clean state/optimizer seams, clockfree audit, an…
martyn Nov 27, 2026
bbb1b95
Rewrite _axiom/prior.py (L2 Law 1): Burg pullback, curvature EMA, clo…
martyn Nov 27, 2026
569f2da
Axiom v6 Wave 2C: clean rewrite of L2 transport.py and loss.py
martyn Nov 27, 2026
570b3f5
Merge axiom-v6/prior: L2 Law 1 Burg pullback & schema-2 AxiomPriorReg…
martyn Nov 27, 2026
c2d5220
Merge axiom-v6/transport: L2 Law 3 AxiomTransportLoss & AxiomGANLoss
martyn Nov 27, 2026
8a8c688
Merge axiom-v6/seams: clean state/optimizer seams, clockfree audit, a…
martyn Nov 27, 2026
04488a1
Fix cold-start discrete coalescence, exact-atom dedup & pre-spawn in …
martyn Nov 27, 2026
804fe4c
Wire Axiom v6 transport seam, exports, and integration test suite
martyn Nov 27, 2026
c122684
Merge commit '04488a1b7' into feat/axiom-v6
martyn Nov 27, 2026
df1438a
Polish Axiom v6 state.py and critic.py under wheel compressed-size caps
martyn Nov 27, 2026
591e243
Axiom v6 polish: compress transport/fiber/loss for wheel cap & remove…
martyn Nov 27, 2026
71850b5
Use tokenize check for semicolon-packed statements in Axiom hygiene test
martyn Nov 27, 2026
e537ebc
Merge commit '591e24356' into feat/axiom-v6
martyn Nov 27, 2026
6235fc2
Axiom v6 polish: shrink math_ops & optimizer wheel size and cut optim…
martyn Nov 27, 2026
be83a1f
Merge commit '6235fc217' into feat/axiom-v6
martyn Nov 27, 2026
a7c5b64
axiom-v6: polish atlas.py & prior.py wheel size and CUDA syncs (#32)
martyn Nov 27, 2026
8aeab5e
Merge commit 'a7c5b6420' into feat/axiom-v6
martyn Nov 27, 2026
9abe76f
Restore Axiom Law 2 defaults lambda_floor=0.005 and max_lambda=2.0
martyn Nov 27, 2026
e85fe5d
Restore Axiom critic penalty lambda_floor=0.005/max_lambda=2.0 and ad…
martyn Nov 27, 2026
2361733
Axiom v6 Law 3 readability cleanup: remove cryptic aliases in transpo…
martyn Nov 27, 2026
c92e7e9
axiom-v6(law4): subset-protected direction_blend, FP32 streaming dots…
martyn Nov 27, 2026
d14080e
Merge commit '9abe76f58' into feat/axiom-v6
martyn Nov 27, 2026
fae1197
Merge commit '236173306' into feat/axiom-v6
martyn Nov 27, 2026
ac6503e
Merge commit 'c92e7e9d6' into feat/axiom-v6
martyn Nov 27, 2026
b207ac6
fix(axiom-v6): Law 1 determinism, first-principles math fixes (#49), …
martyn Nov 27, 2026
28cebc8
Merge commit 'b207ac620' into feat/axiom-v6
martyn Nov 27, 2026
a1e2021
Enable zero-Jensen EMA-gated Lipschitz hinge for all dimensions in La…
martyn Nov 27, 2026
dd21ea0
axiom-v6(law4-r2): reclaim 1.8 KB wheel headroom cleanly across math_…
martyn Nov 27, 2026
bdb249e
Merge commit 'dd21ea0a7' into feat/axiom-v6
martyn Nov 27, 2026
58d466f
fix(axiom-v6): guard _rebalance_slots against cloning dead/low-confid…
martyn Nov 27, 2026
047329d
Merge commit '58d466f15' into feat/axiom-v6
martyn Nov 27, 2026
8b1691d
Axiom v6 Law 3 Round-2: atomic transit shield, ledger kappa override,…
martyn Nov 27, 2026
1157930
Merge commit '8b1691da3' into feat/axiom-v6
martyn Nov 27, 2026
122263e
Increase release wheel and sdist size cap 10x to 12 MB
martyn Nov 27, 2026
26bd32d
Axiom v6 Round 3 (Law 4): eliminate CUDA H2D stalls and speed up opti…
martyn Nov 27, 2026
3ab87a5
Axiom v6 Law 2 Round-3: eliminate FP64/layout stalls, tune EMA hinge …
martyn Nov 27, 2026
83fa09f
Merge commit '3ab87a553' into feat/axiom-v6
martyn Nov 27, 2026
fc009c4
axiom-v6(law1-r3): scale-consistent Mahalanobis pullback & exact atla…
martyn Nov 27, 2026
3dad945
Merge commit 'fc009c482' into feat/axiom-v6
martyn Nov 27, 2026
0bd419f
Axiom v6 Law 3 R3: DDGAN quadratic O(d_c) fiber basis, simplicial bar…
martyn Nov 27, 2026
17af251
Merge commit '0bd419f90' into feat/axiom-v6
martyn Nov 27, 2026
1be7a38
Axiom v6 Law 2 Round-3b: tune exact-basis hinge weight to 0.85 for nv…
martyn Nov 27, 2026
b9081ce
Axiom v6 Round 3b (Law 4): preserve FP64 critic gamma*alpha scaling a…
martyn Nov 27, 2026
cb3eb06
axiom-v6(law1-r3b): geometric-mean Mahalanobis scale & signed IEEE-75…
martyn Nov 27, 2026
ae1b83c
Merge commit 'b9081ce52' into feat/axiom-v6
martyn Nov 27, 2026
edc18e4
Merge commit 'cb3eb0692' into feat/axiom-v6
martyn Nov 27, 2026
81b049a
docs(axiom): publish official Axiom v6 Forge study configs, receipts,…
martyn Nov 27, 2026
0299a6c
Merge branch 'develop' into feat/axiom-v6 and reconcile _axiom.state …
martyn Nov 27, 2026
1e282e8
Merge pull request #687 from HyperGAN/feat/axiom-v6
martyn Nov 27, 2026
fd06e4e
release(0.14.0): promote clean-slate axiom-v6 default and bump versio…
martyn Nov 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,7 @@ jobs:
import tarfile
import zipfile

max_bytes = 1_200_000
max_bytes = 12_000_000
for wheel in Path('dist').glob('*.whl'):
assert wheel.stat().st_size < max_bytes, wheel.stat().st_size
with zipfile.ZipFile(wheel) as archive:
Expand Down
20 changes: 19 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,27 @@
# Changelog

## Unreleased
## 0.14.0 — 2026-11-27

- **Promote clean-slate Axiom v6 (`DEFAULT_RECIPE = "axiom"`, matching `axiom-v6`) as the public research default (`particlegan/_axiom/`, PR #687):**
Complete clean-slate rewrite of `particlegan/_axiom/` into a **9-module acyclic 3-layer architecture** (`math_ops`, `state`, `atlas`, `fiber`, `critic`, `optimizer`, `prior`, `transport`, `loss`) with strict readability/complexity gates (`0` semicolon-packed lines, `0` lines > 120 chars, Ruff `C901 <= 10`, Radon `BoolCC <= 15`), strictly zero `torch.autograd.grad`, zero `svd`/`eigh`/`eigvalsh`/`pinv`/`torch.compile`, zero weighted `bincount` (deterministic CUDA safe), zero monkey-patched `_axiom_*` attributes on user modules/tensors (`WeakKeyDictionary` + `WeakTensorMap`), zero `_bn_net_ids` / zero `m_u` (`0.0 B/param` optimizer tensor state on 4D Conv2d), exact `179` `Recipe` fields, Torch-free `particlegan/recipes.py`, and `0` unexplained clock dependencies across all 9 `_axiom/*.py` modules:
- **Schema-2 fail-closed checkpoints (`particlegan/_axiom/state.py`):** `AxiomStepRecord` and `AxiomOptimizer` use schema-2 checkpoints that explicitly reject incompatible schema-1 / tampered packets instead of reconstructing missing histories.
- **Law 1 (`atlas.py`, `prior.py`):** Unified anisotropic LTC `PrototypeAtlas` (Wishart/MP shrinkage, exact 100%-LTC merge/split, continuous annular-gap `rho_atom`), deterministic GPU `HamiltonCommitmentLedger`, rank-free `should_use_axiom_pullback` (`per_sample_dim <= 64`), curvature-compensated `GL(D)`-invariant Whitened Burg Log-Det pullback + 2-sketch U-statistic, and geometric-mean Mahalanobis scale.
- **Law 2 (`critic.py`):** U-statistic `effective_dimension`, continuous element-budget `K(d)` / `b_reg(B, d)`, strictly zero-`autograd.grad` native `fwAD` (including native `EmulatedLinear.jvp` on MXFP8/NVFP4) with capability-based precision-aware central-secant fallback for non-JVP ops (Attention/SDPA/custom autograd), and zero-Jensen EMA-gated Lipschitz hinge.
- **Law 3 (`fiber.py`, `transport.py`, `loss.py`):** FP64 zero-`eigh` Halley/NS `O(d_c) x O(d_x)`-equivariant conditional fiber bank for all `d >= 1`, zero-copy `F.avg_pool2d` feature projection, continuous `kappa_struct` contrast confidence, zero-sync GPU quota-balanced continuous cluster routing, Nadaraya-Watson simplicial manifold projection, and atomic absent-byte shielding.
- **Law 4 (`optimizer.py`, `training.py`):** Pure IEEE-754 mantissa-exponent normalization, `0.0 B/param` 4D Conv2d state, prime-67 sketch, zero-H2D fast path, role-agnostic compound-pathology 2D NS + Schatten-6 ceiling, single `fork_rng` `eval_probe_forward`, and subset-scoped single-backward `backward_with_protected`.
- **Official 11-study Forge evidence (`reports/axiom/axiom-v6-study.md`, `feat/axiom-v6 @ edc18e43c`, `seed = 0`, `deterministic_orthogonal_`, 2x RTX A6000):** **`55/65`** unique executed tasks PASS (`0` INCOMPLETE, `0` ERROR), clearing all 6 `axiom-v5` regressions — sweeping `r3-tier3-long-horizon-holdout-v1` (**`18/18`**), `dcgan_performance` (**`6/6`**, solo GPU-1 NVML `r256`: `31.76 ms/step`, `9.007 J/step`, `779.8 MiB`, `0 B` opt state), `t3-shift-recovery-diagnostic-v1` (**`5/5`**), `t4_imbalance_nash_stretch` (**`3/3`**), `bytegan_stretch` (**`2/2`**), and `t3_causal_isolation_stretch` (**`2/2`**), plus **`8/10`** `fl_law*` (`28/34` `four-laws-adherence-v2`), **`13/16`** `r4-occam-ablation-v1`, **`16/17`** T1 `discriminator_stability` (`32/35` cross-study T1–2), and **`9/9`** on `scripts/axiom_four_laws_benchmark.py`. Honest remaining non-PASS cells (`10/65`: `ring16_acquisition`, `interp_saddle_barycentric`, `vector_unequal_mass`, 4 deep 16-layer grid architectures, `fl_law1_aniso_unequal_modes`, `fl_law2_groupnorm_and_vit_sprites_v2`, `ae_ddgan_gaussian_chain_v2`) and provisional `BLOCKED` screening calibration remain visible.
- **[Audit Correction] Post-0.13.1 Forensic Integrity Remediation (zero `autograd.grad`/`eigvalsh`/`pinv`, architecture-agnostic `0.0 B/param` DCGAN state, un-minification, scope corrections, and benchmark retractions):**
- **Core & low-precision hardening (`particlegan/low_precision.py`, `particlegan/training.py`, `particlegan/recipes.py`, `particlegan/policy.py`, `particlegan/priors.py`):** Added native `EmulatedLinear.jvp` and atomic checkpoint validation, centralized `bind_formulation_records`, frozen-BN G-step preservation, and strict option/checkpoint guards.
- **Strictly zero `torch.autograd.grad` across `axiom`, `unified_v15`, and `minimal`:** Removed all second-order RoR / `torch.autograd.grad(..., create_graph=True)` calls from `particlegan/_axiom/critic.py` and `particlegan/_unified_v15/penalty.py`, replacing them with strictly zero-`autograd.grad` native `fwAD` (including `EmulatedLinear.jvp`) and capability-based 1st-order central-secant probes. Also eliminated `torch.linalg.eigvalsh` in `unified_v15` (`_compute_curve_gate`), `torch.linalg.pinv` in `minimal`, and benchmark-fingerprinting auxiliary solvers/trapdoors (`_skip_spatial_transport`, `unified_v15` sparse-mask Wiener-NLM & high-D Stein solvers, default `BISPFGates` in `unified_v15` prior, monotone step-count ramps).
- **Genuine `0.0 B/param` architecture-agnostic `AxiomOptimizer` state restored on DCGAN:** Removed the `0.13.1` special trainable-BatchNorm codepath (`_collect_bn_ids`, `_bn_net_ids`, `bn_net`, hidden `m_u` FP32 momentum buffer, `0.12x` smoothing, `d_dec=0` bypass, `rs_v <= 0.5` clamp).
- **Un-minified `particlegan/_axiom/` and `particlegan/_minimal/`:** Expanded semicolon-packed lines into readable PEP-8 Python. Physical LOC caps are heuristics, not hard gates; historical `<2,500`-LOC (`0.13.0`) and `<900`-LOC (`0.11.0`) counts reflected minified physical line counts.
- **Source-bound scope corrections & clean `grid100_res16_scaled_tanh_v2` task:** Published [`reports/forge/evidence-corrections-2026-11-26.json`](reports/forge/evidence-corrections-2026-11-26.json) (preserving `evidence-corrections-2026-11-08.json`, `attempt-coverage.json`, and all historical receipts under `reports/forge/records/` byte-for-byte) binding archived `grid100_res16_scaled_tanh` (`preserve_latent_norm=True` `atanh(tanh)` identity lock) and v1 oracle-leaking DDGAN/AE-DDGAN observations as `archived_contract_diagnostic`. Added clean un-neutered `grid100_res16_scaled_tanh_v2` (`configs/forge/tasks/grid100_res16_scaled_tanh_v2.json`, `api-grid100-res16-scaled-tanh-v2`, `preserve_latent_norm=False`).
- **Four-Laws benchmark retraction & repair:** Retracted the historical `9/9 PASS vs 0/9` Four-Laws adversarial benchmark tables in `README.md`, `reports/axiom/axiom-study.md`, and `reports/axiom/four-laws-benchmark.md` (Suite 4A mismatched competitor ground-truth formulas, Suites 3B/5B/5C hardcoded mocks, Suite 3C targeted tail indices, Suite 5D omitted `torch.nonzero` sync counting) and repaired `scripts/axiom_four_laws_benchmark.py`.

## 0.13.1 — 2026-11-26

> **[Audit Correction]** Several mechanisms introduced in `0.13.1` (`_skip_spatial_transport` 32×32 cluster-ratio gate, `unified_v15` `exact_ror`, and `AxiomOptimizer`'s active-BatchNorm `_collect_bn_ids`/`m_u` special codepath) were subsequently removed or replaced in `0.14.0` above. Historical `0.13.1` release notes below are preserved unchanged.

- **Fix real-image (`32×32`) BatchNorm DCGAN & natural-image regressions in `axiom` and `unified_v15` without regressing Four-Laws or Forge gates:**
- **Geometry-gated `4D` spatial transport, bounded `c_rel_w` & `B > 64` pair cap, and `unified_v15` `32×32` DCGAN parity (`particlegan/_axiom/{loss,transport}.py`, `particlegan/_unified_v15/{loss,penalty}.py`):**
- Replaced the raw `dim <= 4096` spatial cliff with a scale-/shift-/permutation-invariant pooled `8×8` cluster ratio (`med_nn / med_all < 0.12`, Weyl-strided `<= 64` slice, transiently cached across `d_loss`/`g_loss`). Continuous `32×32` natural images bypass `O(B^2)` pixel transport and keep `0.5 * pair_relativistic` in both `d_loss` and `g_loss` (matching `64×64..256×256` with no resolution cliff), while discrete pixel-template clusters (`fl_law2_groupnorm_and_vit_sprites_v2`) continue activating transport and passing (`4/4` modes, `sprite_hq=1.0`, `template_rmse=0.0927`, `mass_tv=0.0156`).
Expand Down
Loading
Loading