Files
OBLITERATUS/docs/legacy-ablation-offload.md
Joseph Magly 560cbf7c61 docs: explain legacy offload mutation and failure contracts
(cherry picked from commit 7f295d2d70f3c7ffff686999c046eb397511c219)
2026-10-05 17:27:18 -04:00

1.5 KiB

Legacy ablation and offloaded weights

FFN, whole-layer, attention-head and embedding-dimension ablations resolve logical weights before editing. This includes resident floating-point parameters and supported Accelerate CPU/disk backing maps. Biases participate in the same transaction. Head pruning retains the output bias; a grouped key/value head is shared by multiple query heads, so pruning one query head also zeros its shared key/value group.

Every target and selection is checked before the first write. An unsupported packed or quantized parameter rejects the operation. Shared selections are combined, parameter objects keep their owners, and exact Transformers tie metadata preserves embedding/output ties after disk dispatch. Declared ties whose authoritative values disagree are rejected.

On a later write failure, earlier writes are rolled back and the caller receives an exception. If rollback itself fails, the model is marked invalid and later legacy mutations are rejected. Discard and reload that model; do not evaluate or export it as a successful experiment. A successful ablation still requires a valid experiment restore point before another independent experiment; snapshot lifecycle and storage budgets are tracked separately in issue #90.

CPU regressions compare real Accelerate CPU/disk-offloaded forwards and backing weights with an independently edited resident GPT-2 fixture. These checks do not qualify CUDA placement. Issue #89 remains open until the leased Basilisk second-GPU and forced-offload acceptance runs have retained evidence.