hkproj / pytorch-llama
LLaMA 2 implemented from scratch in PyTorch
☆258Updated last year
Related projects ⓘ
Alternatives and complementary repositories for pytorch-llama
- This repository contains an implementation of the LLaMA 2 (Large Language Model Meta AI) model, a Generative Pretrained Transformer (GPT)…☆54Updated last year
- For releasing code related to compression methods for transformers, accompanying our publications☆373Updated last month
- A family of compressed models obtained via pruning and knowledge distillation☆285Updated last week
- LoRA and DoRA from Scratch Implementations☆188Updated 8 months ago
- 📰 Must-read papers and blogs on Speculative Decoding ⚡️☆477Updated this week
- Official PyTorch implementation of QA-LoRA☆117Updated 8 months ago
- LORA: Low-Rank Adaptation of Large Language Models implemented using PyTorch☆82Updated last year
- Explorations into some recent techniques surrounding speculative decoding☆212Updated last year
- Scalable toolkit for efficient model alignment☆624Updated this week
- A simple and effective LLM pruning approach.☆672Updated 3 months ago
- QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Serving☆451Updated 2 weeks ago
- 🚀 Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flash…☆194Updated this week
- Ring attention implementation with flash attention☆588Updated 2 weeks ago
- ☆289Updated 7 months ago
- Llama from scratch, or How to implement a paper without crying☆524Updated 5 months ago
- A repository dedicated to evaluating the performance of quantizied LLaMA3 using various quantization methods..☆166Updated 3 months ago
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantization☆305Updated 3 months ago
- An Open Source Toolkit For LLM Distillation☆359Updated 2 months ago
- Notes on quantization in neural networks☆58Updated 11 months ago
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆477Updated 3 weeks ago
- ☆158Updated last month
- ☆199Updated 5 months ago
- [MLSys'24] Atom: Low-bit Quantization for Efficient and Accurate LLM Serving☆278Updated 4 months ago
- Fast inference from large lauguage models via speculative decoding☆577Updated 3 months ago
- Unofficial implementation for the paper "Mixture-of-Depths: Dynamically allocating compute in transformer-based language models"☆135Updated 5 months ago
- Official Implementation of EAGLE-1 (ICML'24) and EAGLE-2 (EMNLP'24)☆827Updated last week
- Notes about LLaMA 2 model☆47Updated last year
- Code repo for the paper "LLM-QAT Data-Free Quantization Aware Training for Large Language Models"☆254Updated 2 months ago
- DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆383Updated 3 weeks ago
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆82Updated 8 months ago