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

# mlx breaking changes

mlx 0.32.5 (November 25, 2026) is its newest release with breaking changes, 40 of them. The first: Behavior changed broadcast_arrays. Every breaking API change we have recorded in mlx on PyPI: 308 breaking changes in 14 versions. Below, its 14 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.32.5`, released November 25, 2026. [Source repository](https://github.com/ml-explore/mlx)

Packages on PyPI run on Python. [Python end of life dates](https://since.dev/calendar/python.md).

- From [0.30.0](#v-0-30-0) to [0.32.5](#v-0-32-5): 306 breaking changes in 13 versions.

## mlx 0.32.5 breaking changes

mlx 0.32.5, released November 25, 2026: 40 breaking changes.

- **Behavior changed** `broadcast_arrays`  

Code that expects a list from broadcast_arrays must now handle a tuple. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.5)
- **Configuration changed** `gated_delta_update`  

Users who set MLX_ENABLE_TF32 will see gated_delta_update follow that setting. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.5)
- **Signature changed** `mlx.core.add`  

Was def add(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def add(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.array_equal`  

Was def array_equal(a: scalar | array, b: scalar | array, equal_nan: bool = False, stream: StreamOrDevice = None) -> array; now def array_equal(a: scalar | array, b: scalar | array, \*, equal_nan: bool = False, stream: StreamOrDevice =... [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.astype`  

Was def astype(a: array, dtype: Dtype, /, \*, stream: StreamOrDevice = None) -> array; now def astype(a: array, /, dtype: Dtype, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.bitwise_and`  

Was def bitwise_and(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def bitwise_and(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.bitwise_invert`  

Was def bitwise_invert(a: scalar | array, stream: StreamOrDevice = None) -> array; now def bitwise_invert(a: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.bitwise_or`  

Was def bitwise_or(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def bitwise_or(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.bitwise_xor`  

Was def bitwise_xor(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def bitwise_xor(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.count_nonzero`  

Was def count_nonzero(a: array, /, \*, axis: None | int | Sequence\[int\] = None, keepdims: bool = False, stream: StreamOrDevice = None) -> array; now def count_nonzero(a: array, /, axis: None | int | Sequence\[int\] = None, \*, keepdims: bool =... [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.divide`  

Was def divide(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def divide(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.divmod`  

Was def divmod(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def divmod(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.equal`  

Was def equal(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def equal(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.fast.scaled_dot_product_attention`  

Was def scaled_dot_product_attention(q: array, k: array, v: array, \*, scale: float, mask: None | str | array = None, sinks: array | None = None, force_fused: bool = False, stream: StreamOrDevice = None) -> array; now def... [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.floor_divide`  

Was def floor_divide(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def floor_divide(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.greater`  

Was def greater(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def greater(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.greater_equal`  

Was def greater_equal(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def greater_equal(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.hadamard_transform`  

Was def hadamard_transform(a: array, scale: float | None = None, stream: StreamOrDevice = None) -> array; now def hadamard_transform(a: array, scale: float | None = None, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.isfinite`  

Was def isfinite(a: array, stream: StreamOrDevice = None) -> array; now def isfinite(a: array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.isinf`  

Was def isinf(a: array, stream: StreamOrDevice = None) -> array; now def isinf(a: array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.isnan`  

Was def isnan(a: array, stream: StreamOrDevice = None) -> array; now def isnan(a: array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.isneginf`  

Was def isneginf(a: array, stream: StreamOrDevice = None) -> array; now def isneginf(a: array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.isposinf`  

Was def isposinf(a: array, stream: StreamOrDevice = None) -> array; now def isposinf(a: array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.left_shift`  

Was def left_shift(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def left_shift(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.less`  

Was def less(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def less(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.less_equal`  

Was def less_equal(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def less_equal(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.multiply`  

Was def multiply(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def multiply(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.not_equal`  

Was def not_equal(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def not_equal(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.remainder`  

Was def remainder(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def remainder(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.right_shift`  

Was def right_shift(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def right_shift(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.roll`  

Was def roll(a: array, shift: int | tuple\[int\], axis: None | int | tuple\[int\] = None, /, \*, stream: StreamOrDevice = None) -> array; now def roll(a: array, /, shift: int | tuple\[int\], axis: None | int | tuple\[int\] = None, \*, stream... [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.round`  

Was def round(a: array, /, decimals: int = 0, stream: StreamOrDevice = None) -> array; now def round(a: array, /, decimals: int = 0, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.save_gguf`  

Was def save_gguf(file: file | str | pathlib.Path, arrays: dict\[str, array\], metadata: dict\[str, array | str | list\[str\]\]); now def save_gguf(file: file | str | pathlib.Path, arrays: dict\[str, array\], metadata: dict\[str, array | str |... [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.std`  

Was def std(a: array, /, axis: None | int | Sequence\[int\] = None, keepdims: bool = False, ddof: int = 0, \*, stream: StreamOrDevice = None) -> array; now def std(a: array, /, axis: None | int | Sequence\[int\] = None, keepdims: bool = False... [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.subtract`  

Was def subtract(a: scalar | array, b: scalar | array, stream: StreamOrDevice = None) -> array; now def subtract(a: scalar | array, b: scalar | array, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.var`  

Was def var(a: array, /, axis: None | int | Sequence\[int\] = None, keepdims: bool = False, ddof: int = 0, \*, stream: StreamOrDevice = None) -> array; now def var(a: array, /, axis: None | int | Sequence\[int\] = None, keepdims: bool = False... [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.vecdot`  

Was def vecdot(a: array, b: array, /, \*, axis: int = -1, stream: StreamOrDevice = None) -> array; now def vecdot(a: array, b: array, /, axis: int = -1, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.core.view`  

Was def view(a: scalar | array, dtype: Dtype, stream: StreamOrDevice = None) -> array; now def view(a: scalar | array, dtype: Dtype, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.nn.layers.positional_encoding.RoPE.__init__`  

Was def \_\_init\_\_(self, dims: int, traditional: bool = False, base: float = 10000, scale: float = 1.0); now def \_\_init\_\_(self, dims: int, traditional: bool = False, base: float = 10000, scale: float = 1.0, freqs: Optional\[mx.array\] = None... [pypi.org](https://pypi.org/project/mlx/0.32.5/)
- **Signature changed** `mlx.nn.RoPE.__init__`  

Was def \_\_init\_\_(self, dims: int, traditional: bool = False, base: float = 10000, scale: float = 1.0); now def \_\_init\_\_(self, dims: int, traditional: bool = False, base: float = 10000, scale: float = 1.0, freqs: Optional\[mx.array\] = None... [pypi.org](https://pypi.org/project/mlx/0.32.5/)

## mlx 0.32.4 breaking changes

mlx 0.32.4, released October 14, 2026: 4 breaking changes.

- **Behavior changed** `mx.array`  

Passing a non-aligned pointer when creating an mx.array now raises an error instead of being accepted. Code that relied on unaligned buffers must copy the data into aligned memory first. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.4)
- **Signature changed** `mlx.core.arctan2`  

Was def arctan2(a: array, b: array, /, \*, stream: StreamOrDevice = None) -> array; now def arctan2(a: scalar | array, b: scalar | array, /, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.4/)
- **Signature changed** `mlx.core.degrees`  

Was def degrees(a: array, /, \*, stream: StreamOrDevice = None) -> array; now def degrees(a: scalar | array, /, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.4/)
- **Signature changed** `mlx.core.radians`  

Was def radians(a: array, /, \*, stream: StreamOrDevice = None) -> array; now def radians(a: scalar | array, /, \*, stream: StreamOrDevice = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.4/)

## mlx 0.32.3 breaking changes

mlx 0.32.3, released September 29, 2026: 21 breaking changes.

- **Behavior changed** `unstack`  

unstack now returns a tuple rather than a list. Code that relies on list-specific behavior must convert the result or adjust. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.3)
- **Signature changed** `mlx.core.array.__getitem__`  

Was def \_\_getitem\_\_(self, arg: object | None) -> array; now def \_\_getitem\_\_(self, arg: object | None, /) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.3/)
- **Signature changed** `mlx.core.array.__setitem__`  

Was def \_\_setitem\_\_(self, arg0: object | None, arg1: bool | int | float | array | Annotated\[NDArray, dict(writable=False)\] | complex | ArrayLike) -> None; now def \_\_setitem\_\_(self, arg0: object | None, arg1: bool | int | float | array |... [pypi.org](https://pypi.org/project/mlx/0.32.3/)
- **Signature changed** `mlx.core.array.std`  

Was def std(self, axis: int | Sequence\[int\] | None = None, keepdims: bool = False, ddof: int = 0, \*, stream: Stream | ThreadLocalStream | Device | DeviceType | None = None) -> array; now def std(self, axis: int | Sequence\[int\] | None =... [pypi.org](https://pypi.org/project/mlx/0.32.3/)
- **Signature changed** `mlx.core.array.var`  

Was def var(self, axis: int | Sequence\[int\] | None = None, keepdims: bool = False, ddof: int = 0, \*, stream: Stream | ThreadLocalStream | Device | DeviceType | None = None) -> array; now def var(self, axis: int | Sequence\[int\] | None =... [pypi.org](https://pypi.org/project/mlx/0.32.3/)
- **Signature changed** `mlx.core.distributed.array.__getitem__`  

Was def \_\_getitem\_\_(self, arg: object | None) -> array; now def \_\_getitem\_\_(self, arg: object | None, /) -> array. [pypi.org](https://pypi.org/project/mlx/0.32.3/)
- **Signature changed** `mlx.core.distributed.array.__setitem__`  

Was def \_\_setitem\_\_(self, arg0: object | None, arg1: bool | int | float | array | Annotated\[NDArray, dict(writable=False)\] | complex | ArrayLike) -> None; now def \_\_setitem\_\_(self, arg0: object | None, arg1: bool | int | float | array |... [pypi.org](https://pypi.org/project/mlx/0.32.3/)
- **Signature changed** `mlx.core.distributed.array.std`  

Was def std(self, axis: int | Sequence\[int\] | None = None, keepdims: bool = False, ddof: int = 0, \*, stream: Stream | ThreadLocalStream | Device | DeviceType | None = None) -> array; now def std(self, axis: int | Sequence\[int\] | None =... [pypi.org](https://pypi.org/project/mlx/0.32.3/)
- **Signature changed** `mlx.core.distributed.array.var`  

Was def var(self, axis: int | Sequence\[int\] | None = None, keepdims: bool = False, ddof: int = 0, \*, stream: Stream | ThreadLocalStream | Device | DeviceType | None = None) -> array; now def var(self, axis: int | Sequence\[int\] | None =... [pypi.org](https://pypi.org/project/mlx/0.32.3/)
- **Signature changed** `mlx.core.gather_mm`  

Was def gather_mm(a: array, b: array, /, lhs_indices: array, rhs_indices: array, \*, sorted_indices: bool = False, stream: StreamOrDevice = None) -> array; now def gather_mm(a: array, b: array, /, lhs_indices: array | None = None... [pypi.org](https://pypi.org/project/mlx/0.32.3/)

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

## mlx 0.32.2 breaking changes

mlx 0.32.2, released August 25, 2026: 12 breaking changes.

- **Behavior changed**  

Subnormal float values are preserved when cast to bool, so they become True instead of False. Code relying on the old result must be updated. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.2)
- **Behavior changed**  

Normalization layers now raise an error when eps is negative. Code passing a negative eps must use a non-negative value. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.2)
- **Behavior changed**  

Invalid optimizer betas now raise an error when the optimizer is constructed. Code passing invalid betas must fix them. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.2)
- **Behavior changed**  

mxfp8 block scales are now rounded up to avoid saturation, so quantized outputs can differ from earlier versions. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.2)
- **Behavior changed** `Adam`  

Adam now raises an error at construction when eps is invalid. Code passing an invalid eps must fix its value. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.2)
- **Behavior changed** `synchronize`  

Errors from the CPU stream are now raised when synchronize is called, where they were previously not raised. Code calling synchronize may now see exceptions. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.2)
- **Signature changed** `DLPackCompatible`  

DLPackCompatible protocol members are declared as methods rather than settable attributes. Code that assigns to them must be changed. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.2)
- **Signature changed** `mlx.core.DLPackCompatible.__dlpack__`  

Was \_\_dlpack\_\_: Callable\[..., Any\]; now def \_\_dlpack\_\_(self, \*args: Any, \*\*kwargs: Any) -> Any. [pypi.org](https://pypi.org/project/mlx/0.32.2/)
- **Signature changed** `mlx.core.DLPackCompatible.__dlpack_device__`  

Was \_\_dlpack_device\_\_: Callable\[..., Any\]; now def \_\_dlpack_device\_\_(self, \*args: Any, \*\*kwargs: Any) -> Any. [pypi.org](https://pypi.org/project/mlx/0.32.2/)
- **Signature changed** `mlx.core.fast.scaled_dot_product_attention`  

Was def scaled_dot_product_attention(q: array, k: array, v: array, \*, scale: float, mask: None | str | array = None, sinks: array | None = None, stream: StreamOrDevice = None) -> array; now def scaled_dot_product_attention(q: array, k... [pypi.org](https://pypi.org/project/mlx/0.32.2/)

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

## mlx 0.32.1 breaking changes

mlx 0.32.1, released August 18, 2026: 15 breaking changes.

- **Behavior changed** `arctan2`  

Complex inputs to these functions now raise an error instead of being computed. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.1)
- **Behavior changed** `broadcast_to`  

Negative dimensions in shapes passed to broadcast_to and the random functions now raise an error. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.1)
- **Behavior changed** `clip_grad_norm`  

Passing a negative max_norm now raises an error, so callers must pass a non-negative value. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.1)
- **Behavior changed** `erf`  

Complex inputs to erf and erfinv now raise an error, so callers passing complex values must convert them first. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.1)
- **Behavior changed** `erfinv`  

Complex inputs to erf and erfinv now raise an error, so callers passing complex values must convert them first. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.1)
- **Behavior changed** `expm1`  

Complex inputs to these functions now raise an error instead of being computed. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.1)
- **Behavior changed** `meshgrid`  

Code that relies on the return value being a list must convert or index it as a tuple. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.1)
- **Behavior changed** `remainder`  

Complex inputs to remainder now raise an error, so callers must pass real values. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.1)
- **Behavior changed** `sigmoid`  

Complex inputs to these functions now raise an error instead of being computed. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.1)
- **Configuration changed**  

Projects that build against MLX through CMake must compile with C++20. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.1)

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

## mlx 0.32.0 breaking changes

mlx 0.32.0, released July 7, 2026: 9 breaking changes.

- **Behavior changed** `arange`  

Calling arange with step == 0 now raises instead of having undefined behavior. Code that passed step 0 must be changed. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.0)
- **Behavior changed** `mlx launch`  

mlx launch no longer adds python automatically in front of the command. Scripts relying on that must include python explicitly. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.0)
- **Behavior changed** `nn.GroupNorm`  

GroupNorm now rejects invalid inputs that were previously accepted, so calls with bad arguments will fail. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.0)
- **Behavior changed** `nn.InstanceNorm`  

InstanceNorm now rejects invalid inputs that were previously accepted, so calls with bad arguments will fail. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.0)
- **Behavior changed** `step`  

The step activation now treats the threshold value differently, so outputs at the threshold change. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.0)
- **Default changed**  

The Metal backend is now on by default on iOS builds, which changes the default device behavior there. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.0)
- **Configuration changed**  

Building with NAX support now requires setting the macOS deployment target to 26.2 in the build environment. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.32.0)
- **Signature changed** `mlx.nn.HardShrink.__call__`  

Was \_\_call\_\_: Callable; now def \_\_call\_\_(self, x). [pypi.org](https://pypi.org/project/mlx/0.32.0/)
- **Signature changed** `mlx.nn.HardShrink.__init__`  

Was def \_\_init\_\_(self); now def \_\_init\_\_(self, lambd=0.5). [pypi.org](https://pypi.org/project/mlx/0.32.0/)

## Older versions

8 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### mlx 0.31.2 breaking changes

mlx 0.31.2, released April 22, 2026: 108 breaking changes.

- **Behavior changed**  

Code that relied on a single default stream shared across threads may now see different stream behavior; review any multi-threaded code that uses the default stream. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.31.2)
- **Signature changed** `mlx.core.array.abs`  

Was def abs(self, \*, stream: Stream | Device | None = None) -> array; now def abs(self, \*, stream: Stream | ThreadLocalStream | Device | None = None) -> array. [pypi.org](https://pypi.org/project/mlx/0.31.2/)

And 106 more in this version.

### mlx 0.31.1 breaking changes

mlx 0.31.1, released March 12, 2026: 3 breaking changes.

- **Removed**  

The release removes the custom fp4/fp8 classes. Code that imports or constructs them must be updated; the release notes name no replacement. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.31.1)
- **Signature changed** `mlx.nn.average_gradients`  

Was def average_gradients(gradients: Any, group: Optional\[mx.distributed.Group\] = None, all_reduce_size: int = 32 \* 1024 \*\* 2, communication_type: Optional\[mx.Dtype\] = None, communication_stream: Optional\[mx.Stream\] = None); now def... [pypi.org](https://pypi.org/project/mlx/0.31.1/)

And 1 more in this version.

### mlx 0.31.0 breaking changes

mlx 0.31.0, released February 27, 2026: 16 breaking changes.

- **Behavior changed**  

Enable passing GPU architecture string via env var in mlx 0.31.0 [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.31.0)
- **Behavior changed** `mx.conv3d`  

conv3d gains a new implicit matmul pathway on Metal; results should be unchanged but execution path differs. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.31.0)

And 14 more in this version.

### mlx 0.30.5 breaking changes

mlx 0.30.5, released February 3, 2026: 5 breaking changes.

- **Behavior changed**  

Causal mask alignment was changed to lower-right everywhere, so attention results may differ from earlier versions for inputs where query and key lengths differ. Check code that relies on the previous alignment. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.30.5)
- **Signature changed** `mlx.nn.ALiBi.create_alibi_matrix`  

Was @classmethod def create_alibi_matrix(cls, q_sequence_length: int, k_sequence_length: int, num_heads: int, offset: int, dtype=mx.float32); now @staticmethod def create_alibi_matrix(q_sequence_length: int, k_sequence_length: int... [pypi.org](https://pypi.org/project/mlx/0.30.5/)

And 3 more in this version.

### mlx 0.30.4 breaking changes

mlx 0.30.4, released January 27, 2026: 5 breaking changes.

- **Signature changed** `mlx.core.checkpoint`  

Was def checkpoint(fun: Callable) -> Callable; now def checkpoint(fun: Callable\[P, R\]) -> Callable\[P, R\]. [pypi.org](https://pypi.org/project/mlx/0.30.4/)
- **Signature changed** `mlx.core.compile`  

Was def compile(fun: Callable, inputs: Optional\[object\] = None, outputs: Optional\[object\] = None, shapeless: bool = False) -> Callable; now def compile(fun: Callable\[P, R\], inputs: Optional\[object\] = None, outputs: Optional\[object\] = None... [pypi.org](https://pypi.org/project/mlx/0.30.4/)

And 3 more in this version.

### mlx 0.30.3 breaking changes

mlx 0.30.3, released January 14, 2026: 16 breaking changes.

- **Renamed** `MLX_IBV_COORDINATOR`  

Set MLX_JACCL_COORDINATOR instead of MLX_IBV_COORDINATOR for distributed coordination. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.30.3)
- **Behavior changed**  

Loading safetensors no longer converts fp8 values automatically; convert them explicitly if your code relies on that. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.30.3)

And 14 more in this version.

### mlx 0.30.1 breaking changes

mlx 0.30.1, released December 18, 2025: 52 breaking changes.

- **Removed**  

The minimum supported Python version is raised, so older Python versions are no longer supported. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.30.1)
- **Behavior changed**  

Layer norm throws when input dimensions do not match, so code that passed mismatched dimensions will now fail. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.30.1)

And 50 more in this version.

### mlx 0.30.0 breaking changes

mlx 0.30.0, released November 20, 2025: 2 breaking changes.

- **Behavior changed**  

Sorting on the CPU and Metal backends now behaves differently to match NumPy and JAX. Check code that depends on the previous sort order. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.30.0)
- **Signature changed** `mx.dequantize`  

The Python signature of dequantize was changed, including the default for dtype. Check calls that rely on the default dtype. [github.com](https://github.com/ml-explore/mlx/releases/tag/v0.30.0)

## Related packages

- [mlx-lm](https://since.dev/packages/pypi/mlx-lm.md)

## 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.
