Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 1.8 KB

method.md

File metadata and controls

13 lines (9 loc) · 1.8 KB

Fixed Method Recipe

← Back to README · Assets · Evaluation · Deployment

  • prepare encodes the public caption cohort and materializes native dense denoising states, paired noise, and the exact model's head and MLP dependency descriptors.
  • prune measures signed prediction sensitivity at each invocation. It combines coherent shared-removal effects and centered position variation. The structured solver accounts for dependent parameter slices. A sparse mask enforces row-wise counts or the exact 2:4 format.
  • Reconstruction pools the input covariance across recurrent invocations and solves a damped least-squares problem on each retained support. The initialization is evaluated on the fixed diagnostic subset.
  • recover updates all floating-point student parameters with FP32 master weights, frozen teacher continuation, and the recurrent restoration losses. Four shared-mask rounds compare current and exchanged candidates from the same optimizer, EMA, and weight snapshot. Remaining updates use the selected support.
  • Structured exports physically slice the affected projections. Sparse exports provide explicit masks and full-model state dictionaries.

loopprune configure selects the fixed paper presets. Each work directory has a single immutable case. The default calls torchrun with eight local processes. To run on two four-GPU machines, pass the appropriate --nnodes, --node-rank, rendezvous endpoint and --nproc-per-node=4 after the last flag --distributed-args on both machines. Use the same work and asset locations on both.

For example, choose --format unstructured --rate 0.60 or --format 2of4 to build a sparse export. For custom rates, feasibility depends on the physical dependency map and the model's retained-channel constraints.