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
|
Download README.md from replicate/residual_rms: direct link, hf CLI and curl.
- Browser
- Download file 836 Bytes
-
https://huggingface.co/replicate/residual_rms/resolve/main/README.md
- Command line
-
hf download hf://replicate/residual_rms/README.md
-
curl -L -o README.md https://huggingface.co/replicate/residual_rms/resolve/main/README.md
836 Bytes
| 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 | |
| ``` | |