apple / ml-cross-entropy
β419Updated this week
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β511Updated 5 months ago
- Efficient LLM Inference over Long Sequencesβ368Updated this week
- Muon optimizer: +>30% sample efficiency with <3% wallclock overheadβ575Updated 3 weeks ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β317Updated 4 months ago
- Helpful tools and examples for working with flex-attentionβ726Updated last week
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β405Updated last week
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β240Updated this week
- Ring attention implementation with flash attentionβ737Updated 2 weeks ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β230Updated 2 months ago
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headsβ451Updated 2 months ago
- LLM KV cache compression made easyβ458Updated this week
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β631Updated last month
- β176Updated 4 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β530Updated this week
- This repository contains the experimental PyTorch native float8 training UXβ223Updated 8 months ago
- πΎ OAT: A research-friendly framework for LLM online alignment, including preference learning, reinforcement learning, etc.β325Updated this week
- A family of compressed models obtained via pruning and knowledge distillationβ334Updated 5 months ago
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ391Updated 5 months ago
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024β286Updated this week
- Large Context Attentionβ704Updated 2 months ago
- Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradients.β197Updated 9 months ago
- Repo for Rho-1: Token-level Data Selection & Selective Pretraining of LLMs.β407Updated last year
- Some preliminary explorations of Mamba's context scaling.β212Updated last year
- [NeurIPS 2024] Official Repository of The Mamba in the Llama: Distilling and Accelerating Hybrid Modelsβ214Updated this week
- Triton-based implementation of Sparse Mixture of Experts.β210Updated 4 months ago
- Efficient triton implementation of Native Sparse Attention.β136Updated last week
- [ICLR 2025] COAT: Compressing Optimizer States and Activation for Memory-Efficient FP8 Trainingβ184Updated this week
- [NeurIPS 2024] KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationβ339Updated 8 months ago
- Quick implementation of nGPT, learning entirely on the hypersphere, from NvidiaAIβ279Updated last month
- β207Updated 2 months ago