JonasGeiping / linear_cross_entropy_loss
A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.
☆65Updated 7 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 10 months ago
- ☆95Updated 9 months ago
- ☆76Updated 8 months ago
- Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023)☆79Updated last year
- Simple and efficient pytorch-native transformer training and inference (batched)☆71Updated 11 months ago
- Language models scale reliably with over-training and on downstream tasks☆96Updated 11 months ago
- 🔥 A minimal training framework for scaling FLA models☆82Updated this week
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"☆59Updated 5 months ago
- A toolkit for scaling law research ⚖☆48Updated last month
- ☆46Updated last year
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆71Updated 4 months ago
- Tree Attention: Topology-aware Decoding for Long-Context Attention on GPU clusters☆125Updated 3 months ago
- Using FlexAttention to compute attention with different masking patterns☆42Updated 6 months ago
- Code for studying the super weight in LLM☆94Updated 3 months ago
- The simplest implementation of recent Sparse Attention patterns for efficient LLM inference.☆58Updated last month
- Understand and test language model architectures on synthetic tasks.☆185Updated 2 weeks ago
- Code and Configs for Asynchronous RLHF: Faster and More Efficient RL for Language Models☆37Updated 3 months ago
- This repo is based on https://github.com/jiaweizzhao/GaLore☆26Updated 6 months ago
- Experiment of using Tangent to autodiff triton☆78Updated last year
- ☆63Updated last month
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆100Updated 4 months ago
- ☆140Updated last year
- [NeurIPS'24 Spotlight] Observational Scaling Laws☆54Updated 5 months ago
- ☆42Updated last year
- Fast and Robust Early-Exiting Framework for Autoregressive Language Models with Synchronized Parallel Decoding (EMNLP 2023 Long)☆57Updated 5 months ago
- Stick-breaking attention☆48Updated last week
- ☆74Updated 7 months ago
- some common Huggingface transformers in maximal update parametrization (µP)☆80Updated 3 years ago
- supporting pytorch FSDP for optimizers☆79Updated 3 months ago
- Triton-based implementation of Sparse Mixture of Experts.☆208Updated 3 months ago