Long Context Training and Inference on AMD GPUs
summary
Hybrid conversion of existing pretrained transformers yields an Zebra Llama variant that cuts KV‑cache size by about 18x KV cache reduction and raises inference throughput roughly 3x inference speedup without full retraining, and an extended Hyo method post‑trains hybrids to handle up to 64k contexts (supports Mamba2, GDN, and LLaMA/CuB models), integrates with VLM for serving to millions of tokens, and reports beating a Jetron baseline despite training on ~10B tokens versus Jetron’s ~400B.
AI-written summary · about
chapters (17)
- 0:00Introduction to long context LLMs
- 1:16LLM architecture building blocks
- 2:23Channel mixing in LLMs
- 7:01Token mixing architectures overview
- 8:10Self attention and KV cache challenges
- 9:16KV cache reduction techniques
- 11:45Sparse attention solutions
- 13:09Linear attention and variants
- 16:02Mamba and state space models
- 17:08Hybrid token mixer models
- 19:41State-of-the-art LLM models
- 20:47Efficiency in long context training
- 21:51Training paradigm shift to post-training
- 22:13AMD’s Zebra Llama research
- 23:19Hyo extension for longer sequences
- 24:42Results and model releases
- 25:23Conclusion and resources
