facebookresearch / any4Links
Quantize transformers to any learned arbitrary 4-bit numeric format
☆21Updated last week
Alternatives and similar repositories for any4
Users that are interested in any4 are comparing it to the libraries listed below
Sorting:
- Hacks for PyTorch☆19Updated 2 years ago
- Official Code For Dual Grained Quantization: Efficient Fine-Grained Quantization for LLM☆14Updated last year
- ☆31Updated last year
- Triton Implementation of HyperAttention Algorithm☆48Updated last year
- Here we will test various linear attention designs.☆60Updated last year
- A block oriented training approach for inference time optimization.☆33Updated 10 months ago
- Repository for Sparse Finetuning of LLMs via modified version of the MosaicML llmfoundry☆42Updated last year
- This repository contains code for the MicroAdam paper.☆20Updated 7 months ago
- DPO, but faster 🚀☆43Updated 7 months ago
- Using FlexAttention to compute attention with different masking patterns☆44Updated 9 months ago
- ☆51Updated last year
- Official repository for ICML 2024 paper "MoRe Fine-Tuning with 10x Fewer Parameters"☆20Updated last month
- Demo of the unit_scaling library, showing how a model can be easily adapted to train in FP8.☆46Updated last year
- FlexAttention w/ FlashAttention3 Support☆26Updated 9 months ago
- The evaluation framework for training-free sparse attention in LLMs☆82Updated 3 weeks ago
- Code for "RSQ: Learning from Important Tokens Leads to Better Quantized LLMs"☆18Updated last month
- [ACL 2024] RelayAttention for Efficient Large Language Model Serving with Long System Prompts☆40Updated last year
- DropIT: Dropping Intermediate Tensors for Memory-Efficient DNN Training (ICLR 2023)☆31Updated 2 years ago
- ☆29Updated 2 years ago
- 32 times longer context window than vanilla Transformers and up to 4 times longer than memory efficient Transformers.☆48Updated 2 years ago
- Repository for CPU Kernel Generation for LLM Inference☆26Updated 2 years ago
- Faster Pytorch bitsandbytes 4bit fp4 nn.Linear ops☆30Updated last year
- Work in progress.☆70Updated 2 weeks ago
- ☆22Updated 3 months ago
- ☆81Updated last year
- Odysseus: Playground of LLM Sequence Parallelism☆70Updated last year
- APPy (Annotated Parallelism for Python) enables users to annotate loops and tensor expressions in Python with compiler directives akin to…☆23Updated 3 weeks ago
- A place to store reusable transformer components of my own creation or found on the interwebs☆56Updated last week
- Triton implement of bi-directional (non-causal) linear attention☆51Updated 5 months ago
- ☆21Updated 2 months ago