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-cpu-aarch64-darwin/_ops.py +3 -3
- build/torch210-cpu-aarch64-darwin/{_relu_cpu_ae3dbf6.abi3.so → _relu_cpu_739753b.abi3.so} +0 -0
- build/torch210-cpu-aarch64-darwin/metadata.json +1 -1
- build/torch210-metal-aarch64-darwin/_ops.py +3 -3
- build/torch210-metal-aarch64-darwin/{_relu_metal_ae3dbf6.abi3.so → _relu_metal_739753b.abi3.so} +1 -1
- build/torch210-metal-aarch64-darwin/metadata.json +1 -1
- build/torch211-cpu-aarch64-darwin/_ops.py +3 -3
- build/torch211-cpu-aarch64-darwin/{_relu_cpu_ae3dbf6.abi3.so → _relu_cpu_739753b.abi3.so} +0 -0
- build/torch211-cpu-aarch64-darwin/metadata.json +1 -1
- build/torch211-metal-aarch64-darwin/_ops.py +3 -3
- build/torch211-metal-aarch64-darwin/{_relu_metal_ae3dbf6.abi3.so → _relu_metal_739753b.abi3.so} +1 -1
- build/torch211-metal-aarch64-darwin/metadata.json +1 -1
- build/torch212-cpu-aarch64-darwin/_ops.py +3 -3
- build/torch212-cpu-aarch64-darwin/{_relu_cpu_ae3dbf6.abi3.so → _relu_cpu_739753b.abi3.so} +0 -0
- build/torch212-cpu-aarch64-darwin/metadata.json +1 -1
- build/torch212-metal-aarch64-darwin/_ops.py +3 -3
- build/torch212-metal-aarch64-darwin/{_relu_metal_ae3dbf6.abi3.so → _relu_metal_739753b.abi3.so} +1 -1
- build/torch212-metal-aarch64-darwin/metadata.json +1 -1
.gitattributes
CHANGED
|
@@ -672,3 +672,6 @@ build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_739753b.abi3.so filter=lfs d
|
|
| 672 |
build/torch212-cxx11-cu126-aarch64-linux/_relu_cuda_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 673 |
build/torch212-cxx11-cu130-aarch64-linux/_relu_cuda_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 674 |
build/torch212-cxx11-cu132-aarch64-linux/_relu_cuda_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 672 |
build/torch212-cxx11-cu126-aarch64-linux/_relu_cuda_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 673 |
build/torch212-cxx11-cu130-aarch64-linux/_relu_cuda_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 674 |
build/torch212-cxx11-cu132-aarch64-linux/_relu_cuda_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 675 |
+
build/torch210-metal-aarch64-darwin/_relu_metal_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 676 |
+
build/torch211-metal-aarch64-darwin/_relu_metal_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 677 |
+
build/torch212-metal-aarch64-darwin/_relu_metal_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
build/torch210-cpu-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 _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-cpu-aarch64-darwin/{_relu_cpu_ae3dbf6.abi3.so → _relu_cpu_739753b.abi3.so}
RENAMED
|
Binary files a/build/torch210-cpu-aarch64-darwin/_relu_cpu_ae3dbf6.abi3.so and b/build/torch210-cpu-aarch64-darwin/_relu_cpu_739753b.abi3.so differ
|
|
|
build/torch210-cpu-aarch64-darwin/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/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 _relu_metal_739753b
|
| 3 |
+
ops = torch.ops._relu_metal_739753b
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_metal_739753b::{op_name}"
|
build/torch210-metal-aarch64-darwin/{_relu_metal_ae3dbf6.abi3.so → _relu_metal_739753b.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 100904
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:285deb204c435269ec3b0c7cde6945f15c81e07db24b47a0044575fe0ddb0945
|
| 3 |
size 100904
|
build/torch210-metal-aarch64-darwin/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_metal_739753b",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch211-cpu-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 _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-cpu-aarch64-darwin/{_relu_cpu_ae3dbf6.abi3.so → _relu_cpu_739753b.abi3.so}
RENAMED
|
Binary files a/build/torch211-cpu-aarch64-darwin/_relu_cpu_ae3dbf6.abi3.so and b/build/torch211-cpu-aarch64-darwin/_relu_cpu_739753b.abi3.so differ
|
|
|
build/torch211-cpu-aarch64-darwin/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-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 _relu_metal_739753b
|
| 3 |
+
ops = torch.ops._relu_metal_739753b
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_metal_739753b::{op_name}"
|
build/torch211-metal-aarch64-darwin/{_relu_metal_ae3dbf6.abi3.so → _relu_metal_739753b.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 100904
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:4e3dd9c204d81fc580dce49066084c54f0277e7a7c438e8da093177bf71966e4
|
| 3 |
size 100904
|
build/torch211-metal-aarch64-darwin/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_metal_739753b",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch212-cpu-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 _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-cpu-aarch64-darwin/{_relu_cpu_ae3dbf6.abi3.so → _relu_cpu_739753b.abi3.so}
RENAMED
|
Binary files a/build/torch212-cpu-aarch64-darwin/_relu_cpu_ae3dbf6.abi3.so and b/build/torch212-cpu-aarch64-darwin/_relu_cpu_739753b.abi3.so differ
|
|
|
build/torch212-cpu-aarch64-darwin/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-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 _relu_metal_739753b
|
| 3 |
+
ops = torch.ops._relu_metal_739753b
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_metal_739753b::{op_name}"
|
build/torch212-metal-aarch64-darwin/{_relu_metal_ae3dbf6.abi3.so → _relu_metal_739753b.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 100952
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:296e721b25e50967b09475f11b99282469c5825ded8240584407d70bb240371a
|
| 3 |
size 100952
|
build/torch212-metal-aarch64-darwin/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_metal_739753b",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|