You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d386b8d
Browse filesBrowse the repository at this point in the historyBrowse files
"purpose": "Test one higher-resolution export of the unchanged validation-selected original float checkpoint. Retain the failed q1024 result and every new failure.",
5
+
"selection": "Reuse exactly the existing v3 validation-only selection, seed73 step2750. No new seed, checkpoint, float parameter, mixture or model is selected using precision probes or match outcomes. No training or calibration occurs in this profile.",
"arithmetic": "8188/4096 equals 2047/1024 exactly, so the real activation ceiling is unchanged. Int16 weights and bounded int32 biases remain. NEON high-resolution chunks use at most eight products per int32 lane, then widen to int64. File layout and payload size do not increase.",
40
+
"failure_policy": "A failure remains failed. Never increase 32 cp, shrink 100000 probes, pick a favorable replacement seed or overwrite v3 evidence. This new encoding experiment has its own original wall deadline and at most three 1800-second hosted executions per platform, totaling at most 5400 job seconds per platform. GitHub job reruns are refused. No earlier scope is reset or extended and no current timed match actor changes.",
41
+
"acceptance_scope": "Export identity, integer arithmetic and numerical accuracy only. No Elo, full strength, final-source or release pass follows. Any later strength comparison requires its own prospectively frozen immutable actors and unchanged classical control."
# A finer integer lattice without changing the learned model
2
+
3
+
The full-data selected q1024 network failed its numerical gate: maximum float/integer discrepancy 57.055664 cp against the unchanged 32 cp limit. Independent float64 replay confirmed the failure. Its three completed training seeds, selected checkpoint and active strength campaign remain immutable.
4
+
5
+
The prospectively frozen [precision profile](../../config/precision-v4.json) tests one q4096 encoding of that same selected float checkpoint. Seed 73 at step 2750 remains selected by the original v3 validation-only procedure. This experiment performs no training, calibration, checkpoint replacement or model selection from numerical probes or match results. The original checkpoint is included with its [identity](../../results/precision-v4-inputs/IDENTITY.json). Format 3 export must still reproduce the original network byte for byte before format 4 is tested.
6
+
7
+
The new format uses scale 4096 and integer activation cap 8188. The equality `8188/4096 == 2047/1024` preserves the exact real activation ceiling; using 8191 would subtly change the float function. Tensor shapes, payload size, int16 weights, bounded int32 biases, original classical contract 1 and ten-percent mixture are unchanged. The independent byte reader and checkpoint-to-export verifier require the new format explicitly. Legacy full-profile verification cannot silently accept it.
8
+
9
+
NEON lane safety changes with the activation range. The existing 128-input blocks place at most 32 products in a signed int32 lane. At the higher resolution that could overflow. The q4096 path uses 32-input blocks, at most 8 products per lane, so `8 * 8188 * 32768 = 2146435072 < INT32_MAX`. Each block widens to int64 before combining blocks or biases. AVX2 also uses the conservative 32-input bound. Scalar, remainder and four-output dense paths use the same signed rounding and real clipping semantics. The old q1024 path retains its 128-input specialization.
10
+
11
+
The [native tests](../../tests/network_precision_test.cpp) generate original nonzero format 4 fixtures, check incremental state, undo, scalar/SIMD parity, score intervals and malformed numerical/baseline headers. Dot and dense tests include maximum activations, signed weight extremes, chunk boundaries and odd dimensions. The [export checks](../../tests/precision_export.py) independently compare 1024 actual native outputs, verify every exported tensor against the original checkpoint, preserve legacy bytes and reject a changed real cap.
12
+
13
+
The [hosted campaign](../../.github/workflows/precision-v4.yml) builds and tests on Linux and macOS, then runs 100000 fresh frozen reachable probes, independent float64/integer replay and 1000000 restoration transitions. The 32 cp raw and clamped error limit is unchanged. Compilation and model inference run remotely to avoid competing with the active timed matches. The profile has one original two-hour wall deadline, at most three 1800-second workflow executions per platform and no GitHub job reruns. Earlier negative artifacts are never overwritten. This note describes the implementation and frozen test, not a passing measurement. A numerical pass would still establish neither Elo nor release readiness.
if(!((magic=="CAISSAN1"&&version==1)||(magic=="CAISSAN2"&&version==2)||(magic=="CAISSAN3"&&version==3)))throwInputError("unsupported network format version");
44
+
if(!((magic=="CAISSAN1"&&version==1)||(magic=="CAISSAN2"&&version==2)||(magic=="CAISSAN3"&&version==3)||(magic=="CAISSAN4"&&version==4)))throwInputError("unsupported network format version");
45
45
if(reader.u32()!=feature_version||reader.u32()!=feature_count||reader.u32()!=transformer_width||reader.u32()!=dense1_width||reader.u32()!=dense2_width)throwInputError("network feature or architecture mismatch");
auto net=std::shared_ptr<Network>(new Network);net->residual_=version==3;net->scale_=static_cast<int>(scale);net->clip_=static_cast<int>(clip);net->identity_=reader.text(64);
49
+
auto net=std::shared_ptr<Network>(new Network);net->residual_=version>=3;net->scale_=static_cast<int>(scale);net->clip_=static_cast<int>(clip);net->identity_=reader.text(64);
50
50
if(!std::all_of(net->identity_.begin(),net->identity_.end(),[](char c){return (c>='0'&&c<='9')||(c>='a'&&c<='f');}))throwInputError("invalid training identity");
0 commit comments