Model Pruning & LLM Compression
Reduces Large Language Model size and accelerates inference using advanced pruning techniques like Wanda and SparseGPT.
The Model Pruning skill provides a comprehensive framework for compressing LLMs to enable efficient deployment on constrained hardware without significant loss in accuracy. By implementing state-of-the-art methods like Wanda (weights multiplied by activations) and SparseGPT (second-order pruning), this skill allows developers to achieve up to 50% sparsity in a one-shot manner. It supports unstructured, structured, and hardware-optimized N:M sparsity patterns, making it an essential tool for AI researchers and engineers looking to optimize model performance for edge devices, mobile platforms, and high-throughput production environments.