apple / ml-cross-entropyLinks
β579Updated 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
- Load compute kernels from the Hubβ397Updated last week
- Large Context Attentionβ766Updated 4 months ago
- Helpful tools and examples for working with flex-attentionβ1,127Updated this week
- Efficient LLM Inference over Long Sequencesβ394Updated 7 months ago
- Memory layers use a trainable key-value lookup mechanism to add extra parameters to a model without increasing FLOPs. Conceptually, sparsβ¦β371Updated last year
- β961Updated 3 months ago
- Code for "LayerSkip: Enabling Early Exit Inference and Self-Speculative Decoding", ACL 2024β357Updated last week
- π₯ A minimal training framework for scaling FLA modelsβ344Updated 2 months ago
- A subset of PyTorch's neural network modules, written in Python using OpenAI's Triton.β595Updated 6 months ago
- LLM KV cache compression made easyβ876Updated 2 weeks ago
- A family of compressed models obtained via pruning and knowledge distillationβ364Updated 3 months ago
- [ICLR 2025] Official PyTorch Implementation of Gated Delta Networks: Improving Mamba2 with Delta Ruleβ452Updated 4 months ago
- Code for Adam-mini: Use Fewer Learning Rates To Gain More https://arxiv.org/abs/2406.16793β452Updated 9 months ago
- FlexAttention based, minimal vllm-style inference engine for fast Gemma 2 inference.β334Updated 3 months ago
- Repo for "LoLCATs: On Low-Rank Linearizing of Large Language Models"β251Updated last year
- Implementation of the sparse attention pattern proposed by the Deepseek team in their "Native Sparse Attention" paperβ797Updated 5 months ago
- π³ Efficient Triton implementations for "Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attention"β964Updated last week
- Ring attention implementation with flash attentionβ979Updated 5 months ago
- [ICML 2024] CLLMs: Consistency Large Language Modelsβ411Updated last year
- Efficient triton implementation of Native Sparse Attention.β262Updated 8 months ago
- [ICLR2025 Spotlightπ₯] Official Implementation of TokenFormer: Rethinking Transformer Scaling with Tokenized Model Parametersβ587Updated last year
- β307Updated 9 months ago
- β232Updated 2 months ago
- Training library for Megatron-based models with bidirectional Hugging Face conversion capabilityβ419Updated this week
- Normalized Transformer (nGPT)β198Updated last year
- Scalable and Performant Data Loadingβ366Updated last week
- [ICLR 2025] DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headsβ524Updated last year
- This repository contains the experimental PyTorch native float8 training UXβ226Updated last year