Instructions to use replicate/layer_norm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/layer_norm with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("replicate/layer_norm") - Notebooks
- Google Colab
- Kaggle
Download flake.nix from replicate/layer_norm: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/replicate/layer_norm/resolve/main/flake.nix
- Command line
-
hf download hf://replicate/layer_norm/flake.nix
-
curl -L -o flake.nix https://huggingface.co/replicate/layer_norm/resolve/main/flake.nix
317 Bytes
| { | |
| description = "Flake for Torch kernel extension"; | |
| inputs = { | |
| kernel-builder.url = "github:huggingface/kernel-builder"; | |
| }; | |
| outputs = { self, kernel-builder, }: | |
| kernel-builder.lib.genFlakeOutputs { | |
| path = ./.; | |
| rev = self.shortRev or self.dirtyShortRev or self.lastModifiedDate; | |
| }; | |
| } | |