Instructions to use replicate/quantization-bitsandbytes with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Kernels
How to use replicate/quantization-bitsandbytes with Kernels:
# !pip install kernels from kernels import get_kernel # a version (or an explicit revision) is required; see the "Files and versions" tab for the available ones kernel = get_kernel("replicate/quantization-bitsandbytes", version=1) - Notebooks
- Google Colab
- Kaggle
Download build/torch211-cxx11-cpu-x86_64-linux/metadata.json from replicate/quantization-bitsandbytes: direct link, hf CLI and curl.
- Browser
- Download file 659 Bytes
-
https://huggingface.co/replicate/quantization-bitsandbytes/resolve/main/build/torch211-cxx11-cpu-x86_64-linux/metadata.json
- Command line
-
hf download hf://replicate/quantization-bitsandbytes/build/torch211-cxx11-cpu-x86_64-linux/metadata.json
-
curl -L -o metadata.json https://huggingface.co/replicate/quantization-bitsandbytes/resolve/main/build/torch211-cxx11-cpu-x86_64-linux/metadata.json
659 Bytes
| { | |
| "name": "quantization-bitsandbytes", | |
| "id": "_quantization_bitsandbytes_cpu_dbc4d19", | |
| "version": 1, | |
| "license": "MIT", | |
| "python-depends": [], | |
| "backend": { | |
| "type": "cpu" | |
| }, | |
| "digest": { | |
| "algorithm": "sha256", | |
| "files": { | |
| "__init__.py": "DHh2jHOQbnCQZ2/xlb0KLQVbr26rS1ZK1IyWX6qFx68=", | |
| "_ops.py": "g8zaMXzcuB6fs1HUMDoMatGtJM79wxRBLQIRp5FUurU=", | |
| "_quantization_bitsandbytes_cpu_dbc4d19.abi3.so": "iL/HvFIUYZcuOUXOmLhXod6XTHiPQAQUfwnCFrTHQmM=", | |
| "custom_ops.py": "GYQQ7x1K1mY9zqtWX0vJW5FpDwxtAxP2LuJAw1bDp4M=", | |
| "quantization_bitsandbytes/__init__.py": "DFYPlrhXwYjEqCl/8n0SmWGZV8NFml5DPhMjKfv98GY=" | |
| } | |
| } | |
| } |