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
CHANGED
|
@@ -196,3 +196,4 @@ build/torch29-cxx11-cu130-x86_64-linux/_relu_53eed8c.abi3.so filter=lfs diff=lfs
|
|
| 196 |
build/torch29-cxx11-rocm63-x86_64-linux/_relu_53eed8c.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 197 |
build/torch29-cxx11-rocm64-x86_64-linux/_relu_53eed8c.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 198 |
build/torch29-cxx11-xpu20252-x86_64-linux/_relu_53eed8c.abi3.so filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 196 |
build/torch29-cxx11-rocm63-x86_64-linux/_relu_53eed8c.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 197 |
build/torch29-cxx11-rocm64-x86_64-linux/_relu_53eed8c.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 198 |
build/torch29-cxx11-xpu20252-x86_64-linux/_relu_53eed8c.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 199 |
+
build/torch210-metal-aarch64-darwin/_relu_ff7d195.abi3.so filter=lfs diff=lfs merge=lfs -text
|
build/torch210-metal-aarch64-darwin/_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_ff7d195
|
| 3 |
+
ops = torch.ops._relu_ff7d195
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_ff7d195::{op_name}"
|
build/torch210-metal-aarch64-darwin/{_relu_53eed8c.abi3.so → _relu_ff7d195.abi3.so}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 100632
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:f7043c3a657f31236f1d9e055008a6c683ab96be79aeabc800a363233d507f77
|
| 3 |
size 100632
|
build/torch29-metal-aarch64-darwin/_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_ff7d195
|
| 3 |
+
ops = torch.ops._relu_ff7d195
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_ff7d195::{op_name}"
|
build/torch29-metal-aarch64-darwin/{_relu_53eed8c.abi3.so → _relu_ff7d195.abi3.so}
RENAMED
|
Binary files a/build/torch29-metal-aarch64-darwin/_relu_53eed8c.abi3.so and b/build/torch29-metal-aarch64-darwin/_relu_ff7d195.abi3.so differ
|
|
|