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 +8 -0
- build/torch210-cxx11-cpu-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cpu-aarch64-linux/{_relu_cpu_7a4e5a7.abi3.so → _relu_cpu_86f75d9.abi3.so} +1 -1
- build/torch210-cxx11-cpu-aarch64-linux/metadata.json +1 -1
- build/torch210-cxx11-cu126-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu126-aarch64-linux/{_relu_cuda_7a4e5a7.abi3.so → _relu_cuda_86f75d9.abi3.so} +1 -1
- build/torch210-cxx11-cu126-aarch64-linux/metadata.json +1 -1
- build/torch210-cxx11-cu128-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu128-aarch64-linux/{_relu_cuda_7a4e5a7.abi3.so → _relu_cuda_86f75d9.abi3.so} +1 -1
- build/torch210-cxx11-cu128-aarch64-linux/metadata.json +1 -1
- build/torch210-cxx11-cu130-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu130-aarch64-linux/{_relu_cuda_7a4e5a7.abi3.so → _relu_cuda_86f75d9.abi3.so} +1 -1
- build/torch210-cxx11-cu130-aarch64-linux/metadata.json +1 -1
- build/torch211-cxx11-cpu-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_7a4e5a7.abi3.so → _relu_cpu_86f75d9.abi3.so} +1 -1
- build/torch211-cxx11-cpu-aarch64-linux/metadata.json +1 -1
- build/torch211-cxx11-cu126-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu126-aarch64-linux/{_relu_cuda_7a4e5a7.abi3.so → _relu_cuda_86f75d9.abi3.so} +1 -1
- build/torch211-cxx11-cu126-aarch64-linux/metadata.json +1 -1
- build/torch211-cxx11-cu128-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu128-aarch64-linux/{_relu_cuda_7a4e5a7.abi3.so → _relu_cuda_86f75d9.abi3.so} +1 -1
- build/torch211-cxx11-cu128-aarch64-linux/metadata.json +1 -1
- build/torch211-cxx11-cu130-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu130-aarch64-linux/{_relu_cuda_7a4e5a7.abi3.so → _relu_cuda_86f75d9.abi3.so} +1 -1
- build/torch211-cxx11-cu130-aarch64-linux/metadata.json +1 -1
.gitattributes
CHANGED
|
@@ -551,3 +551,11 @@ build/torch210-metal-aarch64-darwin/_relu_metal_7a4e5a7.abi3.so filter=lfs diff=
|
|
| 551 |
build/torch211-metal-aarch64-darwin/_relu_metal_7a4e5a7.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 552 |
build/torch210-metal-aarch64-darwin/_relu_metal_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 553 |
build/torch211-metal-aarch64-darwin/_relu_metal_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 551 |
build/torch211-metal-aarch64-darwin/_relu_metal_7a4e5a7.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 552 |
build/torch210-metal-aarch64-darwin/_relu_metal_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 553 |
build/torch211-metal-aarch64-darwin/_relu_metal_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 554 |
+
build/torch210-cxx11-cpu-aarch64-linux/_relu_cpu_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 555 |
+
build/torch210-cxx11-cu126-aarch64-linux/_relu_cuda_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 556 |
+
build/torch210-cxx11-cu128-aarch64-linux/_relu_cuda_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 557 |
+
build/torch210-cxx11-cu130-aarch64-linux/_relu_cuda_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 558 |
+
build/torch211-cxx11-cpu-aarch64-linux/_relu_cpu_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 559 |
+
build/torch211-cxx11-cu126-aarch64-linux/_relu_cuda_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 560 |
+
build/torch211-cxx11-cu128-aarch64-linux/_relu_cuda_86f75d9.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 561 |
+
build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_86f75d9.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_86f75d9
|
| 3 |
+
ops = torch.ops._relu_cpu_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_86f75d9::{op_name}"
|
build/torch210-cxx11-cpu-aarch64-linux/{_relu_cpu_7a4e5a7.abi3.so → _relu_cpu_86f75d9.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:e9c5346d4345b37616f5752756c95d4c4d7c8babb4fd155f2f781f6f093c0a59
|
| 3 |
size 2025352
|
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_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch210-cxx11-cu126-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_cuda_86f75d9
|
| 3 |
+
ops = torch.ops._relu_cuda_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_86f75d9::{op_name}"
|
build/torch210-cxx11-cu126-aarch64-linux/{_relu_cuda_7a4e5a7.abi3.so → _relu_cuda_86f75d9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2103912
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d24d543d653bd11e4df9b28dfca9fbfd2eb03104fa84893a155f1b6b8c6af24f
|
| 3 |
size 2103912
|
build/torch210-cxx11-cu126-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_cuda_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch210-cxx11-cu128-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_cuda_86f75d9
|
| 3 |
+
ops = torch.ops._relu_cuda_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_86f75d9::{op_name}"
|
build/torch210-cxx11-cu128-aarch64-linux/{_relu_cuda_7a4e5a7.abi3.so → _relu_cuda_86f75d9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2235240
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:8bbb5519503206710b544ff1b3b59040ce2592e5d476daf0c66ee859038c37c3
|
| 3 |
size 2235240
|
build/torch210-cxx11-cu128-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_cuda_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch210-cxx11-cu130-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_cuda_86f75d9
|
| 3 |
+
ops = torch.ops._relu_cuda_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_86f75d9::{op_name}"
|
build/torch210-cxx11-cu130-aarch64-linux/{_relu_cuda_7a4e5a7.abi3.so → _relu_cuda_86f75d9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2237576
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6803144cf2e5657a5a9a646cb2c0b732001659ccc006396598886bdda701ff4e
|
| 3 |
size 2237576
|
build/torch210-cxx11-cu130-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_cuda_86f75d9",
|
| 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_86f75d9
|
| 3 |
+
ops = torch.ops._relu_cpu_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_86f75d9::{op_name}"
|
build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_7a4e5a7.abi3.so → _relu_cpu_86f75d9.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:cb327043da1ad3f7b7785496807d76e950448172ad48c3f3abe1f5c09a52b300
|
| 3 |
size 2025352
|
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_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch211-cxx11-cu126-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_cuda_86f75d9
|
| 3 |
+
ops = torch.ops._relu_cuda_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_86f75d9::{op_name}"
|
build/torch211-cxx11-cu126-aarch64-linux/{_relu_cuda_7a4e5a7.abi3.so → _relu_cuda_86f75d9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2100128
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:868e321c5df66b3f4659d0c5fadb854caf5b497cbeed796f7ef7e53a0a54d33e
|
| 3 |
size 2100128
|
build/torch211-cxx11-cu126-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_cuda_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch211-cxx11-cu128-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_cuda_86f75d9
|
| 3 |
+
ops = torch.ops._relu_cuda_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_86f75d9::{op_name}"
|
build/torch211-cxx11-cu128-aarch64-linux/{_relu_cuda_7a4e5a7.abi3.so → _relu_cuda_86f75d9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2231464
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:e4135a453ccd2b0223658194feb32d46e40a019cd16b0facd478b247ff1f6e5f
|
| 3 |
size 2231464
|
build/torch211-cxx11-cu128-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_cuda_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch211-cxx11-cu130-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_cuda_86f75d9
|
| 3 |
+
ops = torch.ops._relu_cuda_86f75d9
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_86f75d9::{op_name}"
|
build/torch211-cxx11-cu130-aarch64-linux/{_relu_cuda_7a4e5a7.abi3.so → _relu_cuda_86f75d9.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2233792
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:69a20650c46aadb11726bbcfbd4362253ed55acd5a22848c3fa4b0adb2684554
|
| 3 |
size 2233792
|
build/torch211-cxx11-cu130-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_cuda_86f75d9",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|