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_eea2e23.abi3.so → _relu_cpu_7a4e5a7.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_eea2e23.abi3.so → _relu_cuda_7a4e5a7.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_eea2e23.abi3.so → _relu_cuda_7a4e5a7.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_eea2e23.abi3.so → _relu_cuda_7a4e5a7.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_eea2e23.abi3.so → _relu_cpu_7a4e5a7.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_eea2e23.abi3.so → _relu_cuda_7a4e5a7.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_eea2e23.abi3.so → _relu_cuda_7a4e5a7.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_eea2e23.abi3.so → _relu_cuda_7a4e5a7.abi3.so} +1 -1
- build/torch211-cxx11-cu130-aarch64-linux/metadata.json +1 -1
.gitattributes
CHANGED
|
@@ -525,3 +525,11 @@ build/torch211-cxx11-cpu-aarch64-linux/_relu_cpu_eea2e23.abi3.so filter=lfs diff
|
|
| 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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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
|
| 528 |
+
build/torch210-cxx11-cpu-aarch64-linux/_relu_cpu_7a4e5a7.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 529 |
+
build/torch210-cxx11-cu126-aarch64-linux/_relu_cuda_7a4e5a7.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 530 |
+
build/torch210-cxx11-cu128-aarch64-linux/_relu_cuda_7a4e5a7.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 531 |
+
build/torch210-cxx11-cu130-aarch64-linux/_relu_cuda_7a4e5a7.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 532 |
+
build/torch211-cxx11-cpu-aarch64-linux/_relu_cpu_7a4e5a7.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 533 |
+
build/torch211-cxx11-cu126-aarch64-linux/_relu_cuda_7a4e5a7.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 534 |
+
build/torch211-cxx11-cu128-aarch64-linux/_relu_cuda_7a4e5a7.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 535 |
+
build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_7a4e5a7.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_7a4e5a7
|
| 3 |
+
ops = torch.ops._relu_cpu_7a4e5a7
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_7a4e5a7::{op_name}"
|
build/torch210-cxx11-cpu-aarch64-linux/{_relu_cpu_eea2e23.abi3.so → _relu_cpu_7a4e5a7.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:79dc05714e97630bcbd7746b6df2b0340f6a4b232387013f3b2a0964e3ff60ea
|
| 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_7a4e5a7",
|
| 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_7a4e5a7
|
| 3 |
+
ops = torch.ops._relu_cuda_7a4e5a7
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_7a4e5a7::{op_name}"
|
build/torch210-cxx11-cu126-aarch64-linux/{_relu_cuda_eea2e23.abi3.so → _relu_cuda_7a4e5a7.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:084a96704e4d4955da9311c1083a06e25eb665fe57ad38672ee60aa8df695819
|
| 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_7a4e5a7",
|
| 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_7a4e5a7
|
| 3 |
+
ops = torch.ops._relu_cuda_7a4e5a7
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_7a4e5a7::{op_name}"
|
build/torch210-cxx11-cu128-aarch64-linux/{_relu_cuda_eea2e23.abi3.so → _relu_cuda_7a4e5a7.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:c1f96b2efa1603591d04372ac662eec6fe37855069f036de777c06e69b8e3dd8
|
| 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_7a4e5a7",
|
| 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_7a4e5a7
|
| 3 |
+
ops = torch.ops._relu_cuda_7a4e5a7
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_7a4e5a7::{op_name}"
|
build/torch210-cxx11-cu130-aarch64-linux/{_relu_cuda_eea2e23.abi3.so → _relu_cuda_7a4e5a7.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:75088c3347b7b9f607ad577fa58196ed3ab44c0d9a7e0c27b00364a4ba5e56ba
|
| 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_7a4e5a7",
|
| 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_7a4e5a7
|
| 3 |
+
ops = torch.ops._relu_cpu_7a4e5a7
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_7a4e5a7::{op_name}"
|
build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_eea2e23.abi3.so → _relu_cpu_7a4e5a7.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:71fd9a2298f0f399344ae20b38e5ac5101ad7a3d92e26d94a479416259a04ba4
|
| 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_7a4e5a7",
|
| 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_7a4e5a7
|
| 3 |
+
ops = torch.ops._relu_cuda_7a4e5a7
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_7a4e5a7::{op_name}"
|
build/torch211-cxx11-cu126-aarch64-linux/{_relu_cuda_eea2e23.abi3.so → _relu_cuda_7a4e5a7.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:23bdc0f565526e2376782594be290c4325ef014bbd41d83291e4ca8c56bd584f
|
| 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_7a4e5a7",
|
| 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_7a4e5a7
|
| 3 |
+
ops = torch.ops._relu_cuda_7a4e5a7
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_7a4e5a7::{op_name}"
|
build/torch211-cxx11-cu128-aarch64-linux/{_relu_cuda_eea2e23.abi3.so → _relu_cuda_7a4e5a7.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:de2848495ac63e1f68c9c91774377c35998621b6f11192dec3820270b6d52ed5
|
| 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_7a4e5a7",
|
| 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_7a4e5a7
|
| 3 |
+
ops = torch.ops._relu_cuda_7a4e5a7
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_7a4e5a7::{op_name}"
|
build/torch211-cxx11-cu130-aarch64-linux/{_relu_cuda_eea2e23.abi3.so → _relu_cuda_7a4e5a7.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:3542b2adcd0f05862a767559c6ff336d249a0f75c82c395c8dd5808011037823
|
| 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_7a4e5a7",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|