apple / ml-cross-entropy
☆304Updated 2 weeks ago
Alternatives and similar repositories for ml-cross-entropy:
Users that are interested in ml-cross-entropy are comparing it to the libraries listed below
- Efficient LLM Inference over Long Sequences☆344Updated 2 weeks ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, spars…☆277Updated last month
- Implementation of 💍 Ring Attention, from Liu et al. at Berkeley AI, in Pytorch☆492Updated 2 months ago
- LLM KV cache compression made easy☆303Updated this week
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.☆505Updated 2 months ago
- Helpful tools and examples for working with flex-attention☆583Updated this week
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"☆219Updated last month
- Fast Matrix Multiplications for Lookup Table-Quantized LLMs☆219Updated last week
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAI☆270Updated 2 months ago
- 🚀 Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flash…☆215Updated this week
- Triton-based implementation of Sparse Mixture of Experts.☆192Updated last month
- Large Context Attention☆670Updated 5 months ago
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024☆259Updated last week
- This repository contains the experimental PyTorch native float8 training UX☆219Updated 5 months ago
- Muon optimizer for neural networks: >30% extra sample efficiency, <3% wallclock overhead☆210Updated last week
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"☆203Updated 3 weeks ago
- [ICML 2024] CLLMs: Consistency Large Language Models☆368Updated 2 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793☆376Updated last month
- Ring attention implementation with flash attention☆645Updated 3 weeks ago
- Annotated version of the Mamba paper☆469Updated 10 months ago
- DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads☆417Updated 2 months ago
- ☆180Updated this week
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.☆188Updated 6 months ago
- ☆152Updated last month
- ring-attention experiments☆116Updated 3 months ago
- PyTorch per step fault tolerance (actively under development)☆220Updated this week
- ☆170Updated this week
- ☆190Updated last month
- Some preliminary explorations of Mamba's context scaling.☆206Updated 11 months ago
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Models☆188Updated 2 weeks ago