Instructions to use replicate/mlx-rmsnorm with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/mlx-rmsnorm 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/mlx-rmsnorm", version=1) - Notebooks
- Google Colab
- Kaggle
Uploaded using `kernel-builder`.
Browse files
README.md
CHANGED
|
@@ -12,13 +12,12 @@ This is the repository card of mlx-rmsnorm/mlx-rmsnorm that has been pushed on t
|
|
| 12 |
from kernels import get_kernel
|
| 13 |
|
| 14 |
kernel_module = get_kernel("mlx-rmsnorm/mlx-rmsnorm")
|
| 15 |
-
|
| 16 |
|
| 17 |
-
|
| 18 |
```
|
| 19 |
|
| 20 |
## Available functions
|
| 21 |
-
- `layers`
|
| 22 |
- `rmsnorm_forward`
|
| 23 |
- `rmsnorm_backward`
|
| 24 |
|
|
|
|
| 12 |
from kernels import get_kernel
|
| 13 |
|
| 14 |
kernel_module = get_kernel("mlx-rmsnorm/mlx-rmsnorm")
|
| 15 |
+
rmsnorm_forward = kernel_module.rmsnorm_forward
|
| 16 |
|
| 17 |
+
rmsnorm_forward(...)
|
| 18 |
```
|
| 19 |
|
| 20 |
## Available functions
|
|
|
|
| 21 |
- `rmsnorm_forward`
|
| 22 |
- `rmsnorm_backward`
|
| 23 |
|