Kernels:
Trusted publisher
| library_name: kernels | |
| license: apache-2.0 | |
| This is the repository card of kernels-community/finegrained-fp8 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-fp8", version=4) | |
| fp8_act_quant = kernel_module.fp8_act_quant | |
| fp8_act_quant(...) | |
| ``` | |
| ## Available functions | |
| - `fp8_act_quant` | |
| - `matmul_2d` | |
| - `matmul_batched` | |
| - `matmul_grouped` | |
| - `moe_fused_batched` | |
| - `moe_fused_grouped` | |
| ## Benchmarks | |
| No benchmark available yet. | |