Instructions to use replicate/yoso with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/yoso 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/yoso", version=1) - Notebooks
- Google Colab
- Kaggle
Download build.toml from replicate/yoso: direct link, hf CLI and curl.
- Browser
- Download file 555 Bytes
-
https://huggingface.co/replicate/yoso/resolve/main/build.toml
- Command line
-
hf download hf://replicate/yoso/build.toml
-
curl -L -o build.toml https://huggingface.co/replicate/yoso/resolve/main/build.toml
555 Bytes
| [general] | |
| name = "yoso" | |
| universal = false | |
| [torch] | |
| src = [ | |
| "torch-ext/torch_binding.cpp", | |
| "torch-ext/torch_binding.h", | |
| ] | |
| [kernel.yoso] | |
| depends = ["torch"] | |
| backend = "cuda" | |
| cuda-capabilities = [ | |
| "8.0", | |
| "8.9", | |
| "9.0", | |
| "10.0", | |
| "12.0", | |
| ] | |
| include = ["."] | |
| src = [ | |
| "yoso/fast_lsh_cumulation_cuda.cu", | |
| "yoso/fast_lsh_cumulation_cuda.h", | |
| "yoso/fast_lsh_cumulation_torch.cpp", | |
| "yoso/fast_lsh_cumulation.h", | |
| "yoso/fast_lsh_cumulation.cu", | |
| "yoso/common_cuda.h", | |
| "yoso/common.h", | |
| "yoso/common_cuda_device.h", | |
| ] | |