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
File size: 555 Bytes
6dbfa40 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | [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",
]
|