vectozavr / llm-hessianLinks
Using PyTorch autograd to compute Hessian of Perplexity for Large Language Models
☆26Updated 8 months ago
Alternatives and similar repositories for llm-hessian
Users that are interested in llm-hessian are comparing it to the libraries listed below
Sorting:
- ☆62Updated 2 years ago
- ☆23Updated last year
- ☆53Updated last year
- [ICLR‘24 Spotlight] Code for the paper "Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy"☆102Updated 6 months ago
- PoC for "SpecReason: Fast and Accurate Inference-Time Compute via Speculative Reasoning" [NeurIPS '25]☆60Updated 2 months ago
- [ACL 2025] Squeezed Attention: Accelerating Long Prompt LLM Inference☆54Updated last year
- Activation-aware Singular Value Decomposition for Compressing Large Language Models☆82Updated last year
- ☆39Updated last year
- This repo contains the source code for: Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs☆43Updated last year
- Source code for the paper "LongGenBench: Long-context Generation Benchmark"☆24Updated last year
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆64Updated last year
- A family of efficient edge language models in 100M~1B sizes.☆19Updated 10 months ago
- Official implementation for Yuan & Liu & Zhong et al., KV Cache Compression, But What Must We Give in Return? A Comprehensive Benchmark o…☆87Updated 9 months ago
- Pytorch implementation of our paper accepted by ICML 2024 -- CaM: Cache Merging for Memory-efficient LLMs Inference☆47Updated last year
- ☆124Updated 6 months ago
- Kinetics: Rethinking Test-Time Scaling Laws☆84Updated 5 months ago
- Quantized Side Tuning: Fast and Memory-Efficient Tuning of Quantized Large Language Models☆49Updated last year
- [ICML‘24] Official code for the paper "Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmark ".☆120Updated 5 months ago
- Codebase for decoding compressed trust.☆25Updated last year
- [NeurIPS 2024] The official implementation of "Kangaroo: Lossless Self-Speculative Decoding for Accelerating LLMs via Double Early Exitin…☆63Updated last year
- ☆63Updated last year
- Official Pytorch Implementation of "Outlier Weighed Layerwise Sparsity (OWL): A Missing Secret Sauce for Pruning LLMs to High Sparsity"☆74Updated 5 months ago
- LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verification☆68Updated 5 months ago
- LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuning☆36Updated last year
- Code accompanying the paper "Massive Activations in Large Language Models"☆187Updated last year
- ☆43Updated last year
- official code for GliDe with a CaPE☆18Updated last year
- [ICLR 2025] When Attention Sink Emerges in Language Models: An Empirical View (Spotlight)☆145Updated 5 months ago
- The official implementation of the paper "Towards Efficient Mixture of Experts: A Holistic Study of Compression Techniques (TMLR)".☆87Updated 9 months ago
- Implementation of CoLA: Compute-Efficient Pre-Training of LLMs via Low-Rank Activation☆24Updated 10 months ago