diff --git a/.crumb b/.crumb index 9315448d..658d9273 100644 --- a/.crumb +++ b/.crumb @@ -71,20 +71,20 @@ }, { "digest": "ef1840de79311e5684993b0e0b66e0a9fce42a2d7966506201686ae5f8084a98", - "last_commit": "ffc5555", + "last_commit": "8b5caed", "name": "skills", "purpose": "" } ], "children_root": "sha256:009593670dc7accc2b442a6a8c6f3b848ab73de4d6e61df57401bf4bf00b294a", - "compiled_at": "2026-10-06T20:27:33Z", + "compiled_at": "2026-10-06T20:55:33Z", "compiler": "crumb-compile/1", - "digest": "sha256:269cca83838fadaff82e0e28a4168ab3a41bac87843f2a065181c62a79f39256", - "evidence_files": 24, - "evidence_root": "sha256:16192fc4be2f886385affd6e26faae4b831eb62b87ceac4ab39d662e0859d7f8", - "files": 840, - "generated_at_commit": "79adc3308f60a0fbb333d4fe83650111c9b1477a", - "source_tree": "sha256:c1d8cf3b4a948d604d92eade36fa78ffe64493a44bc2b55456aa1d01042a1bcd" + "digest": "sha256:5052e175d5bcdf5f02b19990437b2493435c7252feef16ec2a412bfcbb25b70b", + "evidence_files": 25, + "evidence_root": "sha256:714fb230bfff0e5d2dc3acefb5a7b31617ff6ff7acfdb94f5f64a6bd722389a5", + "files": 844, + "generated_at_commit": "088a24a7f1d7d9862ea37e4ff0b5a98302df0233", + "source_tree": "sha256:61cd54a12b2c925529821810c9c7e9d8925da90b83500762bdfe45ae10d5c48a" } }, "history": [], diff --git a/crates/aien-inference-abi/fixtures/llama32_1b_oracle.safetensors b/crates/aien-inference-abi/fixtures/llama32_1b_oracle.safetensors new file mode 100644 index 00000000..2de3d3cf Binary files /dev/null and b/crates/aien-inference-abi/fixtures/llama32_1b_oracle.safetensors differ diff --git a/crates/aien-inference-abi/fixtures/llama32_1b_oracle_manifest.json b/crates/aien-inference-abi/fixtures/llama32_1b_oracle_manifest.json new file mode 100644 index 00000000..0bdc9f70 --- /dev/null +++ b/crates/aien-inference-abi/fixtures/llama32_1b_oracle_manifest.json @@ -0,0 +1,1390 @@ +{ + "model_id": "unsloth/Llama-3.2-1B-Instruct", + "model_sha256": "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f", + "tokenizer_sha256": "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b", + "safetensors_file": "llama32_1b_oracle.safetensors", + "safetensors_sha256": "bf1d83edc1b802ad25cfbbce7a043658d3d4797bd67955447ce8630b51f515ed", + "safetensors_bytes": 50834760, + "prompt_text": "<|start_header_id|>system<|end_header_id|>\n\nYou are a sovereign AI assistant.<|eot_id|><|start_header_id|>user<|end_header_id|>\n\nExplain the role of an operating system in one sentence.<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n", + "prompt_tokens": [ + 128000, + 128006, + 9125, + 128007, + 271, + 2675, + 527, + 264, + 46384, + 15592, + 18328, + 13, + 128009, + 128006, + 882, + 128007, + 271, + 849, + 21435, + 279, + 3560, + 315, + 459, + 10565, + 1887, + 304, + 832, + 11914, + 13, + 128009, + 128006, + 78191, + 128007, + 271 + ], + "prompt_token_count": 34, + "greedy_next_token_id": 2127, + "greedy_next_token_text": "An", + "greedy_next_token_logit": 30.52336311340332, + "top_10_tokens": [ + { + "token_id": 2127, + "token_str": "An", + "logit": 30.52336311340332 + }, + { + "token_id": 791, + "token_str": "The", + "logit": 28.429826736450195 + }, + { + "token_id": 32, + "token_str": "A", + "logit": 26.641164779663086 + }, + { + "token_id": 2170, + "token_str": "As", + "logit": 23.628217697143555 + }, + { + "token_id": 40, + "token_str": "I", + "logit": 22.968673706054688 + }, + { + "token_id": 644, + "token_str": "In", + "logit": 22.81851577758789 + }, + { + "token_id": 59247, + "token_str": "Operating", + "logit": 21.97125244140625 + }, + { + "token_id": 1688, + "token_str": "At", + "logit": 20.809213638305664 + }, + { + "token_id": 5611, + "token_str": "Oper", + "logit": 18.995933532714844 + }, + { + "token_id": 276, + "token_str": "an", + "logit": 18.593412399291992 + } + ], + "top_10_token_ids": [ + 2127, + 791, + 32, + 2170, + 40, + 644, + 59247, + 1688, + 5611, + 276 + ], + "top_10_logits": [ + 30.52336311340332, + 28.429826736450195, + 26.641164779663086, + 23.628217697143555, + 22.968673706054688, + 22.81851577758789, + 21.97125244140625, + 20.809213638305664, + 18.995933532714844, + 18.593412399291992 + ], + "decoded_16_steps": { + "token_ids": [ + 2127, + 10565, + 1887, + 320, + 3204, + 8, + 374, + 264, + 3241, + 6324, + 430, + 29972, + 6500, + 12035, + 5070, + 11 + ], + "token_strings": [ + "An", + " operating", + " system", + " (", + "OS", + ")", + " is", + " a", + " software", + " layer", + " that", + " manages", + " computer", + " hardware", + " resources", + "," + ], + "text": "An operating system (OS) is a software layer that manages computer hardware resources," + }, + "tolerances": { + "abs_tol": 0.0001, + "rel_tol": 0.0001, + "min_cosine": 0.9999 + }, + "tensor_count": 132, + "tensors": { + "embed_tokens": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "final_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "last_token_logits": { + "shape": [ + 128256 + ], + "dtype": "FLOAT32", + "numel": 128256 + }, + "layers.0.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.0.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.0.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.0.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.0.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.0.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.0.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.0.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.1.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.1.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.1.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.1.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.1.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.1.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.1.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.1.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.10.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.10.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.10.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.10.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.10.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.10.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.10.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.10.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.11.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.11.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.11.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.11.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.11.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.11.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.11.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.11.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.12.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.12.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.12.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.12.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.12.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.12.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.12.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.12.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.13.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.13.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.13.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.13.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.13.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.13.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.13.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.13.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.14.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.14.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.14.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.14.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.14.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.14.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.14.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.14.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.15.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.15.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.15.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.15.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.15.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.15.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.15.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.15.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.2.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.2.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.2.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.2.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.2.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.2.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.2.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.2.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.3.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.3.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.3.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.3.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.3.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.3.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.3.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.3.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.4.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.4.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.4.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.4.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.4.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.4.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.4.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.4.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.5.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.5.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.5.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.5.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.5.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.5.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.5.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.5.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.6.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.6.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.6.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.6.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.6.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.6.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.6.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.6.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.7.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.7.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.7.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.7.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.7.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.7.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.7.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.7.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.8.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.8.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.8.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.8.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.8.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.8.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.8.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.8.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.9.post_attention": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.9.post_attn_norm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.9.post_attn_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.9.post_residual": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.9.post_rmsnorm": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.9.post_rope_k": { + "shape": [ + 1, + 8, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 17408 + }, + "layers.9.post_rope_q": { + "shape": [ + 1, + 32, + 34, + 64 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "layers.9.post_swiglu": { + "shape": [ + 1, + 34, + 2048 + ], + "dtype": "FLOAT32", + "numel": 69632 + }, + "logits": { + "shape": [ + 1, + 34, + 128256 + ], + "dtype": "FLOAT32", + "numel": 4360704 + } + } +} \ No newline at end of file diff --git a/docs/release/ORACLE-FIXTURE-CAND4.md b/docs/release/ORACLE-FIXTURE-CAND4.md new file mode 100644 index 00000000..4d0a4639 --- /dev/null +++ b/docs/release/ORACLE-FIXTURE-CAND4.md @@ -0,0 +1,169 @@ +# CAND-4 oracle fixture: provenance + +The release gate (`scripts/check-release-candidate.sh`) requires two oracle-fixture digests in the `[model]` table of +`release/candidate.toml`. CAND-3's fixture (`crates/aien-inference-abi/fixtures/tinyllama_oracle.*`) belongs to +TinyLlama and does not apply to CAND-4's model (unsloth/Llama-3.2-1B-Instruct, snapshot 5a8abab). This file records +how the CAND-4 fixture was made, with the same procedure as CAND-3's. + +## What it is + +An independent reference: Hugging Face Transformers runs the model on the CPU in FP32 (eager attention) on one fixed +chat prompt and records 132 activation tensors (embedding, per layer post_rmsnorm, post_rope_q, post_rope_k, +post_attention, post_attn_residual, post_attn_norm, post_swiglu, post_residual for 16 layers, final norm, logits, +last-token logits), the top-10 next-token logits and 16 greedy tokens. It does not use any AIEN code. + +The oracle is an outside yardstick, made once as scratch outside every repository. AIEN does not depend on it at +build, test or run time: no Python and no Hugging Face code is committed, and nothing in the build, the tests or the +runtime runs it. Only its two output files and their digests are kept, as a recorded reference. The architecture +record is the additive amendment `qualification/candidates/CAND-4.amendment-1.toml` (aien-architecture#152); the +frozen CAND-4 manifest itself is unchanged. The release gate (`scripts/check-release-candidate.sh`) reads +only `release/candidate.toml`: it requires the two digests to be present there as sha256 values, and it never reads +the architecture manifest, so it needs no repointing to the amendment file. + +| file (crates/aien-inference-abi/fixtures/) | bytes | sha256 | +|---|---|---| +| llama32_1b_oracle.safetensors | 50834760 | bf1d83edc1b802ad25cfbbce7a043658d3d4797bd67955447ce8630b51f515ed | +| llama32_1b_oracle_manifest.json | 23139 | 6df1b39eb351db7f8626734e8de882b572c8678bab924b932640621b21235e82 | + +Stored in plain git like CAND-3's fixture (no LFS). The tokenizer and config copies the generator also writes are +not committed (their names would overwrite CAND-3's files); they are the model's own files, pinned by digest in the +`[model]` table: tokenizer.json 6b9e4e7f..., config.json dfb67fd8..., tokenizer_config.json 9ddd255c.... + +## Inputs + +- Model: /home/drakestapleton/.cache/huggingface/hub/models--unsloth--Llama-3.2-1B-Instruct/snapshots/5a8abab4a5d6f164389b1079fb721cfab8d7126c, + model.safetensors 1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f (the manifest records it as `model_sha256`). +- Prompt: the CAND-3 system and user text ("You are a sovereign AI assistant." / "Explain the role of an operating + system in one sentence.") in the Llama 3 layout that AIEN renders (`ChatTemplate::Llama3::render`, + crates/aien-inference-abi/src/tokenizer.rs), BOS added by the tokenizer: 34 tokens + `128000 128006 9125 128007 271 2675 527 264 46384 15592 18328 13 128009 128006 882 128007 271 849 21435 279 3560 315 + 459 10565 1887 304 832 11914 13 128009 128006 78191 128007 271`. + +## Generator + +- Origin: `scripts/generate_tinyllama_oracle.py` as of `d2cacfa^` (the commit before "Remove the remaining Python + scripts", d2cacfa; first added in 8c34468), file sha256 6247aa9d4bded40fa8756be278eec3c043ec6e65c506ccbc1f579807ae006b0d. +- It was run as scratch tooling outside every repository (Drake's rule: no Python in any AIEN repo, build, CI or + tooling; agents may use Python as scratch). The script is not committed. The adapted copy has sha256 + 7f7fa648c1aed28560a3d7547d63a788ad8625df0b425f2aed404946a30e96ee. +- Changes are constants only: snapshot path, model id, output file names, prompt text, and the expected prompt tokens, + first greedy token, 16 greedy tokens and decoded text (each taken from the run's own failure message, as the + original constants were). The procedure, hooks, dtype, tolerances and file format are unchanged. Diff: + +```diff +--- generate_tinyllama_oracle.orig.py ++++ generate_llama32_1b_oracle.py +@@ -22,32 +22,31 @@ + + PINNED_SNAPSHOT = ( + "/home/drakestapleton/.cache/huggingface/hub/" +- "models--TinyLlama--TinyLlama-1.1B-Chat-v1.0/snapshots/" +- "fe8a4ea1ffedaf415f4da2f062534de366a451e6" ++ "models--unsloth--Llama-3.2-1B-Instruct/snapshots/" ++ "5a8abab4a5d6f164389b1079fb721cfab8d7126c" + ) + + CANONICAL_PROMPT = ( +- "<|system|>\n" +- "You are a sovereign AI assistant.\n" +- "<|user|>\n" +- "Explain the role of an operating system in one sentence.\n" +- "<|assistant|>\n" ++ "<|start_header_id|>system<|end_header_id|>\n\n" ++ "You are a sovereign AI assistant.<|eot_id|>" ++ "<|start_header_id|>user<|end_header_id|>\n\n" ++ "Explain the role of an operating system in one sentence.<|eot_id|>" ++ "<|start_header_id|>assistant<|end_header_id|>\n\n" + ) + + EXPECTED_PROMPT_TOKENS = [ +- 1, 529, 29989, 5205, 29989, 29958, 13, 3492, 526, 263, 577, 369, 7577, 319, +- 29902, 20255, 29889, 2, 13, 29966, 29989, 1792, 29989, 29958, 13, 9544, +- 7420, 278, 6297, 310, 385, 13598, 1788, 297, 697, 10541, 29889, 2, 13, +- 29966, 29989, 465, 22137, 29989, 29958, 13 ++ 128000, 128006, 9125, 128007, 271, 2675, 527, 264, 46384, 15592, 18328, 13, ++ 128009, 128006, 882, 128007, 271, 849, 21435, 279, 3560, 315, 459, 10565, ++ 1887, 304, 832, 11914, 13, 128009, 128006, 78191, 128007, 271 + ] + + EXPECTED_GREEDY_16 = [ +- 2744, 13598, 1788, 313, 3267, 29897, 338, 263, 7047, 393, 767, 1179, +- 278, 12837, 322, 7047 ++ 2127, 10565, 1887, 320, 3204, 8, 374, 264, 3241, 6324, 430, 29972, ++ 6500, 12035, 5070, 11 + ] + + EXPECTED_DECODED_TEXT = ( +- "An operating system (OS) is a software that manages the hardware and software" ++ "An operating system (OS) is a software layer that manages computer hardware resources," + ) + + +@@ -208,8 +207,8 @@ + greedy_next_token_text = tokenizer.decode([greedy_next_token_id]) + + print(f"Greedy next token: ID={greedy_next_token_id} ({repr(greedy_next_token_text)}), logit={greedy_next_token_logit:.4f}") +- if greedy_next_token_id != 2744: +- raise ValueError(f"Greedy next token mismatch: expected 2744, got {greedy_next_token_id}") ++ if greedy_next_token_id != 2127: ++ raise ValueError(f"Greedy next token mismatch: expected 2127, got {greedy_next_token_id}") + + top_tokens_meta = [] + for idx, logit in zip(top10_token_ids, top10_logit_values): +@@ -256,7 +255,7 @@ + for name, tensor in activations.items() + } + +- safetensors_path = os.path.join(output_dir, "tinyllama_oracle.safetensors") ++ safetensors_path = os.path.join(output_dir, "llama32_1b_oracle.safetensors") + print(f"Saving {len(contiguous_activations)} oracle tensors to {safetensors_path}...") + safetensors.torch.save_file(contiguous_activations, safetensors_path) + safetensors_sha256 = compute_file_sha256(safetensors_path) +@@ -290,10 +289,10 @@ + } + + manifest = { +- "model_id": "TinyLlama/TinyLlama-1.1B-Chat-v1.0", ++ "model_id": "unsloth/Llama-3.2-1B-Instruct", + "model_sha256": model_sha256, + "tokenizer_sha256": tokenizer_sha256, +- "safetensors_file": "tinyllama_oracle.safetensors", ++ "safetensors_file": "llama32_1b_oracle.safetensors", + "safetensors_sha256": safetensors_sha256, + "safetensors_bytes": safetensors_bytes, + "prompt_text": CANONICAL_PROMPT, +@@ -319,7 +318,7 @@ + "tensors": tensor_catalog, + } + +- manifest_path = os.path.join(output_dir, "tinyllama_oracle_manifest.json") ++ manifest_path = os.path.join(output_dir, "llama32_1b_oracle_manifest.json") + with open(manifest_path, "w", encoding="utf-8") as f: + json.dump(manifest, f, indent=2) + manifest_sha256 = compute_file_sha256(manifest_path) +``` + +## Run + +- Environment: ~/.venv, torch 2.14.0+cu130, transformers 5.17.0, safetensors 0.8.0 (CPU only), on the Spark + (Linux 7.0.0-1019-nvidia aarch64), 2026-10-06. +- Command: `~/.venv/bin/python3 -I generate_llama32_1b_oracle.py --output-dir out` (about 13 s wall). +- Ran twice into separate directories: both runs gave byte-identical files (the two sha256 above). +- Result: next token 2127 "An" (logit 30.5234; then 791 "The" 28.4298, 32 "A" 26.6412). 16 greedy tokens + `2127 10565 1887 320 3204 8 374 264 3241 6324 430 29972 6500 12035 5070 11`, text + "An operating system (OS) is a software layer that manages computer hardware resources,". + +## Independence check against the CAND-4 aien-cli + +Result: AGREE (decoded text level). On 2026-10-06 20:41Z the CAND-4 aien-cli (sha256 +ad6b7eb5330ea19d31d02e68271624d5c964bcbc24983742caae845f62c4c324, the frozen REAL3 build) ran as a daemon on the GB10 +(`Backend: NativeTransformerBackend/OmegaGb10Backend`, model and tokenizer digests as above, `AIEN_REQUIRE_BLACKWELL=1`, +private socket and state dirs, under a quietlock hold). One `StreamTurn` control request with the same system and +user messages, `max_tokens` 16, `temperature` 0.0 returned 16 tokens with the text +"An operating system (OS) is a software layer that manages computer hardware resources,", identical to the +oracle's 16-token greedy text. + +Limits: aien-cli exposes decoded text, not token ids or logits, so this check compares the 16-token text and count, +not the activations or logits in the fixture. The prompt rendering on the aien-cli side is AIEN's own +(`ChatTemplate::Llama3`); its token ids were not printed. Logit-level parity against this fixture (as the TinyLlama +strict test does for CAND-3) is not run here. diff --git a/docs/release/receipts/2026-10-06-cand4-release-demo.md b/docs/release/receipts/2026-10-06-cand4-release-demo.md new file mode 100644 index 00000000..41911bef --- /dev/null +++ b/docs/release/receipts/2026-10-06-cand4-release-demo.md @@ -0,0 +1,83 @@ +# CAND-4 local release demo (lane G, cand4-release), 2026-10-06 + +Everything ran on the Spark (GB10). Nothing was published, no key was uploaded, and the release.yml workflow was not +run. Signing used only the local key whose public half is already in `docs/release/allowed_signers`. +Scratch root: `~/.claude/jobs/9bfe8553/tmp/laneG` (named `L/` below). + +## Inputs + +- sovereign-core release branch `cand4/release-candidate` 3c9791260a3e06614aaa330ff2bdefb39bf46439 (the CAND-4 + `release/candidate.toml` and oracle fixture). Build worktree at d5b78ff7a6be14d23e3cb00d3f9c4b4751442ffa. +- Fresh clones: omega c0369e67, aienos b84c0a6, physics 6d7cf0d. Fresh `CARGO_HOME`. +- Model: unsloth/Llama-3.2-1B-Instruct snapshot 5a8abab. Its 7 files hash equal to the digests in `[model]`. + +## Build (G2 step 1): PASS + +`L/scratch/release_build.sh`: `cargo fetch --locked`, then `scripts/release-build.sh --offline -vv` in the clean +worktree. `AIEN_DEV_FALLBACK`, `AIEN_FORCE_CPU_STUB` and `AIEN_OMEGA_COMPOSE_LIB` were unset. Result: rc 0, 2026-10-06 +20:41Z to 20:44Z, and the log shows `has_omega_gpu`. The log `L/build-rel.log` has sha256 +1aeba3455b7a6a6451bf21b34d76978e43246b847ee997632b45b1b47bbc1db2. + +All 7 binaries equal the CAND-4 `[executables]` digests: + +| binary | sha256 | +|---|---| +| aien-cli | ad6b7eb5330ea19d31d02e68271624d5c964bcbc24983742caae845f62c4c324 | +| spark-cockpit-rs | 618000924c5c6048c9dc034f0b40b8effbe3519fb20f96e950e97226b29e0dd4 | +| spark-inquisitor | e3ffb98a688cb06495a52b1a862433dd9628ea3d352694ee1a784c90006d97cc | +| cortex-encoder-rs | e6f290ebd0bc8b2a8d84bbb206edc52220bd04c6840e3c5dd3275273d227b1d5 | +| cortex-rs | 4df75cc0b351da753374ddbe5fe4b861edd048ef95965d591b35b80130c68440 | +| spark-supervisor | 0c74cdb5c1bf3612f847a07289dfc5ea8852954ecf9a1ba53c423a01ffa9f0a2 | +| spark-debugger | 95b866809da61fe877d7f1121fb33f7240060acd8a07de789729c48651b97288 | + +## Release demo (`L/scratch/demo.sh`): full log `L/demo/demo.log` (sha256 9fece515bbd3ada0220f71d5eeea4528e1ffc48611a1c1bd640446c2a0417e51) + +Install prefix: `L/prefix`, which is empty at the start. The installer runs in release mode from `file://` URLs, with +`AIEN_INSTALL_NO_PROFILE=1` and a private `HOME`. + +| step | what | result | +|---|---|---| +| S1 | `package-release.sh`, which runs the gate, then `check-release-candidate.sh --package ... --native` | rc 0 and rc 0, `candidate=CAND-4`. Package sha256 e93a90d576dd17f5de5ead7bf0f04627b5cef8a1c83e82479a75609ef491b259. A second package build gave the same bytes (byte-reproducible). | +| S2 | prior release: a CAND-3-gated package (CAND-3 `candidate.toml` and omega.lock f816473 from d5b78ff, CAND-3 aien-cli 3a17ee79a238ad22..., plus the 6 CAND-4 helpers) | rc 0, `candidate=CAND-3`. Package sha256 0ecf750e43b8254463875ab0672dcb065e00e33ec3eaf74e16d02a9bf5c974a7 | +| S3 | `ssh-keygen -Y sign -n aien-release`, then `verify-release-assets.sh` and `ssh-keygen -Y verify` for both releases | all rc 0, `Good "aien-release" signature`. CAND-3: SHA256SUMS.txt 384ca8bd6604d3c71534117e5235c59d3b9b24f954fd32b8409258abbf024d8e, sig b9114080dc927dc584b0e1cb9c2f9cdcae46693a3abea124c62b9171a840e087. CAND-4: SHA256SUMS.txt fce93886a2c8ebc86547921a53583f6a27c72cf2170ada55e2ad0f3ffd034113, sig 7a05ffd4866580ccd2c53c99830dacd3d86a9c1a3d87b29029fe331db4acc611 | +| S4 | clean-prefix install of the prior release (CAND-3) | rc 0, `Live release is now 3a17ee79a238 (candidate CAND-3)`. `aien --version` rc 0 | +| S5 | upgrade to CAND-4 with `AIEN_TEST_PAUSE_AT=mid-copy`, installer killed with SIGKILL | live still 3a17ee79a238 (unchanged). The old `aien --version` rc 0, the CAND-3 gate and verify are still rc 0. 1 stage dir is left over, as designed (it is removed by the next run). | +| S6 | rerun the upgrade to CAND-4 | rc 0, live ad6b7eb5330e, 0 stage dirs. All 7 installed binaries are the same as the manifest. `installed.toml` has current ad6b7eb5330e, previous 3a17ee79a238, last-action install | +| S7 | upgrade again over itself | rc 0, `already staged and complete`, digests unchanged | +| S8 | `install.sh --rollback` twice | rc 0: live 3a17ee79a238 (CAND-3 back), last-action rollback. Then rc 0: live ad6b7eb5330e (CAND-4 digests back) | +| S9 | negative: `release.toml` aien-cli-sha256 altered and re-signed | gate rc 1 `package aien-cli-sha256 is not the digest of bin/aien`. Installer rc 1 `package does not match its release.toml. Nothing was installed.` Live unchanged | +| S10 | negative: `SHA256SUMS.txt.sig` removed | verify rc 1 `SHA256SUMS.txt.sig is missing: refusing an unsigned release`. Installer rc 1 `could not download SHA256SUMS.txt.sig`. Live unchanged | + +The demo ended at 2026-10-06 20:45:49Z. + +## Workflow smoke with the installed CAND-4 aien (`L/scratch/smoke.sh`): PASS + +`L/smoke/smoke.txt` has sha256 b064c7e78a10e6aac76fd2bf026f4191303751b63cf4fae8790766721c27d52f. The smoke ran inside +one quietlock hold (rc 0, 20:47:46Z). + +- The installed binary is `L/prefix/cfg/releases/ad6b7eb5330e/bin/aien`, sha256 ad6b7eb5330ea19d.... +- One GB10 `StreamTurn` (`AIEN_REQUIRE_BLACKWELL=1`) returned rc 0 with `TurnFinished` text "An operating system (OS) + is a software layer that manages computer hardware resources," and `total_tokens` 16. +- The NP1 workflow driver `docs/campaigns/next-phase-1/run-campaign.sh` ran with the installed aien: rc 0, steps S1 to S8 + all `ok:true`. It was run read-only from the repo; no campaign file was changed. + +## Oracle independence check (G1): AGREE, text level only + +- The CAND-4 aien-cli ran as a GB10 daemon (`NativeTransformerBackend/OmegaGb10Backend`). Its StreamTurn text equals the + Hugging Face oracle's 16-token greedy text. +- `L/check/turn.jsonl` has sha256 e3f1ab79e808bef4d2fedebb3249b6a9dcbd9e814b7c6f4497622e8c38dbcc80. +- `L/check/daemon.log` has sha256 9affbec67ba7a659f50cc03aefbfc1604d3ec56cbb0e5d586b7d99cab798099a. +- The quietlock hold reported rc 1 (whisper 20:41:12Z). That status comes from the script's last line, a + "daemon still running?" test, which returns 1 when the daemon has already exited. The turn itself was rc 0 + (`turn.rc`), `compose shutdown` returned `{"ok":true,"shutdown":true}`, and no "still running" line was written. +- Limit: aien-cli exposes no token ids or logits, so only the decoded text and the token count are compared. + +## Limits + +- The prior release (S2) is a CAND-3-gated package. CAND-3 pinned no helper binaries, so it carries the CAND-4 helpers; + only aien-cli differs between the two releases. +- `file://` URLs stand in for GitHub Releases. Nothing was uploaded, and the release.yml workflow was not run. +- The CAND-4 binaries come from sovereign-core d5b78ff (the `[commits]` line). Main has since gained aien-runtime + source changes (d6e102b, NP1 v6), so a native package built from a later main is expected to be refused by the gate's + `aien-cli-native-release` check (fail closed). This was not tried: UNVERIFIED. A CAND-4 release is built from + d5b78ff with this `release/candidate.toml`, as done here. diff --git a/release/candidate.toml b/release/candidate.toml index b980787b..276041b2 100644 --- a/release/candidate.toml +++ b/release/candidate.toml @@ -1,31 +1,67 @@ # The candidate this tree is allowed to be released as. Read by scripts/check-release-candidate.sh # (called from .github/workflows/release.yml and scripts/package-release.sh). A release fails # unless omega.lock equals omega-commit below. Copied from aien-architecture -# qualification/candidates/CAND-3.toml ([commits] omega and [model]); change both together. -candidate = "CAND-3" -omega-commit = "f816473df391bc4fbcf99df722edd70ed26ebef1" -source-manifest = "aien-architecture qualification/candidates/CAND-3.toml" +# qualification/candidates/CAND-4.toml ([commits] omega and [model]); change both together. +candidate = "CAND-4" +omega-commit = "c0369e6705a4b0cb800978846e78915126a1b7f7" +source-manifest = "aien-architecture qualification/candidates/CAND-4.toml" + +# CAND-4 source commits (manifest [commits]); omega-commit above is the one the gate checks. +sovereign-core-commit = "d5b78ff7a6be14d23e3cb00d3f9c4b4751442ffa" +aienos-commit = "b84c0a67590a934f3f3e001b12ec85ebc086a9eb" +physics-commit = "6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf" [model] -model-id = "TinyLlama/TinyLlama-1.1B-Chat-v1.0" +model-id = "unsloth/Llama-3.2-1B-Instruct" +snapshot = "5a8abab4a5d6f164389b1079fb721cfab8d7126c" format = "safetensors, torch_dtype bfloat16" -model-safetensors-sha256 = "6e6001da2106d4757498752a021df6c2bdc332c650aae4bae6b0c004dcf14933" -model-safetensors-bytes = "2200119864" -tokenizer-json-sha256 = "bcd04f0eadf90287bd26e1a183ac487d8a141b09b06aecb7725bbdd343640f2e" -config-json-sha256 = "486bedda3a6988332e60d9638a09ca4b260d34ebcf1b19e22cf3b140b63d8fe9" -geometry = "LlamaForCausalLM: layers 22, hidden 2048, heads 32, kv heads 4, head_dim 64 (hidden/heads), intermediate 5632, vocab 32000, max positions 2048, rope_theta 10000.0, rms_norm_eps 1e-05" -oracle-fixture-safetensors-sha256 = "4707e3ba5c75f6c953217235528b38b3dffa334f68b8356f7356f9a5f6a6a6ea" -oracle-fixture-manifest-sha256 = "d9871e7834513dfff5d453e6915440e4976098a7e84bc75086a3ab7833dcefd9" - +model-safetensors-sha256 = "1ff795ff6a07e6a68085d206fb84417da2f083f68391c2843cd2b8ac6df8538f" +model-safetensors-bytes = "2471645608" +tokenizer-json-sha256 = "6b9e4e7fb171f92fd137b777cc2714bf87d11576700a1dcd7a399e7bbe39537b" +config-json-sha256 = "dfb67fd8afe73a1c75245824ef9d64a6ba8983025447e3bf76aa1ea57ee46152" +generation-config-json-sha256 = "6d4f979915331212d7672c68b22a4ddad9e21ed8126cf2bd1ea6b2b88f595c1c" +tokenizer-config-json-sha256 = "9ddd255c19fe319c8d4e891163540382e9fbda99f394674f2a929efc47d57458" +special-tokens-map-json-sha256 = "94e708c3f5e64acf85bbe5ad01467a1248faadb73e83b41793087ecced586e8f" +chat-template-jinja-sha256 = "5816fce10444e03c2e9ee1ef8a4a1ea61ae7e69e438613f3b17b69d0426223a4" +geometry = "LlamaForCausalLM: layers 16, hidden 2048, heads 32, kv heads 8, head_dim 64, intermediate 8192, vocab 128256, max positions 131072, rope_theta 500000.0 with llama3 rope scaling (factor 32, low 1, high 4, original 8192), rms_norm_eps 1e-05, tied embeddings" +licence = "Llama 3.2 Community License" +distribution = "internal-only until an open-licence model passes (Drake 2026-10-06 Option 3)" +oracle-fixture-safetensors-sha256 = "bf1d83edc1b802ad25cfbbce7a043658d3d4797bd67955447ce8630b51f515ed" +oracle-fixture-manifest-sha256 = "6df1b39eb351db7f8626734e8de882b572c8678bab924b932640621b21235e82" -# Source pins the release tree must consume (read from CAND-3 [commits] and [contracts]; checked against +# Source pins the release tree must consume (read from CAND-4 [commits] and [contracts]; checked against # Cargo.lock by scripts/check-release-candidate.sh). [pins] aien-protocols = "7ac6facb630ca7e9a6ab4125b292203fe2bb6687" crumb-spec = "24194d1b7917ef19244aae6bcaff510686b75fef" spark-crumbs = "9355a92bc9adfe95a6ec5f8ac926f38a0b6e7db2" -# Executable digest of the packaged aien (native engine linked, linux aarch64 only), CAND-3 [executables]. +# Executable digest of the packaged aien (native engine linked, linux aarch64 only), CAND-4 [executables]. # Built by scripts/release-build.sh; checked by scripts/check-release-candidate.sh --package --native. +# All 25 CAND-4 [executables] lines, copied verbatim from the manifest; the gate reads aien-cli-native-release. [executables] -aien-cli-native-release = "3a17ee79a238ad223fd59f4436d98906a0144b8d5ac47809da194a9ac1d493db" +aien-cli-native-release = "ad6b7eb5330ea19d31d02e68271624d5c964bcbc24983742caae845f62c4c324" # CAND-3: 3a17ee79... (changed: omega.lock, librx_compose link, #230/#231) +aienos-boot-image = "a87a0118d17eedb39cccb90c743ba7d8b6a6c527397a5e2e3ae8f47fc2032b8f" # CAND-3: 8b1595cc... (aienos bbad5e4 -> b84c0a6) +aienos-ck-core-image = "869890ab339b8c759a2ab535e7eea2be082720da9be1368480682c21a505c18c" # CAND-3: a21218dc... (aienos bbad5e4 -> b84c0a6) +aien-proof = "2cd02baa729c8d29d3df9a1509c2b78f0f5f46ae18eab0523f765ebc89dbcc89" # CAND-3: a37247a1... +aien-test = "55cc08848fd72cfcf074ceb83c8a82d122d6165470d27efc3c2fd1514a8a9a21" # CAND-3: 34ae31e5... +atlas-m2-boot-bin = "1d6d75a6881bb9d9b17a777ec7dee885780386c4699d776adc7cc1c277b09012" # CAND-3: same +omega-gpu-engine-lib = "ef80e4313d4e678335dceac3493aadec8d0df4352dd5356854b92e0a9e070887" # CAND-3: a4af0881... +omega-librx-compose = "dfe0ffb8904b08cf9b67c857f7e9de34bf493a6d4d763e9fef0cf2b10f114cd6" # NEW: librx_compose.a, linked into aien-cli (cfg has_omega_compose) +omega-r15-reduce = "27ef41d4f755ab9c577ca3b1fb79989751620f9a4c1a7c70646693c498cbd1b0" # CAND-3: same +omega-runtime = "65a1e179ec091d30c589ba7edb4f377002a938b74a366acd4e378e361a79d8e9" # CAND-3: 5a308427... +omega-rx-composition-gate-gpu = "27d1dadcf6a7e3acbb5396d71e525bb9d105f16ac23574ed4ebd9083491c16d4" # CAND-3: a3fa43e8... +omega-rx-operator = "460c6d8a1787176027e7306121ed84c5d0567c2a3d2655564cf50010fed15079" # CAND-3: same +omega-rx-r11-aien-test = "7977a5a23e1269edb244aed90b88addbf5b2946353c224d68d37f611bb0318ad" # CAND-3: 42ffcbad... +omega-rx-r13-living-host = "f7b3add700e6b2971a2b1851793529c62549f1ecb3439afb792e18d6ea940cb9" # CAND-3: 605054a7... +omega-rx-r13-living-silicon = "088a7f2b127e941a420ff855d86349e24fe65b50fe4849accb2300f96cc56e25" # CAND-3: 9f48df86... +omega-rx-r13-living-testbuild-silicon = "52e6bd7b6b187174719b84e86aaed99a86ddfe11f35a8eb3419fece169d764cf" # CAND-3: 4a8430fc... +omega-rx-r15-perf-silicon = "955eda8d12235d80f4dba8d896841b288e5059cad60bd9c4cf7fdc2e368a7064" # CAND-3: b8fe26ea... +omega-rx-r15-perf-silicon-nodigest = "d1623e0b16b45128294fae5da6ef643ee939499d4b17cdd9f56f352f8f2db392" # CAND-3: c58d3466... +physics-boot-bin = "4b22a08cd408b5cf90258af13b833b97a5211b4d2480fa74be357228f4aed3bd" # CAND-3: same +sc-cortex-encoder-rs = "e6f290ebd0bc8b2a8d84bbb206edc52220bd04c6840e3c5dd3275273d227b1d5" # NEW: release helper (scripts/release-build.sh, sovereign-core #230) +sc-cortex-rs = "4df75cc0b351da753374ddbe5fe4b861edd048ef95965d591b35b80130c68440" # NEW: release helper +sc-spark-cockpit-rs = "618000924c5c6048c9dc034f0b40b8effbe3519fb20f96e950e97226b29e0dd4" # NEW: release helper +sc-spark-debugger = "95b866809da61fe877d7f1121fb33f7240060acd8a07de789729c48651b97288" # NEW: release helper +sc-spark-inquisitor = "e3ffb98a688cb06495a52b1a862433dd9628ea3d352694ee1a784c90006d97cc" # NEW: release helper +sc-spark-supervisor = "0c74cdb5c1bf3612f847a07289dfc5ea8852954ecf9a1ba53c423a01ffa9f0a2" # NEW: release helper