Instructions to use kernels-community/quantization-bitsandbytes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use kernels-community/quantization-bitsandbytes with Kernels:
# !pip install kernels from kernels import get_kernel kernel = get_kernel("kernels-community/quantization-bitsandbytes") - Notebooks
- Google Colab
- Kaggle
| import torch | |
| from . import _quantization_bitsandbytes_cpu_817f262 | |
| ops = torch.ops._quantization_bitsandbytes_cpu_817f262 | |
| def add_op_namespace_prefix(op_name: str): | |
| """ | |
| Prefix op by namespace. | |
| """ | |
| return f"_quantization_bitsandbytes_cpu_817f262::{op_name}" | |