vectozavr / llm-hessianLinks
Using PyTorch autograd to compute Hessian of Perplexity for Large Language Models
☆26Updated 7 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:
- ☆23Updated last year
- [ICML‘24] Official code for the paper "Revisiting Zeroth-Order Optimization for Memory-Efficient LLM Fine-Tuning: A Benchmark ".☆117Updated 4 months ago
- ☆53Updated last year
- Pytorch implementation of our paper accepted by ICML 2024 -- CaM: Cache Merging for Memory-efficient LLMs Inference☆47Updated last year
- Activation-aware Singular Value Decomposition for Compressing Large Language Models☆80Updated last year
- PoC for "SpecReason: Fast and Accurate Inference-Time Compute via Speculative Reasoning" [NeurIPS '25]☆59Updated last month
- Source code for the paper "LongGenBench: Long-context Generation Benchmark"☆24Updated last year
- This repo contains the source code for: Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs☆41Updated last year
- [ICLR‘24 Spotlight] Code for the paper "Merge, Then Compress: Demystify Efficient SMoE with Hints from Its Routing Policy"☆99Updated 5 months ago
- ☆54Updated 2 years ago
- LongSpec: Long-Context Lossless Speculative Decoding with Efficient Drafting and Verification☆67Updated 4 months ago
- [ICLR 2025] When Attention Sink Emerges in Language Models: An Empirical View (Spotlight)☆139Updated 4 months ago
- LISA: Layerwise Importance Sampling for Memory-Efficient Large Language Model Fine-Tuning☆36Updated last year
- ☆61Updated 11 months ago
- ☆39Updated last year
- Kinetics: Rethinking Test-Time Scaling Laws☆82Updated 4 months ago
- Quantized Side Tuning: Fast and Memory-Efficient Tuning of Quantized Large Language Models☆49Updated last year
- ☆62Updated 2 years ago
- Code accompanying the paper "Massive Activations in Large Language Models"☆187Updated last year
- official code for GliDe with a CaPE☆18Updated last year
- [ACL 2025] Squeezed Attention: Accelerating Long Prompt LLM Inference☆54Updated last year
- Official Pytorch Implementation of Our Paper Accepted at ICLR 2024-- Dynamic Sparse No Training: Training-Free Fine-tuning for Sparse LLM…☆50Updated last year
- ☆120Updated 5 months ago
- A Sober Look at Language Model Reasoning☆89Updated last week
- [ACL 2023 Findings] Emergent Modularity in Pre-trained Transformers☆25Updated 2 years ago
- Codebase for decoding compressed trust.☆25Updated last year
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆64Updated last year
- Implementation of CoLA: Compute-Efficient Pre-Training of LLMs via Low-Rank Activation☆24Updated 9 months ago
- A family of efficient edge language models in 100M~1B sizes.☆18Updated 9 months ago
- Implementation for FP8/INT8 Rollout for RL training without performence drop.☆275Updated 3 weeks ago