JonasGeiping / linear_cross_entropy_lossLinks
A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.
☆70Updated last year
Alternatives and similar repositories for linear_cross_entropy_loss
Users that are interested in linear_cross_entropy_loss are comparing it to the libraries listed below
Sorting:
- ☆53Updated last year
- ☆118Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023)☆80Updated last year
- ☆81Updated last year
- Language models scale reliably with over-training and on downstream tasks☆98Updated last year
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆81Updated 9 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆84Updated last month
- ☆148Updated 2 years ago
- [NeurIPS 2024] Low rank memory efficient optimizer without SVD☆30Updated last month
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆240Updated 2 months ago
- ☆87Updated last year
- nanoGPT-like codebase for LLM training☆102Updated 3 months ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆136Updated last year
- ☆49Updated last year
- Understand and test language model architectures on synthetic tasks.☆221Updated last month
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆61Updated 10 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆152Updated last month
- The evaluation framework for training-free sparse attention in LLMs☆90Updated 2 months ago
- Code for studying the super weight in LLM☆115Updated 8 months ago
- Experiment of using Tangent to autodiff triton☆80Updated last year
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆119Updated last year
- Using FlexAttention to compute attention with different masking patterns☆44Updated 11 months ago
- Sparse Backpropagation for Mixture-of-Expert Training☆30Updated last year
- ☆101Updated 10 months ago
- Muon fsdp 2☆39Updated 2 weeks ago
- Long Context Extension and Generalization in LLMs☆58Updated 11 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆233Updated 8 months ago
- ☆33Updated last year
- ☆85Updated last year