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:
- ☆113Updated last year
- ☆53Updated last year
- Language models scale reliably with over-training and on downstream tasks☆97Updated last year
- ☆81Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆78Updated last year
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆77Updated 9 months ago
- Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023)☆80Updated last year
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆82Updated 2 weeks ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆238Updated last month
- ☆147Updated 2 years ago
- ☆82Updated last year
- nanoGPT-like codebase for LLM training☆102Updated 2 months ago
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆136Updated last year
- Understand and test language model architectures on synthetic tasks.☆221Updated 2 weeks ago
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆61Updated 9 months ago
- ☆49Updated last year
- A toolkit for scaling law research ⚖☆50Updated 6 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆230Updated 8 months ago
- Experiment of using Tangent to autodiff triton☆79Updated last year
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆149Updated last month
- Using FlexAttention to compute attention with different masking patterns☆44Updated 10 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆127Updated 8 months ago
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆71Updated last year
- Sparse Backpropagation for Mixture-of-Expert Training☆30Updated last year
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆149Updated last month
- [NeurIPS 2024] Low rank memory efficient optimizer without SVD☆30Updated last month
- Long Context Extension and Generalization in LLMs☆58Updated 10 months ago
- some common Huggingface transformers in maximal update parametrization (µP)☆82Updated 3 years ago
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆119Updated last year
- A MAD laboratory to improve AI architecture designs 🧪☆123Updated 7 months ago