Instructions to use kernels-community/rotary with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/rotary with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/rotary") - Notebooks
- Google Colab
- Kaggle
Uploaded using `kernel-builder`.
Browse files
README.md
CHANGED
|
@@ -11,7 +11,7 @@ This is the repository card of kernels-community/rotary that has been pushed on
|
|
| 11 |
# make sure `kernels` is installed: `pip install -U kernels`
|
| 12 |
from kernels import get_kernel
|
| 13 |
|
| 14 |
-
kernel_module = get_kernel("kernels-community/rotary")
|
| 15 |
apply_rotary = kernel_module.apply_rotary
|
| 16 |
|
| 17 |
apply_rotary(...)
|
|
@@ -23,4 +23,4 @@ apply_rotary(...)
|
|
| 23 |
|
| 24 |
## Benchmarks
|
| 25 |
|
| 26 |
-
Benchmarking script is available for this kernel. Run `kernels benchmark kernels-community/rotary`.
|
|
|
|
| 11 |
# make sure `kernels` is installed: `pip install -U kernels`
|
| 12 |
from kernels import get_kernel
|
| 13 |
|
| 14 |
+
kernel_module = get_kernel("kernels-community/rotary", version=)
|
| 15 |
apply_rotary = kernel_module.apply_rotary
|
| 16 |
|
| 17 |
apply_rotary(...)
|
|
|
|
| 23 |
|
| 24 |
## Benchmarks
|
| 25 |
|
| 26 |
+
Benchmarking script is available for this kernel. Run `kernels benchmark kernels-community/rotary --version `.
|