This is the repository card of kernels-community/activation that has been pushed on the Hub. It was built to be used with the
kernels library. This card was automatically generated.
1# make sure `kernels` is installed: `pip install -U kernels`
2from kernels import get_kernel
3
4kernel_module = get_kernel("kernels-community/activation")
5silu_and_mul = kernel_module.silu_and_mul
6
7silu_and_mul(...)
Benchmarking script is available for this kernel. Run kernels benchmark kernels-community/activation.