bitsandbytes breaking changes
bitsandbytes 0.50.0 (July 24, 2026) is its newest release with breaking changes, 76 of them. The first: Removed bitsandbytes.backends.cuda.ops.ROCM_WARP_SIZE_64. Every breaking API change we have recorded in bitsandbytes on PyPI: 102 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.
Updated December 4, 2026
On this page
Latest version 0.50.2, released August 27, 2026. Source repository
Its 0.49.0 release drops Python 3.9. Python end of life dates.
bitsandbytes 0.50.0 breaking changes
- Removed
bitsandbytes.backends.cuda.ops.ROCM_WARP_SIZE_64
bitsandbytes.backends.cuda.ops.ROCM_WARP_SIZE_64 was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.backends.default.ops.CODE
bitsandbytes.backends.default.ops.CODE was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.cextension.ErrorHandlerMockBNBNativeLibrary.override_value
ErrorHandlerMockBNBNativeLibrary.override_value was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.cextension.ErrorHandlerMockBNBNativeLibrary.user_cuda_version
ErrorHandlerMockBNBNativeLibrary.user_cuda_version was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.cextension.get_rocm_warpsize
bitsandbytes.cextension.get_rocm_warpsize was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.cextension.ROCM_WARP_SIZE_64
bitsandbytes.cextension.ROCM_WARP_SIZE_64 was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.cuda_specs.get_rocm_warpsize
bitsandbytes.cuda_specs.get_rocm_warpsize was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.diagnostics.main.BNB_BACKEND
bitsandbytes.diagnostics.main.BNB_BACKEND was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.coo_zeros
bitsandbytes.functional.coo_zeros was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.coo2csc
bitsandbytes.functional.coo2csc was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.coo2csr
bitsandbytes.functional.coo2csr was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.COOSparseTensor
bitsandbytes.functional.COOSparseTensor was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.CSCSparseTensor
bitsandbytes.functional.CSCSparseTensor was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.CSRSparseTensor
bitsandbytes.functional.CSRSparseTensor was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.Cusparse_Context
bitsandbytes.functional.Cusparse_Context was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.dequantize
bitsandbytes.functional.dequantize was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.dequantize_no_absmax
bitsandbytes.functional.dequantize_no_absmax was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.optimizer_update_8bit
Use optimizer_update_8bit_blockwise instead. pypi.org - Removed
bitsandbytes.functional.percentile_clipping
bitsandbytes.functional.percentile_clipping was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.quantize
bitsandbytes.functional.quantize was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.quantize_no_absmax
bitsandbytes.functional.quantize_no_absmax was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.functional.spmm_coo
spmm_coo is removed along with the cusparse/hipsparse dependencies. pypi.org - Removed
bitsandbytes.functional.spmm_coo_very_sparse
spmm_coo_very_sparse is removed along with the cusparse/hipsparse dependencies. pypi.org - Removed
bitsandbytes.functional.str2optimizer8bit
bitsandbytes.functional.str2optimizer8bit was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.MatmulLtState.CxB
bitsandbytes.MatmulLtState.CxB was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.MatmulLtState.CxBt
bitsandbytes.MatmulLtState.CxBt was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.MatmulLtState.formatB
MatmulLtState.formatB was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.MatmulLtState.tile_indices
MatmulLtState.tile_indices was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.nn.StandardLinear
bitsandbytes.nn.StandardLinear was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.nn.SwitchBackLinear
bitsandbytes.nn.SwitchBackLinear was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.nn.SwitchBackLinearBnb
bitsandbytes.nn.SwitchBackLinearBnb was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.nn.SwitchBackLinearGlobal
bitsandbytes.nn.SwitchBackLinearGlobal was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.nn.SwitchBackLinearVectorwise
bitsandbytes.nn.SwitchBackLinearVectorwise was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.nn.triton_based_modules
bitsandbytes.nn.triton_based_modules was removed in bitsandbytes 0.50.0 pypi.org - Removed
bitsandbytes.research
The research module and its CUDA/HIP kernels are gone; code importing it will fail and must be rewritten. pypi.org - Removed
bitsandbytes.triton
bitsandbytes.triton was removed in bitsandbytes 0.50.0 pypi.org - Removed
block_wise=False
Optimizers created with block_wise=False are no longer available; use the blockwise optimizers. github.com - Configuration changed
The package now requires PyTorch 2.4 or later; users on older PyTorch must upgrade. github.com - Signature changed
bitsandbytes.MatmulLtState.__init__
Was def __init__(self, _tile_indices: Optional[torch.Tensor] = None, force_no_igemmlt: bool = False, CB: Optional[torch.Tensor] = None, CxB: Optional[torch.Tensor] = None, SB: Optional[torch.Tensor] = None, SCB: Optional[torch.Tensor] =... pypi.org - Signature changed
bitsandbytes.nn.Int8Params.__new__
Was def __new__(cls, data: Optional[torch.Tensor] = None, requires_grad=True, has_fp16_weights=False, CB: Optional[torch.Tensor] = None, SCB: Optional[torch.Tensor] = None); now def __new__(cls, data: Optional[torch.Tensor] = None... pypi.org - Signature changed
bitsandbytes.nn.Params4bit.__new__
Was def __new__(cls, data: Optional[torch.Tensor] = None, requires_grad=False, quant_state: Optional[QuantState] = None, blocksize: Optional[int] = None, compress_statistics: bool = True, quant_type: str = 'fp4', quant_storage: torch.dtype... pypi.org - Signature changed
bitsandbytes.optim.Adagrad.__init__
Was def __init__(self, params, lr=0.01, lr_decay=0, weight_decay=0, initial_accumulator_value=0, eps=1e-10, optim_bits=32, args=None, min_8bit_size=4096, percentile_clipping=100, block_wise=True); now def __init__(self, params, lr=0.01... pypi.org - Signature changed
bitsandbytes.optim.adagrad.Optimizer1State.__init__
Was def __init__(self, optimizer_name, params, lr=0.001, betas=(0.9, 0.0), eps=1e-08, weight_decay=0.0, optim_bits=32, args=None, min_8bit_size=4096, percentile_clipping=100, block_wise=True, max_unorm=0.0, skip_zeros=False... pypi.org - Signature changed
bitsandbytes.optim.Adagrad32bit.__init__
Was def __init__(self, params, lr=0.01, lr_decay=0, weight_decay=0, initial_accumulator_value=0, eps=1e-10, optim_bits=32, args=None, min_8bit_size=4096, percentile_clipping=100, block_wise=True); now def __init__(self, params, lr=0.01... pypi.org - Signature changed
bitsandbytes.optim.Adagrad8bit.__init__
Was def __init__(self, params, lr=0.01, lr_decay=0, weight_decay=0, initial_accumulator_value=0, eps=1e-10, optim_bits=8, args=None, min_8bit_size=4096, percentile_clipping=100, block_wise=True); now def __init__(self, params, lr=0.01... pypi.org - Signature changed
bitsandbytes.optim.Adam.__init__
Was def __init__(self, params, lr=0.001, betas=(0.9, 0.999), eps=1e-08, weight_decay=0, amsgrad=False, optim_bits=32, args=None, min_8bit_size=4096, percentile_clipping=100, block_wise=True, is_paged=False); now def __init__(self, params... pypi.org - Signature changed
bitsandbytes.optim.adam.Optimizer2State.__init__
Was def __init__(self, optimizer_name, params, lr=0.001, betas=(0.9, 0.999), eps=1e-08, weight_decay=0.0, optim_bits=32, args=None, min_8bit_size=4096, percentile_clipping=100, block_wise=True, max_unorm=0.0, skip_zeros=False... pypi.org - Signature changed
bitsandbytes.optim.Adam32bit.__init__
Was def __init__(self, params, lr=0.001, betas=(0.9, 0.999), eps=1e-08, weight_decay=0, amsgrad=False, optim_bits=32, args=None, min_8bit_size=4096, percentile_clipping=100, block_wise=True, is_paged=False); now def __init__(self, params... pypi.org - Signature changed
bitsandbytes.optim.Adam8bit.__init__
Was def __init__(self, params, lr=0.001, betas=(0.9, 0.999), eps=1e-08, weight_decay=0, amsgrad=False, optim_bits=32, args=None, min_8bit_size=4096, percentile_clipping=100, block_wise=True, is_paged=False); now def __init__(self, params... pypi.org - Signature changed
bitsandbytes.optim.AdamW.__init__
Was def __init__(self, params, lr=0.001, betas=(0.9, 0.999), eps=1e-08, weight_decay=0.01, amsgrad=False, optim_bits=32, args=None, min_8bit_size=4096, percentile_clipping=100, block_wise=True, is_paged=False); now def __init__(self... pypi.org
And 26 more in this version. Sign up to see every change
bitsandbytes 0.49.0 breaking changes
- Removed
The CUDA backend no longer compiles for Maxwell GPUs; users on Maxwell hardware cannot use this release's CUDA build. github.com - Removed
bitsandbytes.autograd.get_inverse_transform_indices
bitsandbytes.autograd.get_inverse_transform_indices was removed in bitsandbytes 0.49.0 pypi.org - Removed
bitsandbytes.autograd.undo_layout
bitsandbytes.autograd.undo_layout was removed in bitsandbytes 0.49.0 pypi.org - Removed
bitsandbytes.backends.cuda.ops.HIP_ENVIRONMENT
bitsandbytes.backends.cuda.ops.HIP_ENVIRONMENT was removed in bitsandbytes 0.49.0 pypi.org - Removed
bitsandbytes.functional.get_colrow_absmax
bitsandbytes.functional.get_colrow_absmax was removed in bitsandbytes 0.49.0 pypi.org - Removed
bitsandbytes.functional.get_row_absmax
bitsandbytes.functional.get_row_absmax was removed in bitsandbytes 0.49.0 pypi.org - Removed
bitsandbytes.functional.HIP_ENVIRONMENT
bitsandbytes.functional.HIP_ENVIRONMENT was removed in bitsandbytes 0.49.0 pypi.org - Removed
bitsandbytes.nn.modules.HIP_ENVIRONMENT
bitsandbytes.nn.modules.HIP_ENVIRONMENT was removed in bitsandbytes 0.49.0 pypi.org - Behavior changed
Python 3.9 is no longer supported; users on Python 3.9 must upgrade Python to keep using this release line. github.com
bitsandbytes 0.48.0 breaking changes
- Removed
Maxwell GPUs are no longer supported by CUDA builds of the package. Users on Maxwell hardware must stay on an older release. github.com - Removed
bitsandbytes.backends.cpu.ops.ipex_cpu
bitsandbytes.backends.cpu.ops.ipex_cpu was removed in bitsandbytes 0.48.0 pypi.org - Removed
bitsandbytes.backends.utils.ipex_cpu
bitsandbytes.backends.utils.ipex_cpu was removed in bitsandbytes 0.48.0 pypi.org - Removed
bitsandbytes.backends.utils.ipex_xpu
bitsandbytes.backends.utils.ipex_xpu was removed in bitsandbytes 0.48.0 pypi.org - Removed
bitsandbytes.cextension.ipex_cpu
bitsandbytes.cextension.ipex_cpu was removed in bitsandbytes 0.48.0 pypi.org - Removed
bitsandbytes.cextension.ipex_xpu
bitsandbytes.cextension.ipex_xpu was removed in bitsandbytes 0.48.0 pypi.org - Removed
bitsandbytes.functional.ipex_cpu
bitsandbytes.functional.ipex_cpu was removed in bitsandbytes 0.48.0 pypi.org - Removed
bitsandbytes.functional.ipex_xpu
bitsandbytes.functional.ipex_xpu was removed in bitsandbytes 0.48.0 pypi.org - Removed
bitsandbytes.nn.Linear4bit.ipex_linear_is_set
Linear4bit.ipex_linear_is_set was removed in bitsandbytes 0.48.0 pypi.org - Removed
bitsandbytes.nn.Linear4bit.set_ipex_linear
Linear4bit.set_ipex_linear was removed in bitsandbytes 0.48.0 pypi.org
And 7 more in this version. Sign up to see every change
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The API reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

Put your code on continuous maintenance.
Scan a public repository now, or give your agent one line.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.