{ "base": { "config_model_type": "inkling2_loop", "path": "/Users/kearm/.cache/alphaheng/hf/inkling2-mini", "safetensors": [ { "bytes": 19526019168, "file": "model-00001-of-00001.safetensors", "sha256": "65e60f51aa1284d4fb022584908c315270334d991828bb774af60584523539d1" }, { "bytes": 635801416, "file": "mtp.safetensors", "sha256": "7c3b651317f01f73bcf4e1dceba66ef8b7e1a1eac6bc171e882e690a4b10a1d2" } ] }, "created_at": "2026-11-25T00:15:56.079799+00:00", "elapsed_seconds": 156.415, "in_memory_class": "Inkling2LoopForConditionalGeneration", "init_seed": 20261124, "layers": [ { "layer_idx": 5, "new_parameter_count": 2228760, "new_tensors": { "kv_a_proj.weight": { "dtype": "torch.bfloat16", "max": 0.2119140625, "mean": -3.357514287927188e-05, "min": -0.2216796875, "numel": 1179648, "shape": [ 512, 2304 ], "std": 0.02648783102631569 }, "kv_a_scale": { "dtype": "torch.bfloat16", "max": 1.0, "mean": 1.0, "min": 1.0, "numel": 512, "shape": [ 512 ], "std": 0.0 }, "kv_b_k.weight": { "dtype": "torch.bfloat16", "max": 0.2392578125, "mean": 7.384936907328665e-05, "min": -0.28125, "numel": 524288, "shape": [ 1024, 512 ], "std": 0.028218073770403862 }, "kv_b_v.weight": { "dtype": "torch.bfloat16", "max": 0.23046875, "mean": 1.6536332623218186e-06, "min": -0.25390625, "numel": 524288, "shape": [ 1024, 512 ], "std": 0.02797039784491062 }, "out_scale": { "dtype": "torch.bfloat16", "max": 1.0, "mean": 1.0, "min": 1.0, "numel": 24, "shape": [ 24 ], "std": 0.0 } }, "operator": "latent_kv", "svd_relative_errors": { "k_rel_error": 0.5624716877937317, "rank": 512.0, "v_rel_error": 0.5780950784683228 } }, { "layer_idx": 11, "new_parameter_count": 2228760, "new_tensors": { "kv_a_proj.weight": { "dtype": "torch.bfloat16", "max": 0.2734375, "mean": -1.6018279893614817e-06, "min": -0.26953125, "numel": 1179648, "shape": [ 512, 2304 ], "std": 0.02684713341295719 }, "kv_a_scale": { "dtype": "torch.bfloat16", "max": 1.0, "mean": 1.0, "min": 1.0, "numel": 512, "shape": [ 512 ], "std": 0.0 }, "kv_b_k.weight": { "dtype": "torch.bfloat16", "max": 0.224609375, "mean": -3.1549520826956723e-06, "min": -0.255859375, "numel": 524288, "shape": [ 1024, 512 ], "std": 0.028645699843764305 }, "kv_b_v.weight": { "dtype": "torch.bfloat16", "max": 0.294921875, "mean": -5.013986537960591e-06, "min": -0.3125, "numel": 524288, "shape": [ 1024, 512 ], "std": 0.028304792940616608 }, "out_scale": { "dtype": "torch.bfloat16", "max": 1.0, "mean": 1.0, "min": 1.0, "numel": 24, "shape": [ 24 ], "std": 0.0 } }, "operator": "latent_kv", "svd_relative_errors": { "k_rel_error": 0.47849202156066895, "rank": 512.0, "v_rel_error": 0.5429432988166809 } }, { "layer_idx": 17, "new_parameter_count": 2228760, "new_tensors": { "kv_a_proj.weight": { "dtype": "torch.bfloat16", "max": 0.359375, "mean": -1.2765329302055761e-05, "min": -0.56640625, "numel": 1179648, "shape": [ 512, 2304 ], "std": 0.026980513706803322 }, "kv_a_scale": { "dtype": "torch.bfloat16", "max": 1.0, "mean": 1.0, "min": 1.0, "numel": 512, "shape": [ 512 ], "std": 0.0 }, "kv_b_k.weight": { "dtype": "torch.bfloat16", "max": 0.234375, "mean": 8.970404451247305e-06, "min": -0.2275390625, "numel": 524288, "shape": [ 1024, 512 ], "std": 0.028644489124417305 }, "kv_b_v.weight": { "dtype": "torch.bfloat16", "max": 0.25390625, "mean": -3.7945159419905394e-05, "min": -0.294921875, "numel": 524288, "shape": [ 1024, 512 ], "std": 0.02858990803360939 }, "out_scale": { "dtype": "torch.bfloat16", "max": 1.0, "mean": 1.0, "min": 1.0, "numel": 24, "shape": [ 24 ], "std": 0.0 } }, "operator": "latent_kv", "svd_relative_errors": { "k_rel_error": 0.4765392541885376, "rank": 512.0, "v_rel_error": 0.5195062756538391 } } ], "load_strategy": "base_class_then_patch_in_place", "loading": { "mismatched_keys": 0, "missing_keys": 0, "unexpected_keys": 0 }, "non_claims": [ "The artifact is a converted BF16 checkpoint; it is not a measured quality, latency or energy result.", "The patched operators are freshly initialized; no healing or post-training has been applied.", "Preservation proves that the untouched base tensors are bit-identical; it does not prove that the patched operators reproduce base behaviour." ], "output": "/Users/kearm/.cache/alphaheng/artifacts/inkling2-mini-mla-5-11-17-latent-cache-bf16", "parameters": { "added": 6686280, "base_total": 26386415616, "patched_total": 26393101896 }, "patch_config": { "delta_beta_init": 0.0, "delta_chunk_size": 64, "delta_decay_init": -0.1053605, "init_seed": 20261124, "kernel_backend": "recurrent", "latent_rank": 512, "operator": "latent_kv", "operators": null, "out_gate_init": "zero", "patched_layer_ids": [ 5, 11, 17 ], "state_mode": "reset" }, "patched_config_model_type": "inkling2_loop", "preservation": { "added_keys": [ "model.language_model.layers.11.self_attn.kv_a_proj.weight", "model.language_model.layers.11.self_attn.kv_a_scale", "model.language_model.layers.11.self_attn.kv_b_k.weight", "model.language_model.layers.11.self_attn.kv_b_v.weight", "model.language_model.layers.11.self_attn.out_scale", "model.language_model.layers.17.self_attn.kv_a_proj.weight", "model.language_model.layers.17.self_attn.kv_a_scale", "model.language_model.layers.17.self_attn.kv_b_k.weight", "model.language_model.layers.17.self_attn.kv_b_v.weight", "model.language_model.layers.17.self_attn.out_scale", "model.language_model.layers.5.self_attn.kv_a_proj.weight", "model.language_model.layers.5.self_attn.kv_a_scale", "model.language_model.layers.5.self_attn.kv_b_k.weight", "model.language_model.layers.5.self_attn.kv_b_v.weight", "model.language_model.layers.5.self_attn.out_scale" ], "compared_keys": 1115, "dropped_keys": [], "max_abs_diff": 0.0, "mismatches": 0, "reference_file_keys": 1115, "replaced_layer_roles": [ { "layer_idx": 5, "roles": { "k_proj": { "compared_keys": 5 }, "o_proj": { "compared_keys": 2 }, "q_proj": { "compared_keys": 4 }, "v_proj": { "compared_keys": 5 } } }, { "layer_idx": 11, "roles": { "k_proj": { "compared_keys": 5 }, "o_proj": { "compared_keys": 2 }, "q_proj": { "compared_keys": 4 }, "v_proj": { "compared_keys": 5 } } }, { "layer_idx": 17, "roles": { "k_proj": { "compared_keys": 5 }, "o_proj": { "compared_keys": 2 }, "q_proj": { "compared_keys": 4 }, "v_proj": { "compared_keys": 5 } } } ] }, "published_code": { "auto_map": { "AutoConfig": "modeling_inkling2_loop_patched.Inkling2LoopPatchedConfig", "AutoModelForCausalLM": "modeling_inkling2_loop_patched.Inkling2LoopPatchedForCausalLM", "AutoModelForImageTextToText": "modeling_inkling2_loop_patched.Inkling2LoopPatchedForConditionalGeneration" }, "layout": "self-contained", "modeling": "modeling_inkling2_loop_patched.py" }, "quantization_config_cleared": true, "schema": "inkling2-loop-patch-manifest/1", "tool": { "platform": "macOS-26.7.1-arm64-arm-64bit-Mach-O", "python": "3.13.9", "torch": "2.15.0", "transformers": "5.24.1" }, "verification": { "allclose": true, "atol": 0.02, "batch": 2, "length": 8, "max_abs_diff": 0.0, "quantization_config": null, "reloaded_attn_implementation": "eager", "reloaded_class": "Inkling2LoopPatchedForConditionalGeneration", "reloaded_config_class": "Inkling2LoopPatchedConfig", "rtol": 0.01, "seed": 20261124 } }