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-xpu20253-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-xpu20253-x86_64-linux/{_relu_xpu_ae3dbf6.abi3.so → _relu_xpu_739753b.abi3.so} +1 -1
- build/torch210-cxx11-xpu20253-x86_64-linux/metadata.json +1 -1
- build/torch211-cxx11-xpu20253-x86_64-linux/_ops.py +3 -3
- build/torch211-cxx11-xpu20253-x86_64-linux/{_relu_xpu_ae3dbf6.abi3.so → _relu_xpu_739753b.abi3.so} +1 -1
- build/torch211-cxx11-xpu20253-x86_64-linux/metadata.json +1 -1
- build/torch212-cxx11-xpu20253-x86_64-linux/_ops.py +3 -3
- build/torch212-cxx11-xpu20253-x86_64-linux/{_relu_xpu_ae3dbf6.abi3.so → _relu_xpu_739753b.abi3.so} +1 -1
- build/torch212-cxx11-xpu20253-x86_64-linux/metadata.json +1 -1
.gitattributes
CHANGED
|
@@ -648,3 +648,6 @@ build/torch212-cxx11-rocm72-x86_64-linux/_relu_rocm_ae3dbf6.abi3.so filter=lfs d
|
|
| 648 |
build/torch210-cxx11-cpu-x86_64-linux/_relu_cpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 649 |
build/torch211-cxx11-cpu-x86_64-linux/_relu_cpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 650 |
build/torch212-cxx11-cpu-x86_64-linux/_relu_cpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
| 648 |
build/torch210-cxx11-cpu-x86_64-linux/_relu_cpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 649 |
build/torch211-cxx11-cpu-x86_64-linux/_relu_cpu_739753b.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 650 |
build/torch212-cxx11-cpu-x86_64-linux/_relu_cpu_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
|
build/torch210-cxx11-xpu20253-x86_64-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_xpu_739753b
|
| 3 |
+
ops = torch.ops._relu_xpu_739753b
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_xpu_739753b::{op_name}"
|
build/torch210-cxx11-xpu20253-x86_64-linux/{_relu_xpu_ae3dbf6.abi3.so → _relu_xpu_739753b.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2091488
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d06a68c1aab23dc9db8f05ec32e923dfc7d349ee80eb1413627c065857918451
|
| 3 |
size 2091488
|
build/torch210-cxx11-xpu20253-x86_64-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_xpu_739753b",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch211-cxx11-xpu20253-x86_64-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_xpu_739753b
|
| 3 |
+
ops = torch.ops._relu_xpu_739753b
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_xpu_739753b::{op_name}"
|
build/torch211-cxx11-xpu20253-x86_64-linux/{_relu_xpu_ae3dbf6.abi3.so → _relu_xpu_739753b.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2091488
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:88a92afae8d2928e4e831ef3a7645950c347d2640eb4c3d258d7260af0e40fcd
|
| 3 |
size 2091488
|
build/torch211-cxx11-xpu20253-x86_64-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_xpu_739753b",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch212-cxx11-xpu20253-x86_64-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_xpu_739753b
|
| 3 |
+
ops = torch.ops._relu_xpu_739753b
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_xpu_739753b::{op_name}"
|
build/torch212-cxx11-xpu20253-x86_64-linux/{_relu_xpu_ae3dbf6.abi3.so → _relu_xpu_739753b.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2046368
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:0433eccfeb8d4dab3669a5a66e1c78a5916acf6d0faa380e4d4b1d375b3b554e
|
| 3 |
size 2046368
|
build/torch212-cxx11-xpu20253-x86_64-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_xpu_739753b",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|