apple / ml-cross-entropy
β393Updated 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
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ506Updated 4 months ago
- Muon optimizer: +>30% sample efficiency with <3% wallclock overheadβ505Updated last week
- Efficient LLM Inference over Long Sequencesβ365Updated last month
- Helpful tools and examples for working with flex-attentionβ695Updated this week
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ386Updated 4 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β307Updated 3 months ago
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β232Updated 2 weeks ago
- Large Context Attentionβ690Updated last month
- Ring attention implementation with flash attentionβ711Updated 3 weeks ago
- LLM KV cache compression made easyβ440Updated this week
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β223Updated last month
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β524Updated last month
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024β277Updated 3 weeks ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β398Updated 3 months ago
- Code for exploring Based models from "Simple linear attention language models balance the recall-throughput tradeoff"β223Updated last month
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Trainingβ164Updated last month
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headsβ435Updated last month
- Fast Matrix Multiplications for Lookup Table-Quantized LLMsβ232Updated 3 weeks ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ276Updated this week
- Normalized Transformer (nGPT)β162Updated 4 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.β196Updated 8 months ago
- Some preliminary explorations of Mamba's context scaling.β212Updated last year
- β261Updated last month
- This repository contains the experimental PyTorch native float8 training UXβ222Updated 7 months ago
- Triton-based implementation of Sparse Mixture of Experts.β207Updated 3 months ago
- Code for the paper "QMoE: Practical Sub-1-Bit Compression of Trillion-Parameter Models".β271Updated last year
- PyTorch implementation of Infini-Transformer from "Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentionβ¦β287Updated 10 months ago
- β173Updated 3 months ago