Repository navigation
Phase-2: Sync origin/develop (PR #644), CPU-only CI parity & P0-P10 consistency audit - #647
Merged
Merged
Conversation
…crete atomic targets Introduce self_coupling='feydy_atomic' (exposed via opt-in preset 'unified_v13' with zero new Recipe fields, preserving unified_v12 / DEFAULT_RECIPE bit-for-bit): 1. Scale-invariant discrete-atomic support gate (compute_discrete_atomic_gate): distinguishes finite discrete atomic targets (exact duplicate draws separated by an empty annular gap) from continuous 1D/nD densities and point masses, preventing the q75/q90 manifold gate from blinding chart discovery and orphan transport. 2. Persistent 1-stays / surplus-moves bijection ledger (update_atomic_ledger): uses exact sampled prior rows to pin closest particle(s) per chart via deterministic Hamilton quotas and route only surplus duplicates to nearest deficit charts, paired with zero-radius Born-Infeld commitment, absent-chart shielding, and non-splitting streaming charts (allow_dead_revival=False in atomic mode). 3. Scale-invariant discrete atomic thermal residual: keeps thermal cooling active while any particle is unassigned or uncrisp relative to inter-atom spacing, then cools smoothly once settled. 4. Joint BiGAN inverse codebook contraction (split_joint_table_pair, match_inverse_atomic_targets): contracts encoder codes toward each real atom's assigned latent particle code inside joint_relativistic_loss with zero extra forward passes and full checkpointing via opt_d.record. Verified on GPU 0 (seed=0): - bytegan_hypercube8: PASS 5/5 (256/256 valid unique, rms=0.0445, max=0.183) - bytegan_bigan_dictionary: PASS 5/5 (256/256 fwd/recon/enc-bij, rms=0.0041, recon_rms=0.0109) - 9/9 Forge canaries PASS (clockfree, two_pole, unused_token_hold, cover_leftover, gaussian1d_smoke, interp_sparse_arc, ring16_acquisition, img_bars4, five_word_joint_smoke) - Unit tests (incl. tests/test_unified_bytegan.py bit-exact continuation & parity), check_lint.py, check_repo_bloat.py, and experiments.forge validate all clean.
…teGAN bijection readout
feat(unified): add opt-in unified_v13 (feydy_atomic) solving both 256-byte ByteGAN stretch tasks with 0 regressions
…arity, and audit P0-P10 consistency
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Reconciles
research/four-laws(e655abf8d, PR #633) with concurrentorigin/develop(36e287f98, PR #644feat/unified-v13-bytegan), verifies full local.github/workflows/tests.ymlCPU-only CI parity, repairsRESEARCH_GLOSSARY.md:48, and publishesreports/four-laws-audit/ci-and-consistency-check.md.Key Changes
origin/develop(36e287f98, PR feat(unified): add opt-in unified_v13 (feydy_atomic) solving both 256-byte ByteGAN stretch tasks with 0 regressions #644): Zero merge conflicts; preserves opt-inunified_v13(feydy_atomic) 100% intact; zero edits toparticlegan/production code or immutablereports/forge/records/*.jsonhistorical receipts.tests/four_laws_audit/test_p7_law1_topology.py: Accounts for the exact 11 identical non-pullback CPU optimizer calls (9Adamstate["step"].item()+2CPU-onlyset_sampled_rowsbounds-checkbools at_unified_v11/optimizer.py:563) intercepted by_count_host_syncs(cpu)on bothv4(40+11=51) andv11(8+11=19), strengthens with explicit pullback delta (>= 25) and full-stepGANTrainersync checks (12.0 < 0.35 * 60.0), and setseval_every=500intest_nonadversarial_division_of_laborto skip unused intermediate step-2502048x2048Sinkhorn evals (221.88 s < 600 sfaulthandler_timeout).scripts/four_laws_audit/p9_verify_receipts.py&tests/four_laws_audit/test_p9_receipt_integrity.py: Scopesunified_v1_v12via exact regex (12cards /70studies /69readouts preserved verbatim), tracksunified_v13_plusseparately (1card /3studies), and verifies PR feat(unified): add opt-in unified_v13 (feydy_atomic) solving both 256-byte ByteGAN stretch tasks with 0 regressions #644'sreports/forge/studies/unified-bytegan-bijection.json(2/2ByteGAN PASS,41/41bit-exact invariance,default_recipe_changed is False) alongside historicalunified-v120/2FAIL.tests/four_laws_audit/test_p6_law2_autodiff.py: Adds@pytest.mark.cudaalongside@pytest.mark.skipif(not torch.cuda.is_available(), ...)ontest_cuda_bn_bf16_dual_hook_and_sdpa_backend_boundariesto matchpyproject.toml(-m 'not cuda').particlegan/unified_v12.pyinRESEARCH_GLOSSARY.md:48withparticlegan/_unified_v12/optimizer.py;particlegan/_unified_v11/.reports/four-laws-audit/ci-and-consistency-check.mddocumenting PR feat(unified): add opt-in unified_v13 (feydy_atomic) solving both 256-byte ByteGAN stretch tasks with 0 regressions #644 impacts (ByteGAN2/2PASS, PyTorch2.15.0bimodal DDGAN cohort disclosure, post-feat(unified): add opt-in unified_v13 (feydy_atomic) solving both 256-byte ByteGAN stretch tasks with 0 regressions #644 LOC8,579/7,091/+780_t1_coupling/,75shiftedfile:linerefs,unified-v13naming collision), all 8 cross-report P0–P10 contradictions/drifts, and complete local CI parity evidence.Verification (CPU-Only,
OMP_NUM_THREADS=1 MKL_NUM_THREADS=1)python scripts/check_lint.py: PASS (294baseline,0additions)python scripts/check_repo_bloat.py: PASS (0new violations,302legacy allowlisted)pytest -v --durations=25 -o faulthandler_timeout=600 tests/four_laws_audit/:89 passed, 1 deselectedin438.36 s(max test221.88 s < 600 s)pytest -q tests/test_unified_bytegan.py:13 passedin6.62 spytest -q tests/test_forge_bytegan.py tests/test_unified_v11.py tests/test_unified_v12.py:66 passedin71.90 spytest -q tests/test_docs_links.py tests/e2e/test_repository_hygiene.py tests/test_forge_current_technique_inventory.py tests/test_publication_integrity.py:179 passedin90.11 sscripts/ci_pytest.py8-shard check:9,752tests verified non-overlapping (528CUDA deselected)944,335 B) & sdist (869,268 B) exclusion checks: PASS (< 1.2 MB,0four-laws files leaked)