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
- Language models scale reliably with over-training and on downstream tasks☆98Updated last year
- ☆149Updated 2 years ago
- Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023)☆81Updated 2 years ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆240Updated 3 months ago
- ☆49Updated last year
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆120Updated last year
- ☆82Updated last year
- Muon fsdp 2☆43Updated last month
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆137Updated last year
- nanoGPT-like codebase for LLM training☆105Updated 3 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆86Updated last month
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated 11 months ago
- A toolkit for scaling law research ⚖☆51Updated 7 months ago
- [NeurIPS 2024] Low rank memory efficient optimizer without SVD☆31Updated 2 months ago
- Using FlexAttention to compute attention with different masking patterns☆44Updated 11 months ago
- Official code repo for paper "Great Memory, Shallow Reasoning: Limits of kNN-LMs"☆23Updated 4 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆82Updated 10 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆129Updated 9 months ago
- ☆87Updated last year
- Triton-based implementation of Sparse Mixture of Experts.☆238Updated 2 weeks ago
- Long Context Extension and Generalization in LLMs☆60Updated 11 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆157Updated 2 months ago
- Understand and test language model architectures on synthetic tasks.☆224Updated last month
- Experiment of using Tangent to autodiff triton☆81Updated last year
- Sparse Backpropagation for Mixture-of-Expert Training☆30Updated last year
- some common Huggingface transformers in maximal update parametrization (µP)☆82Updated 3 years ago
- ☆33Updated last year