Efficient Triton Kernels for LLM Training
BSD-2-CLAUSE License
Fix bug in Gemma patch function that FLCE and CE are both true by default ruh roh
Full Changelog: https://github.com/linkedin/Liger-Kernel/compare/v0.2.0...v0.2.1
Published by yundai424 about 2 months ago
We'd love to take this chance to express our sincere gratefulness to the community! 2500+ ⭐ , 10+ new contributors, 50+ PRs, plus integration into Hugging Face 🤗, axolotl and LLaMA-Factory in less than one week since going open sourced is totally beyond our expectation. Being able to work together with all the cool people in the community is a bliss and we can't wait for further collaborations down the road!
We look forward to further enhancing our collaboration with the community, to work together on a lot of cool stuff -- support for more model families, squeeze out all optimization opportunities for kernels, and, why not, llama.triton? 😉
Please feel free to join our discord channel hosted in CUDA MODE server, and follow our repo's official account on X: https://x.com/liger_kernel !
This release ships with support for other popular models including Phi3 and Qwen2. All existing kernels in Liger repo can be leveraged to boost your training with models from these families now. Please refer to our API guide for how to use.
Experimenting with different model families and tired of having if-else everywhere just to switch between kernel patching functions? You can now try out our new model-agnostic API to apply Liger kernels. Still a one-liner, but more elegant :) For example:
from liger_kernel.transformers import AutoLigerKernelForCausalLM
# This AutoModel wrapper class automatically monkey-patches the
# model with the optimized Liger kernels if the model is supported.
model = AutoLigerKernelForCausalLM.from_pretrained(...)
triton>=3.0.0
on NGC containers (#79)examples/medusa/docs/images/
by @pchng in https://github.com/linkedin/Liger-Kernel/pull/78
Full Changelog: https://github.com/linkedin/Liger-Kernel/compare/v0.1.1...v0.2.0
Published by ByronHsu 2 months ago
Full Changelog: https://github.com/linkedin/Liger-Kernel/compare/v0.1.0...v0.1.1
Published by shimizust 2 months ago
Full Changelog: https://github.com/linkedin/Liger-Kernel/compare/v0.0.1...v0.1.0
Published by ByronHsu 2 months ago
Full Changelog: https://github.com/linkedin/Liger-Kernel/compare/0.0.2...v0.0.1