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
Enable ROCm in the build
Browse files- build.toml +2 -0
build.toml
CHANGED
|
@@ -8,7 +8,9 @@ src = [
|
|
| 8 |
]
|
| 9 |
|
| 10 |
[kernel.activation]
|
|
|
|
| 11 |
cuda-capabilities = [ "7.0", "7.2", "7.5", "8.0", "8.6", "8.7", "8.9", "9.0" ]
|
|
|
|
| 12 |
src = [
|
| 13 |
"activation/activation_kernels.cu",
|
| 14 |
"activation/cuda_compat.h",
|
|
|
|
| 8 |
]
|
| 9 |
|
| 10 |
[kernel.activation]
|
| 11 |
+
language = "cuda-hipify"
|
| 12 |
cuda-capabilities = [ "7.0", "7.2", "7.5", "8.0", "8.6", "8.7", "8.9", "9.0" ]
|
| 13 |
+
rocm-archs = [ "gfx906", "gfx908", "gfx90a", "gfx940", "gfx941", "gfx942", "gfx1030", "gfx1100", "gfx1101" ]
|
| 14 |
src = [
|
| 15 |
"activation/activation_kernels.cu",
|
| 16 |
"activation/cuda_compat.h",
|