Kernels:
Trusted publisher
|
Download README.md from amd/aiter-rope: direct link, hf CLI and curl.
- Browser
- Download file 734 Bytes
-
https://huggingface.co/kernels/amd/aiter-rope/resolve/v3/README.md
- Command line
-
hf download hf://amd/aiter-rope@v3/README.md
-
curl -L -o README.md https://huggingface.co/kernels/amd/aiter-rope/resolve/v3/README.md
734 Bytes
| library_name: kernels | |
| license: mit | |
| This is the repository card of kernels-community/aiter-rope that has been pushed on the Hub. It was built to be used with the [`kernels` library](https://github.com/huggingface/kernels). This card was automatically generated. | |
| ## How to use | |
| ```python | |
| # make sure `kernels` is installed: `pip install -U kernels` | |
| from kernels import get_kernel | |
| kernel_module = get_kernel("kernels-community/aiter-rope", version=3) | |
| RotateStyle = kernel_module.RotateStyle | |
| RotateStyle(...) | |
| ``` | |
| ## Available functions | |
| - `RotateStyle` | |
| - `apply_rotary_transformers` | |
| - `rope_cached_fwd` | |
| - `rope_cached_fwd_inplace` | |
| ## Available layers | |
| - `apply_rotary_transformers` | |
| ## Benchmarks | |
| No benchmark available yet. | |