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
|
@@ -379,3 +379,4 @@ build/torch211-cxx11-rocm71-x86_64-linux/_relu_rocm_a99dbbb.abi3.so filter=lfs d
|
|
| 379 |
build/torch211-cxx11-rocm72-x86_64-linux/_relu_rocm_a99dbbb.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 380 |
build/torch211-cxx11-xpu20253-x86_64-linux/_relu_xpu_a99dbbb.abi3.so 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
|
|
|
|
|
|
| 379 |
build/torch211-cxx11-rocm72-x86_64-linux/_relu_rocm_a99dbbb.abi3.so filter=lfs diff=lfs merge=lfs -text
|
| 380 |
build/torch211-cxx11-xpu20253-x86_64-linux/_relu_xpu_a99dbbb.abi3.so 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
|
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_a0e9507
|
| 3 |
+
ops = torch.ops._relu_cuda_a0e9507
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_cuda_a0e9507::{op_name}"
|
build/torch211-cu128-x86_64-windows/{_relu_cuda_e46713e.pyd → _relu_cuda_a0e9507.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:bec104d538898373eec676c7e3cd9a88869aebfee552a3e92cd18ae04fa52f31
|
| 3 |
size 203776
|