Instructions to use kernels-community/activation with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/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("kernels-community/activation", version=1) - Notebooks
- Google Colab
- Kaggle
Download build/torch211-cxx11-cu128-x86_64-linux/metadata.json from kernels-community/activation: direct link, hf CLI and curl.
- Browser
- Download file 340 Bytes
-
https://huggingface.co/kernels-community/activation/resolve/0d7d8c79752c16ddb068d4dbf7790358c016635e/build/torch211-cxx11-cu128-x86_64-linux/metadata.json
- Command line
-
hf download hf://kernels-community/activation@0d7d8c79752c16ddb068d4dbf7790358c016635e/build/torch211-cxx11-cu128-x86_64-linux/metadata.json
-
curl -L -o metadata.json https://huggingface.co/kernels-community/activation/resolve/0d7d8c79752c16ddb068d4dbf7790358c016635e/build/torch211-cxx11-cu128-x86_64-linux/metadata.json
340 Bytes
| { | |
| "name": "activation", | |
| "id": "_activation_cuda_5c4052d", | |
| "version": 1, | |
| "license": "Apache-2.0", | |
| "python-depends": [], | |
| "backend": { | |
| "type": "cuda", | |
| "archs": [ | |
| "10.0", | |
| "10.1", | |
| "12.0+PTX", | |
| "7.0", | |
| "7.2", | |
| "7.5", | |
| "8.0", | |
| "8.6", | |
| "8.7", | |
| "8.9", | |
| "9.0" | |
| ] | |
| } | |
| } | |