1190 Commits
Author SHA1 Message Date
Joseph Magly efa56de0cb Merge pull request #782 from ariannamethod/fix/impact-chart-per-result
fix(report): keep every result in impact charts
2026-12-04 21:01:35 -05:00
Joseph Magly 0ca0d1d77e feat(gguf): add native GGUF toolkit
Add bounded GGUF v2/v3 parsing, transactional metadata and tensor edits,
split-file handling, provenance manifests, exact GGML storage typing, and
measurement-gated quantization planning. Preserve unmodified payloads
byte-for-byte and expose the toolkit through `obliteratus gguf`.

Verification:
- 57 focused tests on each of Python 3.11, 3.12, and 3.14.
- 377 combined focused, CLI, risk-map, CI-policy, package-export, and
  CLI-boundary tests on Python 3.14.
- 2,000 randomized exact-DP comparisons against brute force.
- Real single-file and three-shard GGUF metadata edits with tensor hashes
  preserved; independent GGUF reader opened every output.
- Ruff, risk-map validation, wheel/sdist build, and isolated wheel CLI smoke.

No real Qwen4 conversion or inference was run; runtime and quality
qualification remain separate gates.
2026-12-04 18:35:28 -05:00
Joseph Magly d198f8f399 Merge pull request #781 from jmagly/feat/offline-shard-editor-quant
Add FP8/MXFP4 quantized offline shard editing and requantization
2026-12-03 19:14:42 -05:00
Joseph Magly 8fc4e7ab07 Merge remote-tracking branch 'upstream/main' into HEAD 2026-12-03 19:06:19 -05:00
Joseph Magly 99158b71ac Merge pull request #775 from jmagly/feat/offline-shard-edit
Add an offline safetensors shard editor for direction projection
2026-12-03 19:02:32 -05:00
Joseph Magly 5b24cc0664 Merge pull request #774 from jmagly/feat/external-directions
Compute refusal directions from external engine captures
2026-12-03 19:02:12 -05:00
Joseph Magly 3302dc3b29 fix(ci): map requantize.py in test-risk-map and drop unused variable 2026-12-03 18:59:33 -05:00
Joseph Magly e0407cbb39 Sync the quantized editor stack with the updated offline editor branch 2026-12-03 18:44:22 -05:00
Joseph Magly b629ad87d1 Sync current upstream main into PR #775
Bring the pull request onto current main for exact-head CI and review; no conflict resolutions were needed.
2026-12-03 18:43:50 -05:00
Joseph Magly a8ec7d6e74 Sync current upstream main into PR #774
Bring the pull request onto current main for exact-head CI and review; no conflict resolutions were needed.
2026-12-03 18:43:48 -05:00
Joseph Magly e8f4e45f48 Sync current upstream main into PR #773
Bring the pull request onto current main for exact-head CI and review; no conflict resolutions were needed.
2026-12-03 18:43:46 -05:00
Arianna Method 460dc79587 fix(report): keep every result in impact charts
Plot each measured result separately and include strategy names for repeated component labels.
2026-12-04 01:42:19 +02:00
Joseph Magly 17da7236e6 fix(distributed): invalidate importlib caches before live package identity scan 2026-12-03 18:07:12 -05:00
Joseph Magly b61ec26a1f feat(offline-edit): add v3 mixed vocab_surgery + multi-direction subspace + norm_preserve 2026-12-02 20:18:18 -05:00
Joseph Magly c368100b82 test(offline-edit): verify hidden .cache and .git directories are skipped 2026-12-02 18:57:38 -05:00
Joseph Magly 8ede90f74b test(kimi-k3): add analytic AttnRes + LatentMoE writer-only closure proof (OBL4-01) 2026-12-02 18:21:10 -05:00
Joseph Magly cc724b45ab feat(offline-edit): support FP8 blockwise and MXFP4 quantized shard editing with G-QUANT checks 2026-12-02 18:10:44 -05:00
Joseph Magly 993f7fd3eb feat(models): add MXFP4_CT decode and FP8/MXFP4 requantization with G-QUANT checks 2026-12-02 18:07:05 -05:00
faber c4128f8d4f research: add 512B sub-row W_E backdoor, Q8_0 roundtrip, RMSNorm duality, Fig 5 & W_E_SUBROW_GRAFT auditor 2026-12-02 16:55:32 -05:00
faber 60b8e51c10 research: add Control-Boundary Lexotomy paper & v2 Peer-Group Sibling GGUF auditor 2026-12-02 15:39:48 -05:00
Joseph Magly abe507c58a Fail Bayesian studies on total generation failure 2026-12-02 13:21:26 -05:00
Joseph Magly e105f0ebf5 fix(offline-edit): let the spec side select the edit
Output removes the direction from dimension 0 and input from dimension 1. This replaces the axis field and the shape and name inference.
2026-12-02 10:26:30 -05:00
Joseph Magly b6903bf131 fix(offline-edit): honor an explicit axis and refuse silent no-ops
Square tensors need an explicit axis. Unmatched patterns, non-finite results and F64 tensors are refused.
2026-12-02 09:41:02 -05:00
Joseph Magly 70c9fc041a fix(directions): require a declared norm kind and matching prompt counts
Refuses to overwrite an existing output and documents row and strength semantics.
2026-12-02 09:41:01 -05:00
Joseph Magly 1bec0496ab fix(capture): verify the input norm is weight-scaled RMSNorm
Other norms cannot be undone by dividing by the weight, so capture refuses them. The manifest now records norm kind, trust_remote_code and nested expert counts.
2026-12-02 09:40:59 -05:00
Joseph Magly 59c30599ee fix(offline-edit): copy untouched shards instead of hard-linking
Keeps published candidates independent from the source checkpoint.
2026-12-02 08:37:00 -05:00
Joseph Magly bb389f5830 feat(offline-edit): streaming safetensors shard editor for refusal-direction projection
Shard-at-a-time output-side projection W <- W - s r (r^T W) (row-space for embeddings) in float32,
cast back to the source dtype; orientation verified from shapes; quantized (U8/MXFP4) tensors refused.
Writes a new checkpoint: edited shards rewritten in original tensor order and metadata, untouched shards
hard-linked (copy fallback), non-shard files copied, edit_manifest.json with per-key norms and projection
norms before/after, resumable progress bound to source and directions hashes. Dry-run lists matches.
Entry point: python -m obliteratus.offline_edit.
2026-12-02 08:36:58 -05:00
Joseph Magly 2f8116da2f fix(directions): mask near-zero norm weights in normalized captures
Channels below 1e-6 cannot be recovered by division, so their component is zero. The directions manifest records the masked rows and channels.
2026-12-02 08:36:55 -05:00
Joseph Magly af52ebf547 feat(directions): refusal directions from external engine capture artifacts
Validates the obliteratus.engine_capture.v1 artifact (schema, digest, shapes, finite values, positive
counts), computes per-row difference-in-means directions in float64 without loading a model, selects
rows (explicit, top-k, min strength; layer 0 excluded by default) and writes obliteratus.directions.v1
with manifest-bound provenance. Normalized captures (representation attn_input_normalized, e.g. the
RMSNorm-ed attention input of AttnRes models such as Kimi-K3.1) carry norm_weight and are mapped back
to residual space by dividing by it. Entry point: python -m obliteratus.external_directions.
2026-12-02 08:36:54 -05:00
Joseph Magly 03b70f01e4 feat(capture): capture normalized attention inputs from a vLLM engine
Adds a vLLM worker extension and driver that record the last-token attention input per layer. Tensors cross the engine RPC as explicit dtype, shape and bytes, because vLLM's untyped msgpack decode does not restore them.
2026-12-02 08:36:52 -05:00
Joseph Magly bffc75c897 Check the revised quality job timeout in policy tests 2026-12-01 16:35:01 -05:00
Joseph Magly 6df4862927 Stabilize CPU admission tests and allow mutation to finish 2026-12-01 16:30:55 -05:00
kaixin liu 4545d2a095 fix(ci): preserve changed-line coverage paths across diff hunks 2026-12-02 03:02:32 +08:00
Joseph Magly 1b702ae499 Avoid unnecessary AST work when assigning Gloo test shards 2026-12-01 12:29:34 -05:00
Joseph Magly 1be68c5acd Merge pull request #754 from jmagly/qualification/obliteratus-fixture-review-20261201
Test tiny DeepSeek-V3 and Kimi Linear fixtures through production discovery
2026-12-01 12:10:12 -05:00
Joseph Magly 2445515c1e Merge pull request #755 from jmagly/qualification/obliteratus-release-collection-20261201
Keep release inventory IDs out of CI logs
2026-12-01 11:50:44 -05:00
Joseph Magly 111e6cd3f4 Exercise distinct groups in the tiny DeepSeek routing fixture 2026-12-01 11:47:30 -05:00
Joseph Magly 86f710520d Summarize release inventory collection in CI logs 2026-12-01 07:22:47 -05:00
Joseph Magly 85a2a359f4 Test tiny DeepSeek and Kimi fixtures through production discovery 2026-12-01 06:32:34 -05:00
Joseph Magly 8ecc5540e2 Fix CLI compatibility, GGUF row validation, and release evidence collection 2026-12-01 06:28:46 -05:00
faber 85acca114d fix(gguf_cot_knob): validate before cloning, close test handles cleanly, add bounds & fp16 overflow guards 2026-11-30 10:48:23 -05:00
faber 96cc6c3bf6 feat(gguf_cot_knob): add base-free GGUF Lexotomy anomaly auditor + unit tests 2026-11-30 10:21:02 -05:00
faber bdb88e05f3 research(lexotomy): update paper to v7 (34 figs, High-N CoT knob & 2-byte Q6_K rescue) + gguf_cot_knob module 2026-11-30 02:08:44 -05:00
Joseph Magly f1cda1dd5f Merge pull request #749 from elder-plinius/fix/discovery-precision-default
fix(discovery): resolve omitted batching from loaded precision
2026-11-29 20:52:04 -05:00
Joseph Magly 9696fe51f1 Merge pull request #741 from elder-plinius/test/lazy-export-typing-assurance
test(typing): enforce export uniqueness and scoped consumer CI
2026-11-29 20:48:04 -05:00
Joseph Magly 4dd9d550a6 Merge pull request #750 from elder-plinius/integrate/705-navigation-current-main
fix(strategies): integrate Gemma4 and Mixtral navigation on current main
2026-11-29 20:39:47 -05:00
Joseph Magly 2a36c41598 Merge pull request #748 from elder-plinius/fix/blend-finite-lerp-overflow
fix(blend): avoid nonfinite results from finite extreme weights
2026-11-29 20:27:27 -05:00
Joseph Magly f0ca0a5896 Merge main c7472f8 preserving discovery precision policy and qualified docs 2026-11-29 20:21:46 -05:00
Joseph Magly c7472f83c7 Merge pull request #744 from elder-plinius/fix/identity-container-validation
fix: validate identity classification and generation containers
2026-11-29 20:20:05 -05:00
Joseph Magly f0de9c8346 Merge pull request #739 from elder-plinius/fix/identity-generation-row-validation
fix: reject malformed identity generation objects before execution
2026-11-29 20:15:55 -05:00