Instructions to use replicate/activation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/activation 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/activation", version=1) - Notebooks
- Google Colab
- Kaggle
Add Torch as an explicit dependency
Browse filesThis is require starting with kernel-builder 0.0.3.
- build.toml +1 -0
build.toml
CHANGED
|
@@ -19,3 +19,4 @@ src = [
|
|
| 19 |
"activation/cuda_compat.h",
|
| 20 |
"activation/dispatch_utils.h",
|
| 21 |
]
|
|
|
|
|
|
| 19 |
"activation/cuda_compat.h",
|
| 20 |
"activation/dispatch_utils.h",
|
| 21 |
]
|
| 22 |
+
depends = [ "torch" ]
|