Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support 4bit on CPU backend #1206

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reduce memory usage
Xia-Weiwen committed May 11, 2024
commit dd15734709f131b4c1e3244ba28e632dbf5a3ed6
1 change: 1 addition & 0 deletions bitsandbytes/backends/cpu_xpu_common.py
Original file line number Diff line number Diff line change
@@ -377,6 +377,7 @@ def quantize_4bit_impl(
int(lowp_mode),
-1, # act_quant_mode. -1 means don't quant activation
)
return torch.Tensor(), state

return out, state