JonasGeiping / linear_cross_entropy_loss
A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.
☆65Updated 9 months ago
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
- ☆51Updated 11 months ago
- ☆103Updated 11 months ago
- Language models scale reliably with over-training and on downstream tasks☆96Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆105Updated this week
- ☆78Updated 10 months ago
- ☆47Updated last year
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆59Updated 6 months ago
- 🔥 A minimal training framework for scaling FLA models☆117Updated this week
- Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023)☆80Updated last year
- Using FlexAttention to compute attention with different masking patterns☆43Updated 7 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆72Updated 6 months ago
- ☆23Updated 2 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆73Updated last year
- ☆69Updated 2 months ago
- ☆47Updated last year
- This repo is based on https://github.com/jiaweizzhao/GaLore☆27Updated 7 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆60Updated 3 months ago
- Stick-breaking attention☆52Updated last month
- Why Do We Need Weight Decay in Modern Deep Learning? [NeurIPS 2024]☆66Updated 7 months ago
- Flash-Muon: An Efficient Implementation of Muon Optimzer☆91Updated this week
- A toolkit for scaling law research ⚖☆49Updated 3 months ago
- some common Huggingface transformers in maximal update parametrization (µP)☆80Updated 3 years ago
- ☆38Updated last year
- Understand and test language model architectures on synthetic tasks.☆194Updated last month
- The official code for Dropping Backward Propagation (DropBP)☆30Updated 6 months ago
- ☆78Updated 8 months ago
- ☆31Updated last year
- ☆81Updated last year
- Long Context Extension and Generalization in LLMs☆53Updated 7 months ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆135Updated last year