lmsdss / LayerNorm-ScalingLinks
Official Pytorch Implementation of "The Curse of Depth in Large Language Models" by Wenfang Sun, Xinyuan Song, Pengxiang Li, Lu Yin,Yefeng Zheng, Shiwei Liu
☆60Updated 2 weeks ago
Alternatives and similar repositories for LayerNorm-Scaling
Users that are interested in LayerNorm-Scaling are comparing it to the libraries listed below
Sorting:
- ☆86Updated last year
- Code for NeurIPS 2024 Spotlight: "Scaling Laws and Compute-Optimal Training Beyond Fixed Training Durations"☆84Updated last year
- ☆34Updated 7 months ago
- The evaluation framework for training-free sparse attention in LLMs☆102Updated 2 weeks ago
- The official implementation for [NeurIPS2025 Oral] Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink…☆99Updated last month
- Code for ICLR 2025 Paper "What is Wrong with Perplexity for Long-context Language Modeling?"☆103Updated 3 weeks ago
- AdaSplash: Adaptive Sparse Flash Attention (aka Flash Entmax Attention)☆29Updated last month
- Repository for the Q-Filters method (https://arxiv.org/pdf/2503.02812)☆35Updated 7 months ago
- Stick-breaking attention☆61Updated 4 months ago
- ☆53Updated last year
- Some preliminary explorations of Mamba's context scaling.☆216Updated last year
- 📄Small Batch Size Training for Language Models☆63Updated 3 weeks ago
- [ICLR 2025] When Attention Sink Emerges in Language Models: An Empirical View (Spotlight)☆131Updated 3 months ago
- Official PyTorch implementation and models for paper "Diffusion Beats Autoregressive in Data-Constrained Settings". We find diffusion mod…☆102Updated this week
- ☆13Updated 8 months ago
- ☆33Updated last year
- Muon fsdp 2☆44Updated 2 months ago
- Code accompanying the paper "Massive Activations in Large Language Models"☆184Updated last year
- An efficient implementation of the NSA (Native Sparse Attention) kernel☆121Updated 4 months ago
- ☆69Updated last year
- [NeurIPS 2024] Low rank memory efficient optimizer without SVD☆30Updated 4 months ago
- Flash-Muon: An Efficient Implementation of Muon Optimizer☆197Updated 4 months ago
- ☆108Updated last year
- Implementation of 🥥 Coconut, Chain of Continuous Thought, in Pytorch☆179Updated 4 months ago
- ☆100Updated last month
- Kinetics: Rethinking Test-Time Scaling Laws☆81Updated 3 months ago
- ☆13Updated 9 months ago
- [NeurIPS '25] Multi-Token Prediction Needs Registers☆23Updated 2 months ago
- Language models scale reliably with over-training and on downstream tasks☆100Updated last year
- From GaLore to WeLore: How Low-Rank Weights Non-uniformly Emerge from Low-Rank Gradients. Ajay Jaiswal, Lu Yin, Zhenyu Zhang, Shiwei Liu,…☆51Updated 6 months ago