File size: 769 Bytes
4bcebef | 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 | ---
library_name: kernels
license: mit
---
This is the repository card of kernels-community/mlx-quantization-metal-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/mlx-quantization-metal-kernels")
mxfp4_qmm_n = kernel_module.mxfp4_qmm_n
mxfp4_qmm_n(...)
```
## Available functions
- `mxfp4_qmm_n`
- `mxfp4_qmv`
- `affine_qmv`
- `affine_qmm_t`
- `affine_qmm_n`
- `affine_qmm_t_nax`
- `affine_qmm_n_nax`
- `affine_gather_qmm_rhs_nax`
## Benchmarks
No benchmark available yet.
|