github jax-ml/ml_dtypes v0.6.0

4 hours ago
  • Added new 16-bit complex types: ml_dtypes.complex32 (based on float16) and
    ml_dtypes.bcomplex32 (based on bfloat16) (#351).
  • Added new 1-bit integer types: ml_dtypes.int1 and ml_dtypes.uint1.
  • Added __format__ method to custom float, complex, and integer types
    (#341). Previously,
    formatting custom scalars (e.g. in f-strings) fell back to string formatting,
    which could truncate exponents or fail on numeric format specifiers.
  • ml_dtypes.finfo and ml_dtypes.iinfo now allow passing an array object to
    their constructor (#350).
  • Fixed equality comparison (==, !=) when comparing custom dtypes against
    incompatible types like strings or None.
  • Dropped support for Python 3.9, which reached end-of-life in October 2025.
  • Dropped support for Python 3.13 free-threading, because cibuildwheel dropped support.
  • Dropped support for NumPy < 2.0.
  • Added support for Python 3.15.
  • Switched build system to scikit-build-core and CMake (#361).
  • Updated Eigen dependency to v5.0.1.

Don't miss a new ml_dtypes release

NewReleases is sending notifications on new releases.