Panther: Faster and Cheaper Computations with Randomized Numerical Linear Algebra
Not on the map. Why?
Abstract (arXiv)
Training modern deep learning models is increasingly constrained by GPU memory and compute limits. While Randomized Numerical Linear Algebra (RandNLA) offers proven techniques to compress these models, the lack of a unified, production-grade library prevents widely adopting these methods. We present Panther, a PyTorch-compatible library that consolidates established RandNLA algorithms into a single high-performance framework. Panther engineers efficient, drop-in replacements for standard components including sketched linear layers, 2D convolution, multi-head attention, and randomized matrix decompositions (such as pivoted CholeskyQR). By implementing a custom C++/CUDA backend (pawX), Panther provides an optimized implementation that can run on both CPUs and GPUs. We demonstrate the effectiveness of RandNLA techniques and Panther's ease of adoption. By replacing standard PyTorch linear layers with Panther layers (requiring only a few lines of code) we achieve significant memory savings (up to 75%) on BERT while maintaining comparable loss. Source code is available (MIT License) at https://github.com/FahdSeddik/panther, along with demonstration video at https://youtu.be/7M3RQb4KWxs.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 8 of its 19 references that are in the map. First posted on arXiv 21 Jan 2026.
Builds on
8 of 19 references.
References · 8
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2016Pointer Sentinel Mixture Modelscited by 3,096
- 2023A Survey on Model Compression for Large Language Modelscited by 269
- 2023Randomized Numerical Linear Algebra : A Perspective on the Field With an Eye to Softwarecited by 38
- 2025Taming the Titans: A Survey of Efficient LLM Inference Servingcited by 16
- 2017Deep Neural Network Approximation using Tensor Sketchingcited by 3
- 2025CTSketch: Compositional Tensor Sketching for Scalable Neurosymbolic Learningcited by 1
Built on by
Not cited yet.