Instructions to use kernels-community/layer-norm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/layer-norm with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/layer-norm") - Notebooks
- Google Colab
- Kaggle
File size: 160 Bytes
92387a1 | 1 2 3 4 5 6 7 8 9 10 | from kernels.benchmarks import LayerNormBenchmark, RMSNormBenchmark
class LayerNorm(LayerNormBenchmark):
pass
class RMSNorm(RMSNormBenchmark):
pass
|