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
CHANGED
|
@@ -358,3 +358,4 @@ build/torch211-cxx11-cu128-aarch64-linux/_relu_cuda_918d6dc.abi3.so filter=lfs d
|
|
| 358 |
build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_918d6dc.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 359 |
build/torch29-cxx11-cu129-aarch64-linux/_relu_cuda_918d6dc.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 360 |
build/torch210-xpu20253-x86_64-windows/_relu_xpu_e08ad6f.pyd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 358 |
build/torch211-cxx11-cu130-aarch64-linux/_relu_cuda_918d6dc.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 359 |
build/torch29-cxx11-cu129-aarch64-linux/_relu_cuda_918d6dc.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 360 |
build/torch210-xpu20253-x86_64-windows/_relu_xpu_e08ad6f.pyd filter=lfs diff=lfs merge=lfs -text
|
| 361 |
+
build/torch211-cu128-x86_64-windows/_relu_cuda_f560032.pyd filter=lfs diff=lfs merge=lfs -text
|
build/torch211-cu128-x86_64-windows/_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_f560032
|
| 3 |
+
ops = torch.ops._relu_cuda_f560032
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_f560032::{op_name}"
|
build/torch211-cu128-x86_64-windows/{_relu_cuda_e08ad6f.pyd → _relu_cuda_f560032.pyd}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 203776
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:9b29fc4fee5e348b6808e893415434e2109e5b906eccf3ec13283db343a1965d
|
| 3 |
size 203776
|