Kernels:
Trusted publisher
File size: 891 Bytes
d9e0a29 7e1308c d9e0a29 | 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 38 39 | ---
library_name: kernels
license: apache-2.0
---
This is the repository card of kernels-community/finegrained-kernels 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/finegrained-kernels", version=0)
matmul_2d = kernel_module.matmul_2d
matmul_2d(...)
```
## Available functions
- `matmul_2d`
- `matmul_batched`
- `matmul_grouped`
- `moe_fused_batched`
- `moe_fused_grouped`
- `backward`
- `get_supported_act_fns`
- `get_supported_norms`
- `rms_norm_rows`
- `swizzle_mx_scales`
- `unswizzle_mx_scales`
- `mxfp8_act_quant`
- `mxfp4_act_quant`
- `nvfp4_act_quant`
## Benchmarks
No benchmark available yet.
|