replicate/bitsandbytes-mps
030
1---2library_name: kernels3license: mit4---5 6> [!CAUTION]7> Starting from September 13, 2026, we will be removing the "model" type repositories of kernels (e.g., kernels-community/flash-attn3). Make sure you're using a latest version of kernels. If you face any disruption, please report them here: https://github.com/huggingface/kernels/issues/new.8 9This is the repository card of kernels-community/bitsandbytes-mps 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.10 11## How to use12 13```python14# make sure `kernels` is installed: `pip install -U kernels`15from kernels import get_kernel16 17kernel_module = get_kernel("kernels-community/bitsandbytes-mps")18quantize_4bit = kernel_module.quantize_4bit19 20quantize_4bit(...)21```22 23## Available functions24- `quantize_4bit`25- `dequantize_4bit`26- `gemv_4bit`27- `gemm_4bit`28- `linear_4bit`29 30## Benchmarks31 32No benchmark available yet.33 