JonasGeiping / linear_cross_entropy_lossLinks
A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.
☆75Updated 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:
- ☆124Updated last year
- ☆53Updated last year
- Language models scale reliably with over-training and on downstream tasks☆100Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆79Updated last year
- Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023)☆81Updated 2 years ago
- ☆83Updated 2 years ago
- ☆150Updated 2 years ago
- A toolkit for scaling law research ⚖☆55Updated 11 months ago
- Repository of the paper "Accelerating Transformer Inference for Translation via Parallel Decoding"☆123Updated last year
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆244Updated 7 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆87Updated last year
- ☆92Updated last year
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models" [AISTATS …☆60Updated last year
- 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☆114Updated 2 months ago
- Muon fsdp 2☆48Updated 5 months ago
- ☆51Updated last year
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆90Updated 5 months ago
- Experiment of using Tangent to autodiff triton☆81Updated last year
- Sparse Backpropagation for Mixture-of-Expert Training☆29Updated last year
- Long Context Extension and Generalization in LLMs☆62Updated last year
- Triton-based implementation of Sparse Mixture of Experts.☆259Updated 3 months ago
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆65Updated last year
- A library for unit scaling in PyTorch☆133Updated 6 months ago
- Using FlexAttention to compute attention with different masking patterns☆47Updated last year
- CUDA and Triton implementations of Flash Attention with SoftmaxN.☆73Updated last year
- Here we will test various linear attention designs.☆62Updated last year
- some common Huggingface transformers in maximal update parametrization (µP)☆87Updated 3 years ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆131Updated last year
- Official code release for "SuperBPE: Space Travel for Language Models"☆77Updated this week