Kernels:
Trusted publisher
Uploaded using `kernel-builder`.
Browse files
README.md
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
library_name: kernels
|
| 3 |
+
license: mit
|
| 4 |
+
---
|
| 5 |
+
|
| 6 |
+
This is the repository card of kernels-community/fla 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.
|
| 7 |
+
|
| 8 |
+
## How to use
|
| 9 |
+
|
| 10 |
+
```python
|
| 11 |
+
# make sure `kernels` is installed: `pip install -U kernels`
|
| 12 |
+
from kernels import get_kernel
|
| 13 |
+
|
| 14 |
+
kernel_module = get_kernel("kernels-community/fla", version=1)
|
| 15 |
+
chunk_kda = kernel_module.chunk_kda
|
| 16 |
+
|
| 17 |
+
chunk_kda(...)
|
| 18 |
+
```
|
| 19 |
+
|
| 20 |
+
## Available functions
|
| 21 |
+
- `chunk_kda`
|
| 22 |
+
- `fused_recurrent_kda`
|
| 23 |
+
- `chunk_gated_delta_rule`
|
| 24 |
+
- `fused_recurrent_gated_delta_rule`
|
| 25 |
+
|
| 26 |
+
## Available layers
|
| 27 |
+
- `FusedRMSNormGated`
|
| 28 |
+
- `chunk_kimi_delta_attention`
|
| 29 |
+
- `recurrent_kimi_delta_attention`
|
| 30 |
+
- `chunk_gated_delta_rule`
|
| 31 |
+
- `recurrent_gated_delta_rule`
|
| 32 |
+
|
| 33 |
+
## Benchmarks
|
| 34 |
+
|
| 35 |
+
No benchmark available yet.
|