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
|
@@ -248,3 +248,4 @@ build/torch210-xpu20253-x86_64-windows/_relu_xpu_9ba4f37.pyd filter=lfs diff=lfs
|
|
| 248 |
build/torch210-cu128-x86_64-windows/_relu_cuda_bd0179a.pyd filter=lfs diff=lfs merge=lfs -text
|
| 249 |
build/torch210-xpu20253-x86_64-windows/_relu_xpu_bd0179a.pyd filter=lfs diff=lfs merge=lfs -text
|
| 250 |
build/torch210-cu128-x86_64-windows/_relu_cuda_d91a431.pyd filter=lfs diff=lfs merge=lfs -text
|
|
|
|
|
|
| 248 |
build/torch210-cu128-x86_64-windows/_relu_cuda_bd0179a.pyd filter=lfs diff=lfs merge=lfs -text
|
| 249 |
build/torch210-xpu20253-x86_64-windows/_relu_xpu_bd0179a.pyd filter=lfs diff=lfs merge=lfs -text
|
| 250 |
build/torch210-cu128-x86_64-windows/_relu_cuda_d91a431.pyd filter=lfs diff=lfs merge=lfs -text
|
| 251 |
+
build/torch210-xpu20253-x86_64-windows/_relu_xpu_d91a431.pyd filter=lfs diff=lfs merge=lfs -text
|
build/torch210-xpu20253-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_xpu_d91a431
|
| 3 |
+
ops = torch.ops._relu_xpu_d91a431
|
| 4 |
|
| 5 |
def add_op_namespace_prefix(op_name: str):
|
| 6 |
"""
|
| 7 |
Prefix op by namespace.
|
| 8 |
"""
|
| 9 |
+
return f"_relu_xpu_d91a431::{op_name}"
|
build/torch210-xpu20253-x86_64-windows/{_relu_xpu_bd0179a.pyd → _relu_xpu_d91a431.pyd}
RENAMED
|
@@ -1,3 +1,3 @@
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
-
oid sha256:
|
| 3 |
size 166400
|
|
|
|
| 1 |
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:fac8d8226b379b4a96ebaf1c35259da4eef47130c67bf4d4edb19f428cd8f5e4
|
| 3 |
size 166400
|