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
Build uploaded using `kernels`.
Browse files- .gitattributes +9 -0
- build/torch210-cxx11-cpu-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cpu-aarch64-linux/{_relu_cpu_86608d6.abi3.so → _relu_cpu_a1c8862.abi3.so} +1 -1
- build/torch210-cxx11-cu126-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu126-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.abi3.so} +1 -1
- build/torch210-cxx11-cu128-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu128-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.abi3.so} +1 -1
- build/torch210-cxx11-cu130-aarch64-linux/_ops.py +3 -3
- build/torch210-cxx11-cu130-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.abi3.so} +1 -1
- build/torch211-cxx11-cpu-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_86608d6.abi3.so → _relu_cpu_a1c8862.abi3.so} +1 -1
- build/torch211-cxx11-cu126-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu126-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.abi3.so} +1 -1
- build/torch211-cxx11-cu128-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu128-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.abi3.so} +1 -1
- build/torch211-cxx11-cu130-aarch64-linux/_ops.py +3 -3
- build/torch211-cxx11-cu130-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.abi3.so} +1 -1
- build/torch29-cxx11-cu129-aarch64-linux/_ops.py +3 -3
- build/torch29-cxx11-cu129-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.abi3.so} +1 -1
.gitattributes
CHANGED
|
@@ -323,3 +323,12 @@ build/torch211-cxx11-rocm71-x86_64-linux/_relu_rocm_a1c8862.abi3.so filter=lfs d
|
|
| 323 |
build/torch211-cxx11-rocm72-x86_64-linux/_relu_rocm_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 324 |
build/torch211-cxx11-xpu20253-x86_64-linux/_relu_xpu_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 325 |
build/torch29-cxx11-cu129-x86_64-linux/_relu_cuda_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 323 |
build/torch211-cxx11-rocm72-x86_64-linux/_relu_rocm_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 324 |
build/torch211-cxx11-xpu20253-x86_64-linux/_relu_xpu_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 325 |
build/torch29-cxx11-cu129-x86_64-linux/_relu_cuda_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 326 |
+
build/torch210-cxx11-cpu-aarch64-linux/_relu_cpu_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 327 |
+
build/torch210-cxx11-cu126-aarch64-linux/_relu_cuda_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 328 |
+
build/torch210-cxx11-cu128-aarch64-linux/_relu_cuda_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 329 |
+
build/torch210-cxx11-cu130-aarch64-linux/_relu_cuda_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 330 |
+
build/torch211-cxx11-cpu-aarch64-linux/_relu_cpu_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 331 |
+
build/torch211-cxx11-cu126-aarch64-linux/_relu_cuda_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 332 |
+
build/torch211-cxx11-cu128-aarch64-linux/_relu_cuda_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 333 |
+
build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_a1c8862.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 334 |
+
build/torch29-cxx11-cu129-aarch64-linux/_relu_cuda_a1c8862.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_a1c8862
|
| 3 |
+
ops = torch.ops._relu_cpu_a1c8862
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_a1c8862::{op_name}"
|
build/torch210-cxx11-cpu-aarch64-linux/{_relu_cpu_86608d6.abi3.so → _relu_cpu_a1c8862.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:427897610d88dde68c5ed67ee32cf255a85a0c85fbb521b5a31a2012d5f5a7fb
|
| 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_a1c8862
|
| 3 |
+
ops = torch.ops._relu_cuda_a1c8862
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a1c8862::{op_name}"
|
build/torch210-cxx11-cu126-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.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:1040e80d1c27089f2b0142027bbfb0944b86a116c83b58fb9a9acca45ea9b16c
|
| 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_a1c8862
|
| 3 |
+
ops = torch.ops._relu_cuda_a1c8862
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a1c8862::{op_name}"
|
build/torch210-cxx11-cu128-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.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:3ffacbbbdcb4bce9bd9eff8a2ed3d62dc062d1a0512b43e8b925e7cf65bb6431
|
| 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_a1c8862
|
| 3 |
+
ops = torch.ops._relu_cuda_a1c8862
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a1c8862::{op_name}"
|
build/torch210-cxx11-cu130-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2236952
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9618165c67c34193def1b100f4a2a4a723c386fbc5b3b8b2f29887ff23a78e79
|
| 3 |
size 2236952
|
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_a1c8862
|
| 3 |
+
ops = torch.ops._relu_cpu_a1c8862
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cpu_a1c8862::{op_name}"
|
build/torch211-cxx11-cpu-aarch64-linux/{_relu_cpu_86608d6.abi3.so → _relu_cpu_a1c8862.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:5345a2afc6cf20597f27ce7b05b12f8ea007faac501d422cbf33c3c23fcce537
|
| 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_a1c8862
|
| 3 |
+
ops = torch.ops._relu_cuda_a1c8862
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a1c8862::{op_name}"
|
build/torch211-cxx11-cu126-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.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:9df9e6570fcb664334982b4e904fd238b09dd916b5e9bdabb8007d90345258b2
|
| 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_a1c8862
|
| 3 |
+
ops = torch.ops._relu_cuda_a1c8862
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a1c8862::{op_name}"
|
build/torch211-cxx11-cu128-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.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:4d8c3695219e0b4ea79fdf05f383c9ccf328a26c9183ed82163eeeaa1c829588
|
| 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_a1c8862
|
| 3 |
+
ops = torch.ops._relu_cuda_a1c8862
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a1c8862::{op_name}"
|
build/torch211-cxx11-cu130-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2233176
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5137382ed80a158a19e1414e6a95499112ca8e19d890d49dada58f6aace75696
|
| 3 |
size 2233176
|
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_a1c8862
|
| 3 |
+
ops = torch.ops._relu_cuda_a1c8862
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a1c8862::{op_name}"
|
build/torch29-cxx11-cu129-aarch64-linux/{_relu_cuda_86608d6.abi3.so → _relu_cuda_a1c8862.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:da975f042fc6861dd69fba76cf5e0ed6a5546ec7ee55a4abfb9b153938397ddc
|
| 3 |
size 2234392
|