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
Uploaded using `kernel-builder`.
Browse files
.gitattributes
CHANGED
|
@@ -40,3 +40,4 @@ media/benches.mp4 filter=lfs diff=lfs merge=lfs -text
|
|
| 40 |
build/torch211-cu128-x86_64-windows/_activation_cuda_47d6ce5.pyd filter=lfs diff=lfs merge=lfs -text
|
| 41 |
build/torch211-cu128-x86_64-windows/_activation_cuda_edabc93.pyd filter=lfs diff=lfs merge=lfs -text
|
| 42 |
build/torch211-cu128-x86_64-windows/_activation_cuda_ce29f4e.pyd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 40 |
build/torch211-cu128-x86_64-windows/_activation_cuda_47d6ce5.pyd filter=lfs diff=lfs merge=lfs -text
|
| 41 |
build/torch211-cu128-x86_64-windows/_activation_cuda_edabc93.pyd filter=lfs diff=lfs merge=lfs -text
|
| 42 |
build/torch211-cu128-x86_64-windows/_activation_cuda_ce29f4e.pyd filter=lfs diff=lfs merge=lfs -text
|
| 43 |
+
build/torch211-cu128-x86_64-windows/_activation_cuda_615d0a2.pyd filter=lfs diff=lfs merge=lfs -text
|
build/torch211-cu128-x86_64-windows/{_activation_cuda_ce29f4e.pyd → _activation_cuda_615d0a2.pyd}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2464256
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:cb80fab3b8bffaceb84aa4e597949d5da9011a20911be19abf373fa5bcad589a
|
| 3 |
size 2464256
|
build/torch211-cu128-x86_64-windows/_ops.py
CHANGED
|
@@ -1,9 +1,9 @@
|
|
| 1 |
import torch
|
| 2 |
-
from . import
|
| 3 |
-
ops = torch.ops.
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
-
return f"
|
|
|
|
| 1 |
import torch
|
| 2 |
+
from . import _activation_cuda_615d0a2
|
| 3 |
+
ops = torch.ops._activation_cuda_615d0a2
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_activation_cuda_615d0a2::{op_name}"
|