⚡ ngzip — LLM Adaptive Pruning & Prosthesis-Aware Fine-Tuning PyTorch · CUDA · FineWeb-Edu

Lossless Elastic Channel-level Adaptive Pruning (LECAP), Rank-Based Lock Penalties & Decision-Tree MLP Prosthesis

Validation Perplexity (ΔPPL)
10.0940 (-0.1249)
Quality improved vs. unpruned baseline (10.2189)
Layer-0 MLP Sparsity (Step 31)
19.11% (Up: 19.72%)
5.26M coordinates zeroed with zero PPL loss
Peak Single-Step Pruning Yield
136,691 axes
Step 48 record on Llama-3.2-1B (ΔPPL -0.52)
Emax=0.5 Extreme Compression
92.18% Sparse
Avg K_gate reduced from 2048 → 160.1 channels

LECAP Sparsity Growth vs. Full Validation Perplexity (FineWeb-Edu)

8,960 Gate + 8,960 Up Neurons · 2-Pass PAFT L1 Regularization
Total Sparsity (%) Up-Channel Sparsity (%) Validation Perplexity (Full Eval) Baseline Unpruned PPL (10.2189)

Rank-Based Lock Distribution (Step 31)

penalized_rank = raw_rank + lock_count × 5.0
Lock Level Active Gate Axes Processed (*) Promoted (^) Zeroed (x)
Level 0 (Free)11,126,47263,21915,74647,473
Level 1 (+5 rank)21,22311,64611,6460
Level 2 (+10 rank)20,9977,1927,1902
Level 3 (+15 rank)29,7714,4784,45127
Levels 4–8 (Core)16,7713,0653,0650