Instructions to use kernels-community/activation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/activation with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/activation") - Notebooks
- Google Colab
- Kaggle
Available methods in a kernel
#5
by christopher5106 - opened
On the basic usage page of the kernel, you write:
activation = get_kernel("kernels-community/activation")
activation.gelu_fast(y, x)
While I understand how will work kernelized layers, I'm not sure to understand where you take the gelu_fast() name from ?
Nothing indicates where is the doc for this method, in particular not in https://huggingface.co/kernels-community/activation
On this page I see another attribute method silu_and_mul(). Where are these available methods listed ?
Thanks