Individual skill
model-pruning
Reduce LLM size and accelerate inference using pruning techniques like Wanda and SparseGPT. Use when compressing models without retraining, achieving 50% sparsity with minimal accuracy loss, or enabling faster inference on hardware accelerators. Covers unstructured pruning, structured pruning, N:M sparsity, magnitude pruning, and one-shot methods.
backend/cli/skills/ml-training/model-pruning/SKILL.md
Source commit a08e0ad0ad3d6448123039ee4659163eb2e35d99
What was checked
- Matches the observed repository HEAD
- Yes
- Scanner rules are current
- Yes
- Repository scan complete
- No
- Skill scan complete
- No
- Observed behavior
- Network or broad shell
- Last checked
- Nov 2, 2026
These are observations at the recorded commit, not a guarantee of safety. Review the source before running it.
Install this skill
Choose an agent in your Stack or copy a command below. Commands fetch the pinned commit and copy only this skill directory. Existing destinations are refused. Copying a command does not install anything.
An install command is unavailable: current rules, complete repository and skill scans, an eligible behavior level and a permitted license are required.
Repository context
- Repository stars (not skill ratings)
- 4,351
- Repository last updated
- Nov 6, 2026
- License
- Apache-2.0
Observed agent integration: No specific integration evidence. Standard SKILL.md installation does not imply verified compatibility.
- agent Repository topic
- ai Repository topic
- bun Repository topic
- cli Repository topic
- llm Repository topic
- ml Repository topic
- open-source Repository topic
- research Repository topic
- science Repository topic
- ai-agent Repository topic
- emerging-techniques Declared skill tag
- model-pruning Declared skill tag
- wanda Declared skill tag
- sparsegpt Declared skill tag
- sparsity Declared skill tag
- model-compression Declared skill tag
- n:m-sparsity Declared skill tag
- one-shot-pruning Declared skill tag
- structured-pruning Declared skill tag
- unstructured-pruning Declared skill tag
- fast-inference Declared skill tag
- engineering Derived category
Files and excerpt
File metadata and permitted, redacted excerpts come from the recorded scan. Source links are pinned to that commit.
Browse files
SKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesSKILL.mdcore · 14,078 bytesreferences/wanda.mddoc · 9,492 bytes
Read excerpt
# Model Pruning: Compressing LLMs
## When to Use This Skill
Use Model Pruning when you need to:
- **Reduce model size** by 40-60% with <1% accuracy loss
- **Accelerate inference** using hardware-friendly sparsity (2-4× speedup)
- **Deploy on constrained hardware** (mobile, edge devices)
- **Compress without retraining** using one-shot methods
- **Enable efficient serving** with reduced memory footprint
**Key Techniques**: Wanda (weights × activations), SparseGPT (second-order), structured pruning, N:M sparsity
**Papers**: Wanda ICLR 2024 (arXiv 2306.11695), SparseGPT (arXiv 2301.00774)