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_918d6dc.abi3.so → _relu_cpu_a99dbbb.abi3.so} +1 -1
- build/torch210-cxx11-cu126-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu126-aarch64-linux/{_relu_cuda_918d6dc.abi3.so → _relu_cuda_a99dbbb.abi3.so} +1 -1
- build/torch210-cxx11-cu128-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu128-aarch64-linux/{_relu_cuda_918d6dc.abi3.so → _relu_cuda_a99dbbb.abi3.so} +1 -1
- build/torch210-cxx11-cu130-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu130-aarch64-linux/{_relu_cuda_918d6dc.abi3.so → _relu_cuda_a99dbbb.abi3.so} +2 -2
- build/torch211-cxx11-cpu-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_918d6dc.abi3.so → _relu_cpu_a99dbbb.abi3.so} +1 -1
- build/torch211-cxx11-cu126-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu126-aarch64-linux/{_relu_cuda_918d6dc.abi3.so → _relu_cuda_a99dbbb.abi3.so} +1 -1
- build/torch211-cxx11-cu128-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu128-aarch64-linux/{_relu_cuda_918d6dc.abi3.so → _relu_cuda_a99dbbb.abi3.so} +1 -1
- build/torch211-cxx11-cu130-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_918d6dc.abi3.so +0 -3
- build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_a99dbbb.abi3.so +3 -0
- build/torch29-cxx11-cu129-aarch64-linux/_ops.py +3 -3
- build/torch29-cxx11-cu129-aarch64-linux/{_relu_cuda_918d6dc.abi3.so → _relu_cuda_a99dbbb.abi3.so} +1 -1
.gitattributes
CHANGED
|
@@ -381,3 +381,12 @@ build/torch211-cxx11-xpu20253-x86_64-linux/_relu_xpu_a99dbbb.abi3.so filter=lfs
|
|
| 381 |
build/torch29-cxx11-cu129-x86_64-linux/_relu_cuda_a99dbbb.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 382 |
build/torch211-cu128-x86_64-windows/_relu_cuda_a0e9507.pyd filter=lfs diff=lfs merge=lfs -text
|
| 383 |
build/torch210-xpu20253-x86_64-windows/_relu_xpu_a0e9507.pyd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 381 |
build/torch29-cxx11-cu129-x86_64-linux/_relu_cuda_a99dbbb.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 382 |
build/torch211-cu128-x86_64-windows/_relu_cuda_a0e9507.pyd filter=lfs diff=lfs merge=lfs -text
|
| 383 |
build/torch210-xpu20253-x86_64-windows/_relu_xpu_a0e9507.pyd filter=lfs diff=lfs merge=lfs -text
|
| 384 |
+
build/torch210-cxx11-cpu-aarch64-linux/_relu_cpu_a99dbbb.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 385 |
+
build/torch210-cxx11-cu126-aarch64-linux/_relu_cuda_a99dbbb.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 386 |
+
build/torch210-cxx11-cu128-aarch64-linux/_relu_cuda_a99dbbb.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 387 |
+
build/torch210-cxx11-cu130-aarch64-linux/_relu_cuda_a99dbbb.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 388 |
+
build/torch211-cxx11-cpu-aarch64-linux/_relu_cpu_a99dbbb.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 389 |
+
build/torch211-cxx11-cu126-aarch64-linux/_relu_cuda_a99dbbb.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 390 |
+
build/torch211-cxx11-cu128-aarch64-linux/_relu_cuda_a99dbbb.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 391 |
+
build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_a99dbbb.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 392 |
+
build/torch29-cxx11-cu129-aarch64-linux/_relu_cuda_a99dbbb.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_a99dbbb
|
| 3 |
+
ops = torch.ops._relu_cpu_a99dbbb
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_a99dbbb::{op_name}"
|
build/torch210-cxx11-cpu-aarch64-linux/{_relu_cpu_918d6dc.abi3.so → _relu_cpu_a99dbbb.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:0d199c6a52a562c50ee26cc0ec2898d6b0598f695b00627d8ed0d14aa5c530bc
|
| 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_a99dbbb
|
| 3 |
+
ops = torch.ops._relu_cuda_a99dbbb
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a99dbbb::{op_name}"
|
build/torch210-cxx11-cu126-aarch64-linux/{_relu_cuda_918d6dc.abi3.so → _relu_cuda_a99dbbb.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:93346af2ae7674d62188fb33302da7bf0cbe21299ad608fbda287ec7d3594646
|
| 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_a99dbbb
|
| 3 |
+
ops = torch.ops._relu_cuda_a99dbbb
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a99dbbb::{op_name}"
|
build/torch210-cxx11-cu128-aarch64-linux/{_relu_cuda_918d6dc.abi3.so → _relu_cuda_a99dbbb.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:0f2e889ed89b32fc3b2ffa5e25d1237f16a7cd970e738b8935a3d4e2e9b43e73
|
| 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_a99dbbb
|
| 3 |
+
ops = torch.ops._relu_cuda_a99dbbb
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a99dbbb::{op_name}"
|
build/torch210-cxx11-cu130-aarch64-linux/{_relu_cuda_918d6dc.abi3.so → _relu_cuda_a99dbbb.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
-
size
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f5206ce26e751d3c242293085d05bf7181c16efaa28ad95efa97c0856f2054e8
|
| 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_a99dbbb
|
| 3 |
+
ops = torch.ops._relu_cpu_a99dbbb
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_a99dbbb::{op_name}"
|
build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_918d6dc.abi3.so → _relu_cpu_a99dbbb.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:e983bc2f936cc78645c144d57c223c6f5c87a624431fa8c38812fbc482f7ad6a
|
| 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_a99dbbb
|
| 3 |
+
ops = torch.ops._relu_cuda_a99dbbb
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a99dbbb::{op_name}"
|
build/torch211-cxx11-cu126-aarch64-linux/{_relu_cuda_918d6dc.abi3.so → _relu_cuda_a99dbbb.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:80addfa373d1dbf5c471a835ac83f8836f30297750c4c9400c2259685b40bd57
|
| 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_a99dbbb
|
| 3 |
+
ops = torch.ops._relu_cuda_a99dbbb
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a99dbbb::{op_name}"
|
build/torch211-cxx11-cu128-aarch64-linux/{_relu_cuda_918d6dc.abi3.so → _relu_cuda_a99dbbb.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:df01542f74ed7c55c6dd5fd2089ee7331d10d76ae87fc30eca8315ea167dbc22
|
| 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_a99dbbb
|
| 3 |
+
ops = torch.ops._relu_cuda_a99dbbb
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a99dbbb::{op_name}"
|
build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_918d6dc.abi3.so
DELETED
|
@@ -1,3 +0,0 @@
|
|
| 1 |
-
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:0e4bfd04bd2d3fc2a23f3d2cf72c91c3cccf45cb1eabca9ea482dfd746c5f8e1
|
| 3 |
-
size 2233176
|
|
|
|
|
|
|
|
|
|
|
|
build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_a99dbbb.abi3.so
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:c05b7097b807551d65a56c52715aa48572356a5f079318ce44378e7096d97981
|
| 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_a99dbbb
|
| 3 |
+
ops = torch.ops._relu_cuda_a99dbbb
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a99dbbb::{op_name}"
|
build/torch29-cxx11-cu129-aarch64-linux/{_relu_cuda_918d6dc.abi3.so → _relu_cuda_a99dbbb.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:04bc41c31067cabd5058fb1e1265836e50833e91cf834331b8ff4e6ec428a637
|
| 3 |
size 2234392
|