Explore the research collection
2 entries · Follow this search
- Paper
Liger Kernel: Efficient Triton Kernels for LLM Training
Open-source Triton kernels (RMSNorm, LayerNorm, RoPE, SwiGLU/GeGLU, CrossEntropy, FusedLinearCrossEntropy) using fusion and input chunking. Reports ~20% higher training throughput and ~60% less GPU memory vs HuggingFace implementations. 4×A100 Alpaca seq-512: Llama 3-8B +42.8% throughput / −54.8% memory at batch 64; Qwen2 +25.5% / −56.8% at batch 48. Also Gemma, Mistral, Phi-3. AutoLigerKernelForCausalLM plus HF Trainer/TRL/Axolotl/LLaMA-Factory hooks. Code https://github.com/linkedin/Liger-Kernel.
- Paper
Transformers without Normalization
Observes that LN input–output maps are tanh-like S-curves and replaces LN/RMSNorm with DyT(x)=γ·tanh(αx)+β (α learnable scalar). Matches or beats LN with original hparams: ImageNet ViT-B 82.5 vs 82.3, ViT-L 83.6 vs 83.1; MAE/DINO on par; DiT FID comparable; LLaMA 7B–70B on 200B Pile tokens match RMSNorm zero-shot (70B both 0.549 / loss 1.45). Default α0=0.5 except LLMs (attention vs other α0 split). Tanh ablation needed for stability; identity diverges. Does not replace BN in ResNet-50 (76.2→68.9). CVPR 2025. Code https://github.com/jiachenzhu/DyT; project https://jiachenzhu.github.io/DyT/.