Instructions to use replicate/torch_harmonics_attn with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/torch_harmonics_attn with Kernels:
# !pip install kernels from kernels import get_kernel # a version (or an explicit revision) is required; see the "Files and versions" tab for the available ones kernel = get_kernel("replicate/torch_harmonics_attn", version=1) - Notebooks
- Google Colab
- Kaggle
Download flake.nix from replicate/torch_harmonics_attn: direct link, hf CLI and curl.
- Browser
- Download file 317 Bytes
-
https://huggingface.co/replicate/torch_harmonics_attn/resolve/main/flake.nix
- Command line
-
hf download hf://replicate/torch_harmonics_attn/flake.nix
-
curl -L -o flake.nix https://huggingface.co/replicate/torch_harmonics_attn/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; | |
| }; | |
| } | |