You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, bnb only supports block size of 64 or above. It would be great if it can support block size of 32, like llama.cpp
Motivation
Better output quality after quantization.
Your contribution
It seems like this change will not be straight-forward, as each cuda wrap expect 32 threads and the current implementation will result in 1 element per-thread, which prevents the implementation from packing 2 4-bit quants into 8bit. I currently don't know how to solve this.
Activity
matthewdouglas commentedon Jan 22, 2025
Related: #1329
TimDettmers commentedon Feb 14, 2026
Closing as duplicate of #1329, which tracks this feature request (block size 32 support). PR #1854 has been merged.