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
Benchmarks uploaded using `kernels`.
Browse files- benchmarks/benchmark.py +0 -1
benchmarks/benchmark.py
CHANGED
|
@@ -26,4 +26,3 @@ class ReluBenchmark(Benchmark):
|
|
| 26 |
|
| 27 |
def verify_large(self) -> torch.Tensor:
|
| 28 |
return F.relu(self.x)
|
| 29 |
-
|
|
|
|
| 26 |
|
| 27 |
def verify_large(self) -> torch.Tensor:
|
| 28 |
return F.relu(self.x)
|
|
|