Instructions to use kernels-community/cv_utils with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/cv_utils with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/cv_utils") - Notebooks
- Google Colab
- Kaggle
File size: 421 Bytes
12075d1 6a2f5d2 12075d1 6a2f5d2 12075d1 6a2f5d2 12075d1 | 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 | [general]
name = "cv_utils"
universal = false
[torch]
src = [
"torch-ext/torch_binding.cpp",
"torch-ext/torch_binding.h",
]
[kernel.cv_utils]
depends = ["torch"]
backend = "cuda"
src = [
"cv_utils/connected_components.cu",
"cv_utils/generic_nms.cu",
]
cuda-flags = [
"-DCUDA_HAS_FP16=1",
"-D__CUDA_NO_HALF_OPERATORS__",
"-D__CUDA_NO_HALF_CONVERSIONS__",
"-D__CUDA_NO_HALF2_OPERATORS__",
]
|