bitsandbytesEasy Playground

8-bit optimizers and quantization for large model training

Getting started with bitsandbytesRun locally
Install
pip install bitsandbytes
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: bitsandbytes)

bitsandbytes is a third-party package. 8-bit optimizers and quantization for large model training. Install with: pip install bitsandbytes

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?