---
title: "bitsandbytes 0.50.0 Breaking Changes on PyPI | Since.dev"
description: "What each bitsandbytes release removed, renamed or changed: 102 breaking changes in 3 versions on PyPI, each with its source."
canonical_url: https://since.dev/packages/pypi/bitsandbytes
last_updated: 2026-12-04
---

# 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

Latest version `0.50.2`, released August 27, 2026. [Source repository](https://github.com/bitsandbytes-foundation/bitsandbytes)

Its 0.49.0 release drops [Python 3.9](https://since.dev/calendar/python/3.9.md). [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.48.0](#v-0-48-0) to [0.50.0](#v-0-50-0): 85 breaking changes in 2 versions.

## bitsandbytes 0.50.0 breaking changes

bitsandbytes 0.50.0, released July 24, 2026: 76 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](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.backends.default.ops.CODE`  

bitsandbytes.backends.default.ops.CODE was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.cextension.ErrorHandlerMockBNBNativeLibrary.override_value`  

ErrorHandlerMockBNBNativeLibrary.override_value was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.cextension.ErrorHandlerMockBNBNativeLibrary.user_cuda_version`  

ErrorHandlerMockBNBNativeLibrary.user_cuda_version was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.cextension.get_rocm_warpsize`  

bitsandbytes.cextension.get_rocm_warpsize was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.cextension.ROCM_WARP_SIZE_64`  

bitsandbytes.cextension.ROCM_WARP_SIZE_64 was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.cuda_specs.get_rocm_warpsize`  

bitsandbytes.cuda_specs.get_rocm_warpsize was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.diagnostics.main.BNB_BACKEND`  

bitsandbytes.diagnostics.main.BNB_BACKEND was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.coo_zeros`  

bitsandbytes.functional.coo_zeros was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.coo2csc`  

bitsandbytes.functional.coo2csc was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.coo2csr`  

bitsandbytes.functional.coo2csr was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.COOSparseTensor`  

bitsandbytes.functional.COOSparseTensor was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.CSCSparseTensor`  

bitsandbytes.functional.CSCSparseTensor was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.CSRSparseTensor`  

bitsandbytes.functional.CSRSparseTensor was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.Cusparse_Context`  

bitsandbytes.functional.Cusparse_Context was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.dequantize`  

bitsandbytes.functional.dequantize was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.dequantize_no_absmax`  

bitsandbytes.functional.dequantize_no_absmax was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.optimizer_update_8bit`  

Use optimizer_update_8bit_blockwise instead. [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.percentile_clipping`  

bitsandbytes.functional.percentile_clipping was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.quantize`  

bitsandbytes.functional.quantize was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.quantize_no_absmax`  

bitsandbytes.functional.quantize_no_absmax was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.spmm_coo`  

spmm_coo is removed along with the cusparse/hipsparse dependencies. [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.spmm_coo_very_sparse`  

spmm_coo_very_sparse is removed along with the cusparse/hipsparse dependencies. [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.functional.str2optimizer8bit`  

bitsandbytes.functional.str2optimizer8bit was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.MatmulLtState.CxB`  

bitsandbytes.MatmulLtState.CxB was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.MatmulLtState.CxBt`  

bitsandbytes.MatmulLtState.CxBt was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.MatmulLtState.formatB`  

MatmulLtState.formatB was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.MatmulLtState.tile_indices`  

MatmulLtState.tile_indices was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.nn.StandardLinear`  

bitsandbytes.nn.StandardLinear was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.nn.SwitchBackLinear`  

bitsandbytes.nn.SwitchBackLinear was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.nn.SwitchBackLinearBnb`  

bitsandbytes.nn.SwitchBackLinearBnb was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.nn.SwitchBackLinearGlobal`  

bitsandbytes.nn.SwitchBackLinearGlobal was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.nn.SwitchBackLinearVectorwise`  

bitsandbytes.nn.SwitchBackLinearVectorwise was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.nn.triton_based_modules`  

bitsandbytes.nn.triton_based_modules was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.research`  

The research module and its CUDA/HIP kernels are gone; code importing it will fail and must be rewritten. [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `bitsandbytes.triton`  

bitsandbytes.triton was removed in bitsandbytes 0.50.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.50.0/)
- **Removed** `block_wise=False`  

Optimizers created with block_wise=False are no longer available; use the blockwise optimizers. [github.com](https://github.com/bitsandbytes-foundation/bitsandbytes/releases/tag/0.50.0)
- **Configuration changed**  

The package now requires PyTorch 2.4 or later; users on older PyTorch must upgrade. [github.com](https://github.com/bitsandbytes-foundation/bitsandbytes/releases/tag/0.50.0)
- **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](https://pypi.org/project/bitsandbytes/0.50.0/)
- **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](https://pypi.org/project/bitsandbytes/0.50.0/)
- **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](https://pypi.org/project/bitsandbytes/0.50.0/)
- **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](https://pypi.org/project/bitsandbytes/0.50.0/)
- **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](https://pypi.org/project/bitsandbytes/0.50.0/)
- **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](https://pypi.org/project/bitsandbytes/0.50.0/)
- **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](https://pypi.org/project/bitsandbytes/0.50.0/)
- **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](https://pypi.org/project/bitsandbytes/0.50.0/)
- **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](https://pypi.org/project/bitsandbytes/0.50.0/)
- **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](https://pypi.org/project/bitsandbytes/0.50.0/)
- **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](https://pypi.org/project/bitsandbytes/0.50.0/)
- **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](https://pypi.org/project/bitsandbytes/0.50.0/)

And 26 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## bitsandbytes 0.49.0 breaking changes

bitsandbytes 0.49.0, released December 11, 2025: 9 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](https://github.com/bitsandbytes-foundation/bitsandbytes/releases/tag/0.49.0)
- **Removed** `bitsandbytes.autograd.get_inverse_transform_indices`  

bitsandbytes.autograd.get_inverse_transform_indices was removed in bitsandbytes 0.49.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.49.0/)
- **Removed** `bitsandbytes.autograd.undo_layout`  

bitsandbytes.autograd.undo_layout was removed in bitsandbytes 0.49.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.49.0/)
- **Removed** `bitsandbytes.backends.cuda.ops.HIP_ENVIRONMENT`  

bitsandbytes.backends.cuda.ops.HIP_ENVIRONMENT was removed in bitsandbytes 0.49.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.49.0/)
- **Removed** `bitsandbytes.functional.get_colrow_absmax`  

bitsandbytes.functional.get_colrow_absmax was removed in bitsandbytes 0.49.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.49.0/)
- **Removed** `bitsandbytes.functional.get_row_absmax`  

bitsandbytes.functional.get_row_absmax was removed in bitsandbytes 0.49.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.49.0/)
- **Removed** `bitsandbytes.functional.HIP_ENVIRONMENT`  

bitsandbytes.functional.HIP_ENVIRONMENT was removed in bitsandbytes 0.49.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.49.0/)
- **Removed** `bitsandbytes.nn.modules.HIP_ENVIRONMENT`  

bitsandbytes.nn.modules.HIP_ENVIRONMENT was removed in bitsandbytes 0.49.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.49.0/)
- **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](https://github.com/bitsandbytes-foundation/bitsandbytes/releases/tag/0.49.0)

## bitsandbytes 0.48.0 breaking changes

bitsandbytes 0.48.0, released September 30, 2025: 17 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](https://github.com/bitsandbytes-foundation/bitsandbytes/releases/tag/0.48.0)
- **Removed** `bitsandbytes.backends.cpu.ops.ipex_cpu`  

bitsandbytes.backends.cpu.ops.ipex_cpu was removed in bitsandbytes 0.48.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.48.0/)
- **Removed** `bitsandbytes.backends.utils.ipex_cpu`  

bitsandbytes.backends.utils.ipex_cpu was removed in bitsandbytes 0.48.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.48.0/)
- **Removed** `bitsandbytes.backends.utils.ipex_xpu`  

bitsandbytes.backends.utils.ipex_xpu was removed in bitsandbytes 0.48.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.48.0/)
- **Removed** `bitsandbytes.cextension.ipex_cpu`  

bitsandbytes.cextension.ipex_cpu was removed in bitsandbytes 0.48.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.48.0/)
- **Removed** `bitsandbytes.cextension.ipex_xpu`  

bitsandbytes.cextension.ipex_xpu was removed in bitsandbytes 0.48.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.48.0/)
- **Removed** `bitsandbytes.functional.ipex_cpu`  

bitsandbytes.functional.ipex_cpu was removed in bitsandbytes 0.48.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.48.0/)
- **Removed** `bitsandbytes.functional.ipex_xpu`  

bitsandbytes.functional.ipex_xpu was removed in bitsandbytes 0.48.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.48.0/)
- **Removed** `bitsandbytes.nn.Linear4bit.ipex_linear_is_set`  

Linear4bit.ipex_linear_is_set was removed in bitsandbytes 0.48.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.48.0/)
- **Removed** `bitsandbytes.nn.Linear4bit.set_ipex_linear`  

Linear4bit.set_ipex_linear was removed in bitsandbytes 0.48.0 [pypi.org](https://pypi.org/project/bitsandbytes/0.48.0/)

And 7 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#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.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
