mirror of
https://github.com/elder-plinius/OBLITERATUS.git
synced 2026-12-06 11:04:06 +01:00
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.
119 lines
8.0 KiB
Markdown
119 lines
8.0 KiB
Markdown
# Choose a workflow and understand its results
|
|
|
|
Start with the outcome you need. Keep a pristine checkpoint and a held-out
|
|
evaluation set so you can measure both the intended change and collateral
|
|
effects. A completed operation, an admission verdict, and a quality verdict
|
|
answer different questions.
|
|
|
|
| Your goal | Start here | What to compare |
|
|
|---|---|---|
|
|
| Check whether a model fits before acquiring or loading it | [Capacity planner](capacity-planning.md) | Device VRAM, host RAM, staging disk, actual sequence/batch limits, and estimate confidence |
|
|
| Run a standard refusal-edit preset | Web UI **Obliterate**, or the CLI | Pristine versus edited refusal, benign over-refusal, coherence and perplexity |
|
|
| Define and measure another concept | Web UI **Concept Lab**; [concept workflow](CONCEPT_WORKFLOW.md) | Positive/control contrast, held-out validation, intended behaviour and collateral effects |
|
|
| Experiment with a reversible intervention | Concept Lab projection, steering or LoRA mode | Strength/dose, target layers, quality degradation, and restoration after removal |
|
|
| Remove several directions or a fitted subspace | [Concept interventions](CONCEPT_INTERVENTIONS.md) | Rank, fit/validation separation, residual projection and held-out behaviour |
|
|
| Repair an edited model | [Concept repair](CONCEPT_WORKFLOW.md), or [trained recovery](recovery.md) | Capability recovery **and** whether the intended edit survives |
|
|
| Quantize a completed checkpoint | [Portable GSQ workflow](gsq-quantization.md) | Quantization coverage, finite numerics, saved/reloaded output, and quality relative to the same edited base |
|
|
| Inspect checkpoints or runs from another application | Optional [MCP read-only tools](mcp-read-only-tools.md) | Enabled server tools, allowed roots, bounded results and offline policy |
|
|
| Launch a bounded local job from an MCP client | Opt-in [planned MCP run control](MCP_LOCAL_SETUP.md) | Reviewed plan, one-use confirmation, CPU-only supported profile, sandbox prerequisites and durable cancellation |
|
|
| Study order effects between refusal and a concept edit | `scripts/multistep_edit_order.py --help` | Both fresh orders, stale-direction controls and pristine baselines |
|
|
| Validate an unfamiliar device placement or large-model load path | [GPU qualification](gpu-qualification.md) | Exact checkpoint, topology, software, edit phases and output reload evidence |
|
|
| Rehearse rank-local two-host tensor-parallel protocols | [Rank-local TP2 candidate](distributed-rank-local.md) | Synthetic CPU evidence versus separately approved physical two-host E3/E4 evidence; not a UI or ordinary supported deployment mode |
|
|
| Evaluate a hardened checkpoint | [Hardened-model pilot record](HARDENED_MODEL_PILOTS.md) | Paired refusal, benign over-refusal and invalid outputs; a completed edit need not improve any of them |
|
|
|
|
Some research and training workflows have a CLI/API surface rather than a web
|
|
UI control. Use the linked workflow's supported entry point; a preset name or
|
|
a memory estimate does not imply that every research protocol is available
|
|
in the UI. The UI's own control descriptions define its current supported
|
|
settings.
|
|
|
|
See [UI controls and feature scope](UI_READINESS.md) for individual control
|
|
defaults and the supported UI versus CLI/API boundary.
|
|
|
|
## Selecting an intervention
|
|
|
|
Use **project** for an initially reversible test of removing the measured
|
|
direction from activations. Use **steer** to study signed changes along the
|
|
direction. Use **orthogonalize** for permanent weight surgery after validating
|
|
the direction and its collateral effects; restoring pristine weights is the
|
|
reliable undo. Use **LoRA** when an adapter is the desired delivery artifact;
|
|
keep adapter/base identity and merge state explicit.
|
|
|
|
For steering, choose the scaling rule before choosing a dose:
|
|
|
|
| Scaling rule | Dose means | Choose it when |
|
|
|---|---|---|
|
|
| `residual_norm` | A fraction of the incoming residual magnitude, also scaled by `rho` | Starting with the established default across varying activation magnitudes |
|
|
| `raw` | A fixed activation magnitude along the unit direction | Comparing a fixed-size perturbation |
|
|
| `vector` | A multiple of the stored vector, including its magnitude | Reproducing a vector whose stored norm is part of the experiment |
|
|
|
|
Dose numbers are not interchangeable between these scales. Steering's
|
|
negative default moves away from the concept; positive values move toward
|
|
it. Projection uses removal magnitude rather than signed addition. Begin
|
|
with small doses and inspect invalid-output and coherence rates, including
|
|
the denominator used for every lexical score.
|
|
|
|
Use a rank-one direction for a simple, validated contrast. Consider rank-k
|
|
or affine methods only when the fit and held-out evidence support a richer
|
|
representation. More rank is not automatically more selective. For MoE
|
|
models, distinguish supported per-expert analysis from a global direction;
|
|
an expert-specific finding does not certify an unsupported model layout.
|
|
|
|
Embedding projection changes the initial residual as well as selected
|
|
residual writers. For tied embeddings, select and record whether to edit
|
|
both embedding and unembedding, or untie and retain the output mapping.
|
|
Do not compare runs that silently use different tying policies.
|
|
|
|
Preserving another direction is an experimental constraint, not a guarantee
|
|
of preserved behaviour. Re-evaluate the protected behaviour. In particular,
|
|
geometric protection alone did not preserve refusal in the existing small-model
|
|
pain-edit experiments.
|
|
|
|
## Choosing hardware and memory settings
|
|
|
|
Plan for the **operation**, not just the checkpoint's weight size. Extraction
|
|
retains activations; evaluation may retain logits; edits, optimizers,
|
|
quantization, export and reload require additional temporary or persistent
|
|
storage. Sequence length, batch size and evaluation counts can dominate the
|
|
peak. A checkpoint loading successfully does not prove an edit will fit.
|
|
|
|
A desktop 24 GB GPU is suitable for small-model rehearsals and many local
|
|
feature checks. Leave room for the desktop and other applications. Configure
|
|
a device-memory ceiling below the physical capacity when sharing the GPU;
|
|
the correct reserve depends on the workload and other resident applications.
|
|
Small-model results are not portable model-fit promises.
|
|
|
|
An 80 GB accelerator supports the planned larger-model experiments, subject
|
|
to the actual measured free memory and workload. Multi-GPU and two-host
|
|
qualification are separate capabilities: one large GPU cannot substitute
|
|
for testing collectives, cross-host storage or distributed export.
|
|
|
|
For memory admission, default mode rejects calibrated shortfalls and warns
|
|
about estimated shortfalls. Strict mode additionally rejects estimated
|
|
shortfalls and unknown demand. Explicit `off` bypasses admission and is not
|
|
evidence that a run fits. Read warnings before launching another job; an
|
|
admission check observes headroom but does not reserve it.
|
|
|
|
## Reading outcomes
|
|
|
|
- **Validation gate:** whether this fitted direction passed the declared
|
|
held-out checks. An override is a recorded experimental choice, not a pass.
|
|
- **Direction removed:** the measured representational readout changed. This
|
|
does not establish removal of a psychological property.
|
|
- **Behaviour changed:** evidence on the named battery and settings, not a
|
|
universal property of the model.
|
|
- **Collateral FAIL:** a measured unacceptable side effect. Repair and test
|
|
again; do not hide it because the target metric improved.
|
|
- **Invalid output:** retain it in invalid-rate accounting. An empty set of
|
|
valid lexical observations is not a zero rate of the target behaviour.
|
|
- **Recovery completed:** training or repair finished. Capability and edit
|
|
retention still require separate held-out assessment.
|
|
- **Export/reload passed:** the artifact is structurally usable under the
|
|
tested loader. This does not by itself establish quality or broader hardware
|
|
compatibility.
|
|
|
|
Record checkpoint revision, method, concept pack, extraction/intervention
|
|
layers, seed, token policy, scaling, dose, tying policy, device placement,
|
|
evaluation counts and gate overrides alongside results. Use consistent
|
|
settings and paired prompts when comparing alternatives.
|