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 +9 -0
- build/torch210-cxx11-cpu-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cpu-aarch64-linux/{_relu_cpu_a99dbbb.abi3.so → _relu_cpu_5873916.abi3.so} +1 -1
- build/torch210-cxx11-cu126-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu126-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.abi3.so} +1 -1
- build/torch210-cxx11-cu128-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu128-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.abi3.so} +1 -1
- build/torch210-cxx11-cu130-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu130-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.abi3.so} +1 -1
- build/torch211-cxx11-cpu-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_a99dbbb.abi3.so → _relu_cpu_5873916.abi3.so} +1 -1
- build/torch211-cxx11-cu126-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu126-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.abi3.so} +1 -1
- build/torch211-cxx11-cu128-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu128-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.abi3.so} +1 -1
- build/torch211-cxx11-cu130-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu130-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.abi3.so} +1 -1
- build/torch29-cxx11-cu129-aarch64-linux/_ops.py +3 -3
- build/torch29-cxx11-cu129-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.abi3.so} +1 -1
.gitattributes
CHANGED
|
@@ -397,3 +397,12 @@ build/torch211-metal-aarch64-darwin/_relu_metal_c7869db.abi3.so filter=lfs diff=
|
|
| 397 |
build/torch211-cu128-x86_64-windows/_relu_cuda_20e5021.pyd filter=lfs diff=lfs merge=lfs -text
|
| 398 |
build/torch211-cu128-x86_64-windows/_relu_cuda_54498f1.pyd filter=lfs diff=lfs merge=lfs -text
|
| 399 |
build/torch210-xpu20253-x86_64-windows/_relu_xpu_20e5021.pyd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 397 |
build/torch211-cu128-x86_64-windows/_relu_cuda_20e5021.pyd filter=lfs diff=lfs merge=lfs -text
|
| 398 |
build/torch211-cu128-x86_64-windows/_relu_cuda_54498f1.pyd filter=lfs diff=lfs merge=lfs -text
|
| 399 |
build/torch210-xpu20253-x86_64-windows/_relu_xpu_20e5021.pyd filter=lfs diff=lfs merge=lfs -text
|
| 400 |
+
build/torch210-cxx11-cpu-aarch64-linux/_relu_cpu_5873916.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 401 |
+
build/torch210-cxx11-cu126-aarch64-linux/_relu_cuda_5873916.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 402 |
+
build/torch210-cxx11-cu128-aarch64-linux/_relu_cuda_5873916.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 403 |
+
build/torch210-cxx11-cu130-aarch64-linux/_relu_cuda_5873916.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 404 |
+
build/torch211-cxx11-cpu-aarch64-linux/_relu_cpu_5873916.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 405 |
+
build/torch211-cxx11-cu126-aarch64-linux/_relu_cuda_5873916.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 406 |
+
build/torch211-cxx11-cu128-aarch64-linux/_relu_cuda_5873916.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 407 |
+
build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_5873916.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 408 |
+
build/torch29-cxx11-cu129-aarch64-linux/_relu_cuda_5873916.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_5873916
|
| 3 |
+
ops = torch.ops._relu_cpu_5873916
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_5873916::{op_name}"
|
build/torch210-cxx11-cpu-aarch64-linux/{_relu_cpu_a99dbbb.abi3.so → _relu_cpu_5873916.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:1a7f9cce40a50f32d8e447a4e937374732b711e619e221b88ebebe80dea436ca
|
| 3 |
size 2025352
|
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_5873916
|
| 3 |
+
ops = torch.ops._relu_cuda_5873916
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_5873916::{op_name}"
|
build/torch210-cxx11-cu126-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.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:bb6d155069864021e5ec32e63f2dff93848839c4bdbb526714a51f3019db874a
|
| 3 |
size 2103912
|
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_5873916
|
| 3 |
+
ops = torch.ops._relu_cuda_5873916
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_5873916::{op_name}"
|
build/torch210-cxx11-cu128-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.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:2b0189ba5d2df115c87e0bb1b8a6ee89625b092b7c2322212c7d7a26eebcf4c3
|
| 3 |
size 2235240
|
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_5873916
|
| 3 |
+
ops = torch.ops._relu_cuda_5873916
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_5873916::{op_name}"
|
build/torch210-cxx11-cu130-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.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:d905c685b05b69699a8bce52e68316b1876367fd6696d1fb5a22c2b86540830a
|
| 3 |
size 2237576
|
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_5873916
|
| 3 |
+
ops = torch.ops._relu_cpu_5873916
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_5873916::{op_name}"
|
build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_a99dbbb.abi3.so → _relu_cpu_5873916.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:1bf3397f2bd3c00a9c94678fbe63a4a10a9ba83b58531dee327f39a333647d0f
|
| 3 |
size 2025352
|
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_5873916
|
| 3 |
+
ops = torch.ops._relu_cuda_5873916
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_5873916::{op_name}"
|
build/torch211-cxx11-cu126-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.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:d95a542e1f46661373140144d650df1466faee6c0d6765826669adf46bb48355
|
| 3 |
size 2100128
|
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_5873916
|
| 3 |
+
ops = torch.ops._relu_cuda_5873916
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_5873916::{op_name}"
|
build/torch211-cxx11-cu128-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.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:93f49b54f749560dfeb463d61cbfd7763b9cd2a6af6ccf54b7d84ace4ed62076
|
| 3 |
size 2231464
|
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_5873916
|
| 3 |
+
ops = torch.ops._relu_cuda_5873916
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_5873916::{op_name}"
|
build/torch211-cxx11-cu130-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.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:e643020454c41102947b46d2a275d1dfd8b52f3e3775f3f0b8b36dd928cd3a7c
|
| 3 |
size 2233792
|
build/torch29-cxx11-cu129-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_5873916
|
| 3 |
+
ops = torch.ops._relu_cuda_5873916
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_5873916::{op_name}"
|
build/torch29-cxx11-cu129-aarch64-linux/{_relu_cuda_a99dbbb.abi3.so → _relu_cuda_5873916.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2234392
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:82c2f6e54aaebd32dbc149866b7fc4a0a06d23eb5e327bd827909db2bf088ee9
|
| 3 |
size 2234392
|