executing-plans
executing-plans
Use when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available
progressive_lora_pruning_loopRun LoRAPrune's iterative LoRA optimization, moving-average importance update, and progressive structured mask schedule.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this skill when recovering or implementing the central LoRAPrune algorithm after you have a LoRA-guided element importance function and a structured group masker. Do not use it as evidence for LoRAPrune unless it performs an actual optimizer step on LoRA parameters and records a trace.
(x, y) or equivalent model batches.W0.B and A.params_before, params_after, and optimizer_step_executed fields.Gbar_t = lambda * Gbar_{t-1} + (1-lambda) * Ghat_t.A and B.The included deterministic tests run a tiny regression loop and check optimizer execution, monotonic pruning, and the moving-average recurrence.
python /share/project/yuyang/workspace/Paper2Skills/Distiller/skills/module-to-skill/scripts/validate_skill_tree.py <this_skill_dir> --run-tests
The script uses a small list-based linear model for bounded recovery. For real LLMs, replace the analytic gradient code with framework autograd while retaining the same trace fields and LoRA-only-gradient boundary.