JonasGeiping / linear_cross_entropy_loss
A fusion of a linear layer and a cross entropy loss, written for pytorch in triton.
☆61Updated 5 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 7 months ago
- ☆83Updated 7 months ago
- Simple and efficient pytorch-native transformer training and inference (batched)☆66Updated 9 months ago
- Language models scale reliably with over-training and on downstream tasks☆96Updated 9 months ago
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆66Updated 2 months ago
- Revisiting Efficient Training Algorithms For Transformer-based Language Models (NeurIPS 2023)☆80Updated last year
- ☆75Updated 6 months ago
- This repo is based on https://github.com/jiaweizzhao/GaLore☆23Updated 4 months ago
- Code for studying the super weight in LLM☆68Updated last month
- nanoGPT-like codebase for LLM training☆83Updated this week
- ☆46Updated 11 months ago
- ☆78Updated 3 months ago
- This repository contains the code used for the experiments in the paper "Fine-Tuning Enhances Existing Mechanisms: A Case Study on Entity…☆21Updated 9 months ago
- Understand and test language model architectures on synthetic tasks.☆175Updated this week
- The source code of our work "Prepacking: A Simple Method for Fast Prefilling and Increased Throughput in Large Language Models"☆58Updated 3 months ago
- PyTorch building blocks for OLMo☆47Updated this week
- Why Do We Need Weight Decay in Modern Deep Learning? [NeurIPS 2024]☆58Updated 3 months ago
- ☆78Updated 10 months ago
- The simplest, fastest repository for training/finetuning medium-sized GPTs.☆90Updated last month
- ☆30Updated 2 months ago
- Cold Compress is a hackable, lightweight, and open-source toolkit for creating and benchmarking cache compression methods built on top of…☆106Updated 5 months ago
- A MAD laboratory to improve AI architecture designs 🧪☆102Updated last month
- Stick-breaking attention☆41Updated this week
- Code for the paper "The Impact of Positional Encoding on Length Generalization in Transformers", NeurIPS 2023☆129Updated 8 months ago
- Code for the paper: Why Transformers Need Adam: A Hessian Perspective☆47Updated 8 months ago
- Experiment of using Tangent to autodiff triton☆74Updated 11 months ago
- Code for Zero-Shot Tokenizer Transfer☆119Updated this week
- A toolkit for scaling law research ⚖☆43Updated last month
- Minimal (400 LOC) implementation Maximum (multi-node, FSDP) GPT training☆121Updated 9 months ago
- [NeurIPS'24 Spotlight] Observational Scaling Laws☆49Updated 3 months ago