Skip to content

Releases: jax-ml/ml_dtypes

v0.5.2 release

07 Jan 02:25
Compare
Choose a tag to compare

This is a minor change over v0.5.1. This release reverts the addition of Power wheels, which caused problems with our wheel release process.

Due to an oversight during the release process, the wheels from this release report themselves as v0.5.1. The only difference between the two is the lack of Power wheels.

v0.5.1 release

06 Jan 17:59
Compare
Choose a tag to compare
  • Fixed sign bit handling for float4 and float6 types.
  • Wheels now support Python 3.13 free-threading.
  • Wheels now support the Power architecture.

v0.5.0 release

13 Sep 19:14
Compare
Choose a tag to compare
  • Added new 8-bit float types following IEEE 754 convention:
    ml_dtypes.float8_e4m3, ml_dtypes.float8_e3m4
  • Added the 8-bit floating point type ml_dtypes.float8_e8m0fnu, which is the
    OpenCompute MX scale format.
  • Added new 4-bit and 6-bit float types:
    ml_dtypes.float4_e2m1fn, ml_dtypes.float6_e2m3fn and ml_dtypes.float6_e3m2fn.
  • Fix outputs of float divmod and floor_divide when denominator is zero.

v0.4.1 release

13 Sep 18:36
Compare
Choose a tag to compare
  • Updates build requirements to use NumPy 2.0 release

v0.4.0 release

01 Apr 15:41
Compare
Choose a tag to compare
  • Updates ml_dtypes for compatibility with the upcoming NumPy 2.0 release.
  • Wheels are built against NumPy 2.0.0rc1.

v0.4.0b1 pre-release

12 Mar 19:54
Compare
Choose a tag to compare
v0.4.0b1 pre-release Pre-release
Pre-release
  • Updates ml_dtypes for compatibility with future NumPy 2.0 release.
  • Wheels for the release candidate are built against NumPy 2.0.0b1.

Version 0.3.2 release

03 Jan 18:51
Compare
Choose a tag to compare
  • Fixed spurious invalid value warnings when casting between floating point
    types on Mac ARM.
  • Remove pybind11 build requirement
  • Update C++ sources for compatibility with NumPy 2.0

v0.3.1 release

22 Sep 18:39
Compare
Choose a tag to compare
  • Added support for int4 casting to wider integers such as int8
  • Added support to cast np.float32 and np.float64 into int4

Version 0.3.0 Release

19 Sep 22:47
Compare
Choose a tag to compare
  • Dropped support for Python 3.8, following NEP 29.
  • Added support for Python 3.12.
  • Removed deprecated name ml_dtypes.float8_e4m3b11; use ml_dtypes.float8_e4m3b11fnuz instead.

v0.2.0 Release

06 Jun 14:42
Compare
Choose a tag to compare

Version 0.2.0 release

New features:

  • added new 4-bit integer types: ml_dtypes.int4 and ml_dtypes.uint4

Deprecations:

  • ml_dtypes.float8_e4m3b11 has been renamed to ml_dtypes.float8_e4m3b11fnuz for more
    consistency with other dtype names. The former name will still be available until
    version 0.3.0, but will raise a deprecation warning.