apple / ml-cross-entropyLinks
β578Updated 4 months 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
Sorting:
- Implementation of π Ring Attention, from Liu et al. at Berkeley AI, in Pytorchβ549Updated 8 months ago
- π Efficiently (pre)training foundation models with native PyTorch features, including FSDP for training and SDPA implementation of Flashβ¦β280Updated 2 months ago
- Helpful tools and examples for working with flex-attentionβ1,112Updated last week
- Efficient LLM Inference over Long Sequencesβ394Updated 7 months ago
- Load compute kernels from the Hubβ381Updated this week
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β594Updated 5 months ago
- Large Context Attentionβ762Updated 3 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β370Updated last year
- β306Updated 9 months ago
- π₯ A minimal training framework for scaling FLA modelsβ341Updated 2 months ago
- β952Updated 2 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ433Updated 4 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β251Updated 11 months ago
- LLM KV cache compression made easyβ858Updated last week
- Normalized Transformer (nGPT)β197Updated last year
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024β355Updated 8 months ago
- FlexAttention based, minimal vllm-style inference engine for fast Gemma 2 inference.β333Updated 2 months ago
- Efficient triton implementation of Native Sparse Attention.β261Updated 8 months ago
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headsβ521Updated 11 months ago
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ411Updated last year
- Fault tolerance for PyTorch (HSDP, LocalSGD, DiLoCo, Streaming DiLoCo)β472Updated 2 weeks ago
- Ring attention implementation with flash attentionβ967Updated 4 months ago
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β959Updated 10 months ago
- β206Updated last year
- A family of compressed models obtained via pruning and knowledge distillationβ363Updated 2 months ago
- Scalable toolkit for efficient model reinforcementβ1,252Updated last week
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β451Updated 8 months ago
- Training library for Megatron-based models with bidirectional Hugging Face conversion capabilityβ386Updated this week
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paperβ793Updated 5 months ago
- β229Updated 2 months ago