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 kernel = get_kernel("kernels-community/activation") - Notebooks
- Google Colab
- Kaggle
Uploaded using `kernel-builder`.
Browse files- build/torch210-metal-aarch64-darwin/{_activation_metal_f14618a.abi3.so → _activation_metal_fca8dfe.abi3.so} +1 -1
- build/torch210-metal-aarch64-darwin/_ops.py +3 -3
- build/torch210-metal-aarch64-darwin/metadata.json +3 -1
- build/torch211-metal-aarch64-darwin/{_activation_metal_f14618a.abi3.so → _activation_metal_fca8dfe.abi3.so} +1 -1
- build/torch211-metal-aarch64-darwin/_ops.py +3 -3
- build/torch211-metal-aarch64-darwin/metadata.json +3 -1
build/torch210-metal-aarch64-darwin/{_activation_metal_f14618a.abi3.so → _activation_metal_fca8dfe.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 205056
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c7d4912f771ec0491db811b93cd57d37716484307124bd8828e4b504d2c28639
|
| 3 |
size 205056
|
build/torch210-metal-aarch64-darwin/_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_metal_fca8dfe
|
| 3 |
+
ops = torch.ops._activation_metal_fca8dfe
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_activation_metal_fca8dfe::{op_name}"
|
build/torch210-metal-aarch64-darwin/metadata.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
| 5 |
"backend": {
|
| 6 |
"type": "metal"
|
| 7 |
}
|
| 8 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "activation",
|
| 3 |
+
"id": "_activation_metal_fca8dfe",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
| 7 |
"backend": {
|
| 8 |
"type": "metal"
|
| 9 |
}
|
| 10 |
+
}
|
build/torch211-metal-aarch64-darwin/{_activation_metal_f14618a.abi3.so → _activation_metal_fca8dfe.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 205056
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:3f20828b41ec21f044e6d2b8d7aea7d7c9c2d5fc73a6b4006f4327d88df1da1e
|
| 3 |
size 205056
|
build/torch211-metal-aarch64-darwin/_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_metal_fca8dfe
|
| 3 |
+
ops = torch.ops._activation_metal_fca8dfe
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_activation_metal_fca8dfe::{op_name}"
|
build/torch211-metal-aarch64-darwin/metadata.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
| 5 |
"backend": {
|
| 6 |
"type": "metal"
|
| 7 |
}
|
| 8 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "activation",
|
| 3 |
+
"id": "_activation_metal_fca8dfe",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
| 7 |
"backend": {
|
| 8 |
"type": "metal"
|
| 9 |
}
|
| 10 |
+
}
|