Instructions to use kernels-community/relu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/relu with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/relu") - Notebooks
- Google Colab
- Kaggle
Uploaded using `kernel-builder`.
Browse files- .gitattributes +3 -0
- build/torch210-cxx11-cpu-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cpu-aarch64-linux/{_relu_cpu_ae3dbf6.abi3.so → _relu_cpu_739753b.abi3.so} +1 -1
- build/torch210-cxx11-cpu-aarch64-linux/metadata.json +1 -1
- build/torch211-cxx11-cpu-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_ae3dbf6.abi3.so → _relu_cpu_739753b.abi3.so} +1 -1
- build/torch211-cxx11-cpu-aarch64-linux/metadata.json +1 -1
- build/torch212-cxx11-cpu-aarch64-linux/_ops.py +3 -3
- build/torch212-cxx11-cpu-aarch64-linux/{_relu_cpu_ae3dbf6.abi3.so → _relu_cpu_739753b.abi3.so} +1 -1
- build/torch212-cxx11-cpu-aarch64-linux/metadata.json +1 -1
.gitattributes
CHANGED
|
@@ -651,3 +651,6 @@ build/torch212-cxx11-cpu-x86_64-linux/_relu_cpu_739753b.abi3.so filter=lfs diff=
|
|
| 651 |
build/torch210-cxx11-xpu20253-x86_64-linux/_relu_xpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 652 |
build/torch211-cxx11-xpu20253-x86_64-linux/_relu_xpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 653 |
build/torch212-cxx11-xpu20253-x86_64-linux/_relu_xpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 651 |
build/torch210-cxx11-xpu20253-x86_64-linux/_relu_xpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 652 |
build/torch211-cxx11-xpu20253-x86_64-linux/_relu_xpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 653 |
build/torch212-cxx11-xpu20253-x86_64-linux/_relu_xpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 654 |
+
build/torch210-cxx11-cpu-aarch64-linux/_relu_cpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 655 |
+
build/torch211-cxx11-cpu-aarch64-linux/_relu_cpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 656 |
+
build/torch212-cxx11-cpu-aarch64-linux/_relu_cpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
build/torch210-cxx11-cpu-aarch64-linux/_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 _relu_cpu_739753b
|
| 3 |
+
ops = torch.ops._relu_cpu_739753b
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_739753b::{op_name}"
|
build/torch210-cxx11-cpu-aarch64-linux/{_relu_cpu_ae3dbf6.abi3.so → _relu_cpu_739753b.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2025344
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9a778de8c82e6dbc44eb83cd15715cbfe31c7d1143a5eb7ff2591ba84272f4db
|
| 3 |
size 2025344
|
build/torch210-cxx11-cpu-aarch64-linux/metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"name": "relu",
|
| 3 |
-
"id": "
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
"name": "relu",
|
| 3 |
+
"id": "_relu_cpu_739753b",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch211-cxx11-cpu-aarch64-linux/_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 _relu_cpu_739753b
|
| 3 |
+
ops = torch.ops._relu_cpu_739753b
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_739753b::{op_name}"
|
build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_ae3dbf6.abi3.so → _relu_cpu_739753b.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2025344
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d7e29e7620d7f41e6433290473ac65850d3ce502e665cd644c453b455bcc32bb
|
| 3 |
size 2025344
|
build/torch211-cxx11-cpu-aarch64-linux/metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"name": "relu",
|
| 3 |
-
"id": "
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
"name": "relu",
|
| 3 |
+
"id": "_relu_cpu_739753b",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch212-cxx11-cpu-aarch64-linux/_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 _relu_cpu_739753b
|
| 3 |
+
ops = torch.ops._relu_cpu_739753b
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_739753b::{op_name}"
|
build/torch212-cxx11-cpu-aarch64-linux/{_relu_cpu_ae3dbf6.abi3.so → _relu_cpu_739753b.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2025352
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:56d77a85ee87a483a88f1b6a10d2080ebb765c5f26009f497d3a6c3c2fb1f484
|
| 3 |
size 2025352
|
build/torch212-cxx11-cpu-aarch64-linux/metadata.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
| 1 |
{
|
| 2 |
"name": "relu",
|
| 3 |
-
"id": "
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
"name": "relu",
|
| 3 |
+
"id": "_relu_cpu_739753b",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|