Instructions to use SuperexponentialAI/relu with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use SuperexponentialAI/relu with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("SuperexponentialAI/relu") - Notebooks
- Google Colab
- Kaggle
Optimized relu: cpu/cuda/xpu, 1.2-1.85x faster on RTX 4090, benchmarked vs upstream and torch.relu
e873e70 verified | { | |
| description = "Flake for ReLU kernel"; | |
| inputs = { | |
| kernel-builder.url = "github:huggingface/kernels"; | |
| }; | |
| outputs = | |
| { | |
| self, | |
| kernel-builder, | |
| ... | |
| }: | |
| kernel-builder.lib.genKernelFlakeOutputs { | |
| inherit self; | |
| path = ./.; | |
| }; | |
| } | |