Instructions to use kernels-community/liger-kernels with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/liger-kernels with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/liger-kernels") - Notebooks
- Google Colab
- Kaggle
| from . import layers | |
| from .layers import CrossEntropyOutput, LigerForCausalLMLoss | |
| __all__ = ["layers", "LigerForCausalLMLoss", "CrossEntropyOutput"] | |