Instructions to use replicate/residual_rms with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/residual_rms 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/residual_rms", version=1) - Notebooks
- Google Colab
- Kaggle
File size: 836 Bytes
79aac9d 96c4f74 79aac9d a2553d5 79aac9d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | ---
license: apache-2.0
tags:
- kernels
---
> [!CAUTION]
> Starting from September 13, 2026, we will be removing the "model" type repositories of kernels (e.g., kernels-community/flash-attn3). Make sure you're using a latest version of kernels. If you face any disruption, please report them here: https://github.com/huggingface/kernels/issues/new.
## Residual RMS for ROCM
Residual RMS kernels from [residual_rms](https://github.com/huggingface/hf-rocm-kernels).
# Development
This kernel can be built using the the [HF Kernel Builder](https://github.com/huggingface/kernel-builder) using the following the commands.
## Build
```bash
nix build .#bundle -L
```
### Dev shell
```bash
nix develop -L
pytest tests
```
## Publish
```bash
git remote add origin git@hf.co:kernels-community/residual_rms
git push -u origin main
```
|