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