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
File size: 273 Bytes
a3eb31a | 1 2 3 4 5 6 7 8 9 10 | 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}"
|