hkproj / pytorch-llamaLinks
LLaMA 2 implemented from scratch in PyTorch
☆353Updated 2 years ago
Alternatives and similar repositories for pytorch-llama
Users that are interested in pytorch-llama are comparing it to the libraries listed below
Sorting:
- ☆203Updated 9 months ago
- LORA: Low-Rank Adaptation of Large Language Models implemented using PyTorch☆116Updated 2 years ago
- Notes about LLaMA 2 model☆68Updated 2 years ago
- This repository contains an implementation of the LLaMA 2 (Large Language Model Meta AI) model, a Generative Pretrained Transformer (GPT)…☆72Updated 2 years ago
- Implementation of FlashAttention in PyTorch☆171Updated 8 months ago
- Notes and commented code for RLHF (PPO)☆110Updated last year
- An extension of the nanoGPT repository for training small MOE models.☆195Updated 6 months ago
- ☆373Updated 9 months ago
- Recreating PyTorch from scratch (C/C++, CUDA, NCCL and Python, with multi-GPU support and automatic differentiation!)☆159Updated last year
- Awesome list for LLM quantization☆312Updated last week
- Notes about "Attention is all you need" video (https://www.youtube.com/watch?v=bCz4OMemCcA)☆315Updated 2 years ago
- ☆222Updated this week
- TransMLA: Multi-Head Latent Attention Is All You Need (NeurIPS 2025 Spotlight)☆372Updated last week
- A family of compressed models obtained via pruning and knowledge distillation☆352Updated 10 months ago
- making the official triton tutorials actually comprehensible☆54Updated last month
- LoRA and DoRA from Scratch Implementations☆211Updated last year
- Distributed training (multi-node) of a Transformer model☆83Updated last year
- Efficient LLM Inference over Long Sequences☆391Updated 3 months ago
- Notes on quantization in neural networks☆103Updated last year
- Minimal hackable GRPO implementation☆286Updated 8 months ago
- Coding a Multimodal (Vision) Language Model from scratch in PyTorch with full explanation: https://www.youtube.com/watch?v=vAmKB7iPkWw☆548Updated 10 months ago
- a minimal cache manager for PagedAttention, on top of llama3.☆122Updated last year
- Explorations into some recent techniques surrounding speculative decoding☆288Updated 9 months ago
- Advanced NLP, Spring 2025 https://cmu-l3.github.io/anlp-spring2025/☆66Updated 6 months ago
- For releasing code related to compression methods for transformers, accompanying our publications☆446Updated 8 months ago
- Implementation of Speculative Sampling as described in "Accelerating Large Language Model Decoding with Speculative Sampling" by Deepmind☆101Updated last year
- ☆173Updated last year
- All Homeworks for TinyML and Efficient Deep Learning Computing 6.5940 • Fall • 2023 • https://efficientml.ai☆182Updated last year
- Get down and dirty with FlashAttention2.0 in pytorch, plug in and play no complex CUDA kernels☆109Updated 2 years ago
- LLM KV cache compression made easy☆623Updated last week