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 +6 -0
- build/torch210-cxx11-rocm70-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-rocm70-x86_64-linux/{_relu_rocm_739753b.abi3.so → _relu_rocm_2038186.abi3.so} +1 -1
- build/torch210-cxx11-rocm70-x86_64-linux/metadata.json +1 -1
- build/torch210-cxx11-rocm71-x86_64-linux/_ops.py +3 -3
- build/torch210-cxx11-rocm71-x86_64-linux/{_relu_rocm_739753b.abi3.so → _relu_rocm_2038186.abi3.so} +1 -1
- build/torch210-cxx11-rocm71-x86_64-linux/metadata.json +1 -1
- build/torch211-cxx11-rocm71-x86_64-linux/_ops.py +3 -3
- build/torch211-cxx11-rocm71-x86_64-linux/{_relu_rocm_739753b.abi3.so → _relu_rocm_2038186.abi3.so} +1 -1
- build/torch211-cxx11-rocm71-x86_64-linux/metadata.json +1 -1
- build/torch211-cxx11-rocm72-x86_64-linux/_ops.py +3 -3
- build/torch211-cxx11-rocm72-x86_64-linux/{_relu_rocm_739753b.abi3.so → _relu_rocm_2038186.abi3.so} +1 -1
- build/torch211-cxx11-rocm72-x86_64-linux/metadata.json +1 -1
- build/torch212-cxx11-rocm71-x86_64-linux/_ops.py +3 -3
- build/torch212-cxx11-rocm71-x86_64-linux/{_relu_rocm_739753b.abi3.so → _relu_rocm_2038186.abi3.so} +1 -1
- build/torch212-cxx11-rocm71-x86_64-linux/metadata.json +1 -1
- build/torch212-cxx11-rocm72-x86_64-linux/_ops.py +3 -3
- build/torch212-cxx11-rocm72-x86_64-linux/{_relu_rocm_739753b.abi3.so → _relu_rocm_2038186.abi3.so} +1 -1
- build/torch212-cxx11-rocm72-x86_64-linux/metadata.json +1 -1
.gitattributes
CHANGED
|
@@ -708,3 +708,9 @@ build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_2038186.abi3.so filter=lfs d
|
|
| 708 |
build/torch212-cxx11-cu126-aarch64-linux/_relu_cuda_2038186.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 709 |
build/torch212-cxx11-cu130-aarch64-linux/_relu_cuda_2038186.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 710 |
build/torch212-cxx11-cu132-aarch64-linux/_relu_cuda_2038186.abi3.so filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 708 |
build/torch212-cxx11-cu126-aarch64-linux/_relu_cuda_2038186.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 709 |
build/torch212-cxx11-cu130-aarch64-linux/_relu_cuda_2038186.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 710 |
build/torch212-cxx11-cu132-aarch64-linux/_relu_cuda_2038186.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 711 |
+
build/torch210-cxx11-rocm70-x86_64-linux/_relu_rocm_2038186.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 712 |
+
build/torch210-cxx11-rocm71-x86_64-linux/_relu_rocm_2038186.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 713 |
+
build/torch211-cxx11-rocm71-x86_64-linux/_relu_rocm_2038186.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 714 |
+
build/torch211-cxx11-rocm72-x86_64-linux/_relu_rocm_2038186.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 715 |
+
build/torch212-cxx11-rocm71-x86_64-linux/_relu_rocm_2038186.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 716 |
+
build/torch212-cxx11-rocm72-x86_64-linux/_relu_rocm_2038186.abi3.so filter=lfs diff=lfs merge=lfs -text
|
build/torch210-cxx11-rocm70-x86_64-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_rocm_2038186
|
| 3 |
+
ops = torch.ops._relu_rocm_2038186
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_rocm_2038186::{op_name}"
|
build/torch210-cxx11-rocm70-x86_64-linux/{_relu_rocm_739753b.abi3.so → _relu_rocm_2038186.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2014944
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d0f8b73d79875b8c8d80489859860757d5e25a4c6b634d8f4d8f2a63a7e8d506
|
| 3 |
size 2014944
|
build/torch210-cxx11-rocm70-x86_64-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_rocm_2038186",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch210-cxx11-rocm71-x86_64-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_rocm_2038186
|
| 3 |
+
ops = torch.ops._relu_rocm_2038186
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_rocm_2038186::{op_name}"
|
build/torch210-cxx11-rocm71-x86_64-linux/{_relu_rocm_739753b.abi3.so → _relu_rocm_2038186.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2014848
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fedc1e7794d1c0405ddd26c5e38648dcee8983e72e793c443a831197547344e1
|
| 3 |
size 2014848
|
build/torch210-cxx11-rocm71-x86_64-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_rocm_2038186",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch211-cxx11-rocm71-x86_64-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_rocm_2038186
|
| 3 |
+
ops = torch.ops._relu_rocm_2038186
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_rocm_2038186::{op_name}"
|
build/torch211-cxx11-rocm71-x86_64-linux/{_relu_rocm_739753b.abi3.so → _relu_rocm_2038186.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2003488
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:28414a15e459e8d1e8495d2ba6c953b7c83665a717169877dba9b5330995925e
|
| 3 |
size 2003488
|
build/torch211-cxx11-rocm71-x86_64-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_rocm_2038186",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch211-cxx11-rocm72-x86_64-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_rocm_2038186
|
| 3 |
+
ops = torch.ops._relu_rocm_2038186
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_rocm_2038186::{op_name}"
|
build/torch211-cxx11-rocm72-x86_64-linux/{_relu_rocm_739753b.abi3.so → _relu_rocm_2038186.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2002656
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:ee8727e0d99df53d07241eee2e12853429080f42da762320a7150b3ffbc58215
|
| 3 |
size 2002656
|
build/torch211-cxx11-rocm72-x86_64-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_rocm_2038186",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch212-cxx11-rocm71-x86_64-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_rocm_2038186
|
| 3 |
+
ops = torch.ops._relu_rocm_2038186
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_rocm_2038186::{op_name}"
|
build/torch212-cxx11-rocm71-x86_64-linux/{_relu_rocm_739753b.abi3.so → _relu_rocm_2038186.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2011896
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:54605ddeb725ece5efd53370747295d3e8c5ba9f21f176fe617eda3b3952855c
|
| 3 |
size 2011896
|
build/torch212-cxx11-rocm71-x86_64-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_rocm_2038186",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|
build/torch212-cxx11-rocm72-x86_64-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_rocm_2038186
|
| 3 |
+
ops = torch.ops._relu_rocm_2038186
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_rocm_2038186::{op_name}"
|
build/torch212-cxx11-rocm72-x86_64-linux/{_relu_rocm_739753b.abi3.so → _relu_rocm_2038186.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 2011064
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9aec5771f1b6b22c4a81882189623b020a9e63ec617796d62bd266fc6248de1f
|
| 3 |
size 2011064
|
build/torch212-cxx11-rocm72-x86_64-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_rocm_2038186",
|
| 4 |
"version": 1,
|
| 5 |
"license": "Apache-2.0",
|
| 6 |
"python-depends": [],
|