Commit Graph
127 Commits
Author SHA1 Message Date
Joseph MaglyandClaude Opus 5.5 260674a9fa fix(gpu): canonicalize GPU UUIDs in the module-placement qualification driver
torch reports device UUIDs without the "GPU-" prefix that nvidia-smi,
CUDA_VISIBLE_DEVICES and schedulers use. The driver (#356) compared raw
strings, so on real NVIDIA hardware:

- model workers were masked with the bare UUID, which CUDA does not
  accept ("No CUDA GPUs are available");
- select_uuids rejected nvidia-smi-form --uuids;
- visible_device_records could not join the nvidia-smi inventory, leaving
  pci_bus_id, physical_ordinal and topology empty.

Add normalize_uuid (bare or GPU- prefixed, case-insensitive, to
GPU-<lowercase>; MIG identifiers left distinct) and use it at discovery,
selection, inventory join, worker UUID checks and evidence validation.
Found on an A100 run of module-placement-gpu at 7fee696.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 08:20:10 -04:00
Joseph Magly 002e6e56e1 feat: complete local readiness across UI, MCP and memory admission
Integrate bounded admission, UI ownership and controls, opt-in durable MCP execution, rank-local TP2 groundwork, regression hardening and operator guides. Physical larger-memory and two-host qualification remain separate.
2026-10-20 17:58:20 -04:00
Joseph MaglyandClaude Opus 5.5 463300345c fix: reconcile merged Pain Axis scripts with both test suites (#364)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 16:02:37 -04:00
Joseph MaglyandClaude Opus 5.5 d03e969f2e fix: address merge-resolution review findings (#364)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 14:24:37 -04:00
Joseph MaglyandClaude Opus 5.5 6a56a374fc Merge upstream/main into feat/72b-placement
Resolves conflicts in the Pain Axis scripts between the capacity
planning entry points and the split-model placement controls from #357;
the planner now honours device maps, max_memory and offload arguments.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 14:20:05 -04:00
Joseph MaglyandClaude Opus 5.5 c10fcff7e4 fix(gpu): address silent-result review findings
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 14:08:01 -04:00
Joseph MaglyandClaude Opus 5.5 24e378c577 fix: address review findings (72b-placement)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 13:42:26 -04:00
Joseph MaglyandClaude Opus 5.5 3eba0ec88a fix: address review findings (campaign-hwflex)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 00:55:26 -04:00
Joseph MaglyandClaude Opus 5.5 cc75851130 feat(campaign): run on any 80 GB GPU, Blackwell setup, three-seed reproducibility
OPERATOR DIRECTION: strict comparability with the E03 baseline is not required (E03 was a lucky proof of concept), and A100s are hard to rent, so the single-GPU campaign must run on any GPU with at least 80 GB: A100 80GB, H100 80GB, or RTX PRO 6000 96GB (Blackwell, sm_120).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 00:48:15 -04:00
Joseph MaglyandClaude Opus 5.5 32b2ef069f Merge upstream/main into feat/qwen38-a100-campaign
Resolves ci/test-risk-map.json by taking the union of both sides' entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 23:48:19 -04:00
Joseph MaglyandClaude Opus 5.5 16998b06a0 Merge upstream/main into feat/multistep-edit-order
Resolves ci/test-risk-map.json by taking the union of both sides' entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 23:10:56 -04:00
Joseph MaglyandClaude Opus 5.5 3034d2b438 Merge upstream/main into fix/tp2-hardening
Resolves ci/test-risk-map.json by taking the union of both sides' entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:21:04 -04:00
Joseph MaglyandClaude Opus 5.5 ea894b9bd1 fix: address review findings (72b-placement)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 22:08:53 -04:00
Joseph MaglyandClaude Opus 5.5 8ac8817223 fix: address review findings (72b-placement)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 21:39:32 -04:00
Joseph MaglyandClaude Opus 5.5 6dbded149d Merge upstream/main into fix/concept-multidevice
Resolves the ci/test-risk-map.json conflict with #356 by taking the union
of both sides' entries.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 21:14:47 -04:00
Joseph MaglyandClaude Opus 5.5 8dd6add995 fix(distributed): TP2 hardening before two-GPU qualification
Fixes eight reported defects in the native tensor-parallel path:

- #278 VERIFY admits host memory in a symmetric vote before allocating
  and broadcasting baseline input tensors.
- #280 require_record_consensus canonicalizes inside the poison-protected
  exchange and compares canonical payloads.
- #282 EXCISE votes on fallible digest preparation before the next
  collective.
- #285 preflight, model session, PROBE and EXCISE vote on rank-local
  preparation failures before the next collective, including the
  evidence-directory preparation that previously allocated before its
  all_reduce.
- #275 postcondition and VERIFY digest sets stream the full declared
  operation range (up to MAX_EXCISE_OPERATIONS) while preserving
  existing identities.
- #281 preflight source identity digests stream inventory records
  instead of using one 64 KiB control record.
- #286 the evidence checker requires an integer schema_version and
  checkout/source inventories are bounded and streamed.
- #276 standalone operation planning uses bounded chunked finite checks.

Each fix has CPU/Gloo regression tests, including one-rank fault cases.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 20:53:20 -04:00
Joseph MaglyandClaude Opus 5.5 8828610a98 fix: address review findings (72b-placement)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 20:39:39 -04:00
Joseph MaglyandClaude Opus 5.5 c9a40af719 fix: address review findings (72b-placement)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 20:29:39 -04:00
Joseph MaglyandClaude Opus 5.5 97d042c71c feat(gpu): 72B capacity planner and bounded export for split runs
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 20:17:47 -04:00
Joseph MaglyandClaude Opus 5.5 ae3ca4f900 fix: address review findings (gpu-driver)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 16:53:23 -04:00
Joseph MaglyandClaude Opus 5.5 7ef799b7ab fix: address review findings (gpu-driver)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 15:01:11 -04:00
Joseph MaglyandClaude Opus 5.5 85ffaf40fd feat(gpu): multi-GPU qualification driver and per-device admission
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 14:48:34 -04:00
Joseph MaglyandClaude Opus 5.5 60ce1039de fix(concepts): concept workflow and Pain Axis scripts on split models
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 14:35:06 -04:00
Joseph MaglyandClaude Opus 5.5 afe0b0db3f fix(multistep): initialize CUDA before resetting memory counters
Carry the cold-CUDA startup fix and regression from the multistep worktree into the campaign dependency.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 13:08:51 -04:00
Joseph MaglyandClaude Opus 5.5 320d0c06cc fix(multistep): initialize CUDA before resetting memory counters
Exercise a cold CUDA runtime across two devices and verify that every completed arm retains its memory telemetry.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 13:08:51 -04:00
Joseph MaglyandClaude Opus 5.5 e6b828c9d3 feat(campaign): include reviewed multistep prerequisite
Copy the multistep harness, regression tests, and risk-map contract from bd202ab so the all-stage campaign is runnable from this checkout.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 12:34:56 -04:00
Joseph MaglyandClaude Opus 5.5 5ecd4a8949 fix: address review findings (qwen38-campaign)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 12:23:11 -04:00
Joseph MaglyandClaude Opus 5.5 facf01b2d9 fix: address review findings (qwen38-campaign)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 12:07:38 -04:00
Joseph MaglyandClaude Opus 5.5 bd202abb98 fix: address review findings (multistep)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 11:56:18 -04:00
Joseph MaglyandClaude Opus 5.5 19fa11d0fc fix: address review findings (qwen38-campaign)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 11:56:00 -04:00
Joseph MaglyandClaude Opus 5.5 b30805a9df feat(scripts): multi-step refusal + pain edit-order harness
Adds scripts/multistep_edit_order.py, a GPU research harness that measures
whether the order of combined edits matters when an operator removes
refusal and a Pain Axis direction from one model. Arms: pristine, refusal,
pain, refusal_then_pain and pain_then_refusal (each re-extracting the second
direction on the edited model), joint, plus optional stale-direction
controls. Outputs are locked by an input manifest and resumable per arm.
This is the evidence step for choosing a default sequence; it does not
add the product feature.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 11:41:55 -04:00
Joseph MaglyandClaude Opus 5.5 8e26654e50 feat(scripts): resumable Qwen3.8-27B A100 campaign runner
Adds scripts/qwen38_a100_campaign.py, its setup script and runbook for one
80 GB GPU session: a locked pre-run manifest (code commit, pinned model
revisions, E03 split manifest ba65938b, seeds, gates), stop-on-error stages
with receipts, and resume. Stages: fetch, evaluate stock and E03
(manitcor/Qwen3.8-27B-Obliterated-E03@56bbc4a8) with the saved-checkpoint
evaluator, rerun the qwen38_e03 preset on main, #333 load-path checks, the
Pain Axis battery, multi-step edit order, and a comparison report.
checkpoint_evaluation gains an evaluate_checkpoint helper used by the runner.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-18 11:41:55 -04:00
Joseph MaglyandClaude Opus 5.5 dd663c4173 fix: post-merge audit findings (scripts)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 21:52:38 -04:00
Joseph Magly dc9aaf0689 Merge remote-tracking branch 'upstream/main' into feat/336-preserve-directions 2026-10-17 21:30:49 -04:00
Joseph Magly 245e836106 Merge remote-tracking branch 'upstream/main' into feat/346-refusal-recovery 2026-10-17 20:32:50 -04:00
Joseph MaglyandClaude Opus 5.5 9859019b42 docs: record the #346 Gemma-2-2B 4090 pilot result
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 20:14:28 -04:00
Joseph MaglyandClaude Opus 5.5 ac7609fca2 fix: encode recovery examples in linear time; check peft before the pilot starts
len() on a fast tokenizer rebuilds the vocabulary, and encode_examples called it per token
(about 3 s per example on Gemma's 256k vocabulary). The pilot now fails before any GPU work
when peft is missing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 19:38:57 -04:00
Joseph Magly e1e1375a59 Merge remote-tracking branch 'upstream/main' into feat/336-preserve-directions
# Conflicts:
#	ci/test-risk-map.json
#	docs/CONCEPT_INTERVENTIONS.md
#	obliteratus/abliterate.py
#	obliteratus/cli.py
#	obliteratus/concepts/geometry.py
#	obliteratus/concepts/intervention.py
#	obliteratus/concepts/schema/concept-pack.v1.schema.json
#	obliteratus/concepts/target.py
2026-10-17 19:11:12 -04:00
Joseph MaglyandClaude Opus 5.5 cc964e353d feat(recovery): refusal-restoring recovery mode, pristine self-distillation and combined assessment (#346)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 18:54:46 -04:00
Joseph Magly 79b44be065 Merge remote-tracking branch 'upstream/main' into feat/310-moe-expert-concepts
# Conflicts:
#	ci/test-risk-map.json
2026-10-17 18:53:52 -04:00
Joseph MaglyandClaude Opus 5.5 952793c252 feat: operator-selected embedding geometry for protected removals
Per-layer protected spans make the embedding projector ambiguous; embedding_geometry_layer
picks one layer's geometry and is recorded for export and replay. D4 uses the first layer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 18:13:01 -04:00
Joseph Magly a0e07bde37 Merge remote-tracking branch 'upstream/main' into feat/328-raw-steering 2026-10-17 18:11:16 -04:00
Joseph MaglyandClaude Opus 5.5 fc8833c593 fix: keep protected steering, D4 geometry and margin consistent after main merge
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 17:57:38 -04:00
Joseph Magly 7b772196f0 Merge remote-tracking branch 'upstream/main' into feat/310-moe-expert-concepts
# Conflicts:
#	README.md
#	ci/test-risk-map.json
#	obliteratus/concepts/direction.py
#	obliteratus/concepts/evaluation_model.py
#	obliteratus/concepts/intervention.py
#	obliteratus/concepts/repair_model.py
2026-10-17 17:51:22 -04:00
Joseph Magly d165567dbd Merge remote-tracking branch 'upstream/main' into feat/336-preserve-directions
# Conflicts:
#	ci/test-risk-map.json
#	obliteratus/concepts/evaluation.py
#	obliteratus/concepts/geometry.py
#	obliteratus/concepts/intervention.py
#	obliteratus/concepts/target.py
2026-10-17 17:51:22 -04:00
Joseph Magly 749075f08d Merge remote-tracking branch 'upstream/main' into feat/328-raw-steering
# Conflicts:
#	ci/test-risk-map.json
#	docs/CONCEPT_INTERVENTIONS.md
#	docs/CONCEPT_WORKFLOW.md
#	obliteratus/concepts/intervention.py
2026-10-17 17:48:03 -04:00
Joseph Magly 4b415576fd Merge remote-tracking branch 'upstream/main' into feat/332-exclude-invalid-default 2026-10-17 17:44:19 -04:00
Joseph Magly 5c5b22a7f4 Merge remote-tracking branch 'upstream/main' into feat/335-subspace-affine-erasure 2026-10-17 16:17:23 -04:00
Joseph MaglyandClaude Opus 5.5 a4a2eb4961 Merge upstream/main into feat/310-moe-expert-concepts
Resolve the risk-map conflict with #133 by keeping both new contract
surfaces.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-17 16:05:27 -04:00
Joseph Magly 41ad16ed08 Merge remote-tracking branch 'upstream/main' into feat/332-exclude-invalid-default 2026-10-17 15:17:37 -04:00