Bitsandbytes documentation

Other algorithms

You are viewing v0.43.3 version. A newer version v0.44.1 is available.
Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Other algorithms

WIP: Still incomplete… Community contributions would be greatly welcome!

This is an overview of the bnb.functional API in bitsandbytes that we think would also be useful as standalone entities.

Using Int8 Matrix Multiplication

For straight Int8 matrix multiplication with mixed precision decomposition you can use bnb.matmul(...). To enable mixed precision decomposition, use the threshold parameter:

bnb.matmul(..., threshold=6.0)
< > Update on GitHub