Instructions to use replicate/relu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/relu with Kernels:
# !pip install kernels from kernels import get_kernel # a version (or an explicit revision) is required; see the "Files and versions" tab for the available ones kernel = get_kernel("replicate/relu", version=1) - 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_eb7c305.abi3.so → _relu_cpu_eea2e23.abi3.so} +1 -1
- build/torch210-cxx11-cpu-aarch64-linux/metadata.json +3 -1
- build/torch210-cxx11-cu126-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu126-aarch64-linux/{_relu_cuda_eb7c305.abi3.so → _relu_cuda_eea2e23.abi3.so} +1 -1
- build/torch210-cxx11-cu126-aarch64-linux/metadata.json +2 -0
- build/torch210-cxx11-cu128-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu128-aarch64-linux/{_relu_cuda_eb7c305.abi3.so → _relu_cuda_eea2e23.abi3.so} +1 -1
- build/torch210-cxx11-cu128-aarch64-linux/metadata.json +2 -0
- build/torch210-cxx11-cu130-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu130-aarch64-linux/{_relu_cuda_eb7c305.abi3.so → _relu_cuda_eea2e23.abi3.so} +1 -1
- build/torch210-cxx11-cu130-aarch64-linux/metadata.json +2 -0
- build/torch211-cxx11-cpu-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_eb7c305.abi3.so → _relu_cpu_eea2e23.abi3.so} +1 -1
- build/torch211-cxx11-cpu-aarch64-linux/metadata.json +3 -1
- build/torch211-cxx11-cu126-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu126-aarch64-linux/{_relu_cuda_eb7c305.abi3.so → _relu_cuda_eea2e23.abi3.so} +1 -1
- build/torch211-cxx11-cu126-aarch64-linux/metadata.json +2 -0
- build/torch211-cxx11-cu128-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu128-aarch64-linux/{_relu_cuda_eb7c305.abi3.so → _relu_cuda_eea2e23.abi3.so} +1 -1
- build/torch211-cxx11-cu128-aarch64-linux/metadata.json +2 -0
- build/torch211-cxx11-cu130-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu130-aarch64-linux/{_relu_cuda_eb7c305.abi3.so → _relu_cuda_eea2e23.abi3.so} +1 -1
- build/torch211-cxx11-cu130-aarch64-linux/metadata.json +2 -0
.gitattributes
CHANGED
|
@@ -517,3 +517,11 @@ build/torch211-cxx11-rocm72-x86_64-linux/_relu_rocm_eea2e23.abi3.so filter=lfs d
|
|
| 517 |
build/torch211-cxx11-xpu20253-x86_64-linux/_relu_xpu_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 518 |
build/torch210-metal-aarch64-darwin/_relu_metal_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 519 |
build/torch211-metal-aarch64-darwin/_relu_metal_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 517 |
build/torch211-cxx11-xpu20253-x86_64-linux/_relu_xpu_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 518 |
build/torch210-metal-aarch64-darwin/_relu_metal_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 519 |
build/torch211-metal-aarch64-darwin/_relu_metal_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 520 |
+
build/torch210-cxx11-cpu-aarch64-linux/_relu_cpu_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 521 |
+
build/torch210-cxx11-cu126-aarch64-linux/_relu_cuda_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 522 |
+
build/torch210-cxx11-cu128-aarch64-linux/_relu_cuda_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 523 |
+
build/torch210-cxx11-cu130-aarch64-linux/_relu_cuda_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 524 |
+
build/torch211-cxx11-cpu-aarch64-linux/_relu_cpu_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 525 |
+
build/torch211-cxx11-cu126-aarch64-linux/_relu_cuda_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 526 |
+
build/torch211-cxx11-cu128-aarch64-linux/_relu_cuda_eea2e23.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 527 |
+
build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_eea2e23.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_eea2e23
|
| 3 |
+
ops = torch.ops._relu_cpu_eea2e23
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_eea2e23::{op_name}"
|
build/torch210-cxx11-cpu-aarch64-linux/{_relu_cpu_eb7c305.abi3.so → _relu_cpu_eea2e23.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:d616f21417f7463c41be295667082a2507157fe1fc7e8eed39823b5bd539445f
|
| 3 |
size 2025352
|
build/torch210-cxx11-cpu-aarch64-linux/metadata.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
| 5 |
"backend": {
|
| 6 |
"type": "cpu"
|
| 7 |
}
|
| 8 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "relu",
|
| 3 |
+
"id": "_relu_cpu_eea2e23",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
| 7 |
"backend": {
|
| 8 |
"type": "cpu"
|
| 9 |
}
|
| 10 |
+
}
|
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_eea2e23
|
| 3 |
+
ops = torch.ops._relu_cuda_eea2e23
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_eea2e23::{op_name}"
|
build/torch210-cxx11-cu126-aarch64-linux/{_relu_cuda_eb7c305.abi3.so → _relu_cuda_eea2e23.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:2c07c31c7b69eece21a45da619e19634b6a3943e01474f7a4ce3d40cce39ac4b
|
| 3 |
size 2103912
|
build/torch210-cxx11-cu126-aarch64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "relu",
|
| 3 |
+
"id": "_relu_cuda_eea2e23",
|
| 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_eea2e23
|
| 3 |
+
ops = torch.ops._relu_cuda_eea2e23
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_eea2e23::{op_name}"
|
build/torch210-cxx11-cu128-aarch64-linux/{_relu_cuda_eb7c305.abi3.so → _relu_cuda_eea2e23.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:a58338b1034bcb87e7efc214642893462df62674a1758a88f36f2c2d163d34ff
|
| 3 |
size 2235240
|
build/torch210-cxx11-cu128-aarch64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "relu",
|
| 3 |
+
"id": "_relu_cuda_eea2e23",
|
| 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_eea2e23
|
| 3 |
+
ops = torch.ops._relu_cuda_eea2e23
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_eea2e23::{op_name}"
|
build/torch210-cxx11-cu130-aarch64-linux/{_relu_cuda_eb7c305.abi3.so → _relu_cuda_eea2e23.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:4aa195d1a8baaf792b6d18a046a2988514c13e89637441535dc22e03419dab4c
|
| 3 |
size 2237576
|
build/torch210-cxx11-cu130-aarch64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "relu",
|
| 3 |
+
"id": "_relu_cuda_eea2e23",
|
| 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_eea2e23
|
| 3 |
+
ops = torch.ops._relu_cpu_eea2e23
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_eea2e23::{op_name}"
|
build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_eb7c305.abi3.so → _relu_cpu_eea2e23.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:013618edc505d251de17a83ad189e094ef38dd4e2fbbd74d0a10550fe202715b
|
| 3 |
size 2025352
|
build/torch211-cxx11-cpu-aarch64-linux/metadata.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
| 5 |
"backend": {
|
| 6 |
"type": "cpu"
|
| 7 |
}
|
| 8 |
-
}
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "relu",
|
| 3 |
+
"id": "_relu_cpu_eea2e23",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
| 7 |
"backend": {
|
| 8 |
"type": "cpu"
|
| 9 |
}
|
| 10 |
+
}
|
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_eea2e23
|
| 3 |
+
ops = torch.ops._relu_cuda_eea2e23
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_eea2e23::{op_name}"
|
build/torch211-cxx11-cu126-aarch64-linux/{_relu_cuda_eb7c305.abi3.so → _relu_cuda_eea2e23.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:82ceb5ef8ab94bf7f1a75250dd8f519fb008af2f20c781ba0b2672ac724cbc04
|
| 3 |
size 2100128
|
build/torch211-cxx11-cu126-aarch64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "relu",
|
| 3 |
+
"id": "_relu_cuda_eea2e23",
|
| 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_eea2e23
|
| 3 |
+
ops = torch.ops._relu_cuda_eea2e23
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_eea2e23::{op_name}"
|
build/torch211-cxx11-cu128-aarch64-linux/{_relu_cuda_eb7c305.abi3.so → _relu_cuda_eea2e23.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:40d66474d661841b9df1771cfe17bd75c6c5bb8e32d6881af469a7c41563df2f
|
| 3 |
size 2231464
|
build/torch211-cxx11-cu128-aarch64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "relu",
|
| 3 |
+
"id": "_relu_cuda_eea2e23",
|
| 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_eea2e23
|
| 3 |
+
ops = torch.ops._relu_cuda_eea2e23
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_eea2e23::{op_name}"
|
build/torch211-cxx11-cu130-aarch64-linux/{_relu_cuda_eb7c305.abi3.so → _relu_cuda_eea2e23.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:4ec1b2cba09dd3fe97f9eebf234140460f566d48558629422a05405f168e0be1
|
| 3 |
size 2233792
|
build/torch211-cxx11-cu130-aarch64-linux/metadata.json
CHANGED
|
@@ -1,4 +1,6 @@
|
|
| 1 |
{
|
|
|
|
|
|
|
| 2 |
"version": 1,
|
| 3 |
"license": "Apache-2.0",
|
| 4 |
"python-depends": [],
|
|
|
|
| 1 |
{
|
| 2 |
+
"name": "relu",
|
| 3 |
+
"id": "_relu_cuda_eea2e23",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|