interplane.Get Omega
Read in your language

aien-sovereign-core-mv

AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.

Brought by drakestapleton

branch main Branches Tags History

aien-sovereign-core-mv / docs / campaigns / c1 / acceptance.toml

147 lines · 3955 bytes Raw Blame History
1# Campaign C1 acceptance criteria. Frozen on merge. Changes only by amendment (SPEC.md Section 14).
2
3[campaign]
4id = "c1"
5spec_version = 1
6
7[correctness]
8# Correctness invariants are binary: every required trial passes.
9required_pass_fraction = 1.0
10# KV bytes outside legitimately COW-mutated pages must be byte-identical.
11unmodified_kv_byte_tolerance = 0
12max_leaked_blocks = 0
13max_duplicate_live_sequence_ids = 0
14max_stale_id_reuse = 0
15max_disallowed_placement_events = 0
16max_nan_or_inf_logits = 0
17max_lost_completions = 0
18max_scheduler_deadlocks = 0
19
20[numerics]
21# Tolerance for each metric = noise_multiplier_k x measured noise floor (SPEC.md Section 5.3).
22noise_multiplier_k = 2.0
23# Denominator floor for relative error: |a - b| / max(|ref|, relative_error_epsilon).
24relative_error_epsilon = 1.0e-3
25# Top-1 disagreement is allowed only where the reference top-2 margin is below the absolute tolerance.
26top1_margin_exemption = "reference_top2_margin_below_abs_tolerance"
27compare_every_generated_step = true
28
29# Measured noise floors. Filled by amendment before the equivalence runs they govern.
30# A run whose governing floor is "unmeasured" cannot produce a PASS for I3.
31[numerics.noise_floor.tinyllama]
32status = "measured"
33backend = "ReferenceCpuBackend"
34hardware = "Spark CPU"
35runs = 3
36prompts = 5
37k = 8
38model_sha256 = "6e6001da2106d4757498752a021df6c2bdc332c650aae4bae6b0c004dcf14933"
39max_abs = 0.0
40max_rel = 0.0
41source_commit = "bc5a8b5"
42forge_log = "/home/drakestapleton/workspace/test-queue-logs/PE2E-C7-light-201114.log"
43# Rule 2.0 x floor (0) = 0: frozen as exact (bitwise) equality for the CPU reference backend; not loosened.
44tolerance_abs = 0.0
45tolerance_rel = 0.0
46
47[numerics.noise_floor.qwen3_coder_30b_a3b_fp8]
48status = "unmeasured"
49
50[sampling]
51gates_1_to_3 = ["greedy", "seeded"]
52seeded_temperature = 0.7
53seeded_top_p = 0.95
54sampler = "philox4x32_10"
55# Gate 4 continuity: seeded runs must produce identical token IDs.
56gate4_token_identity_required = true
57
58[fork_positions]
59# Positions are 1, bs-1, bs, bs+1, k*bs-1, k*bs, k*bs+1 (bs = block_size from kv_contract.toml).
60small = ["1", "bs-1", "bs", "bs+1"]
61large = ["k*bs-1", "k*bs", "k*bs+1"]
62write_orders = ["parent_first", "child_first", "parent_then_child", "child_then_parent"]
63
64[fork_positions.k]
65tinyllama = 64 # 1024 tokens with bs = 16
66qwen3_coder_30b_a3b_fp8 = 2000 # 32000 tokens with bs = 16
67
68# Stages. Correctness invariants are identical at every stage; only these parameters change.
69
70[[gate1.stage]]
71name = "A"
72parent_context_tokens = 64
73branches = 2
74trials = 10
75
76[[gate1.stage]]
77name = "B"
78parent_context_tokens = 2048 # TinyLlama maximum context
79branches = 32
80trials = 100
81
82[[gate1.stage]]
83name = "adversarial_fork100"
84parent_context_tokens = 1024
85branches = 100
86trials = 10
87script = "fork100_mutate73_destroy20_advance_parent_mutate4_destroy73"
88
89[[gate2.stage]]
90name = "A"
91parent_context_tokens = 64
92branches = 2
93trials = 10
94
95[[gate2.stage]]
96name = "B"
97parent_context_tokens = 4096
98branches = 8
99trials = 10
100
101[[gate2.stage]]
102name = "C"
103parent_context_tokens = 4096
104branches = 32
105trials = 100
106
107[[gate3.stage]]
108name = "C"
109parent_context_tokens = 16384
110branches = 100
111max_private_tokens_per_branch = 512
112divergence = "mixed"
113trials = 10
114
115[[gate3.stage]]
116name = "D"
117parent_context_tokens = 32768
118branches = 500
119max_private_tokens_per_branch = 512
120divergence = "mixed"
121trials = 3
122
123[gate3]
124preemption = false
125watermark_blocks = 0
126uninstrumented_repeat_required = true
127
128[gate4]
129preemption = true
130oversubscription_branches = 500
131oversubscription_private_tokens_per_branch = 1000
132parent_context_tokens = 32768
133fault_points = [
134 "cow_copy_mid",
135 "fork_mid",
136 "release_mid",
137 "step_pre_commit",
138 "step_post_commit_pre_expose",
139]
140release_races = [
141 "cancel_twice",
142 "completion_vs_cancel",
143 "preemption_vs_cancel",
144 "parent_teardown_vs_child_cancel",
145]
146restart_same_fingerprint = true
147restart_mismatched_fingerprint_must_refuse = true