0.5.0 - 2024-09-13
- 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
andml_dtypes.float6_e3m2fn
. - Fix outputs of float
divmod
andfloor_divide
when denominator is zero.
0.4.1 - 2024-09-13
- Updates build requirements to use NumPy 2.0 release
0.4.0 - 2024-04-1
- Updates
ml_dtypes
for compatibility with future NumPy 2.0 release. - Wheels are built against NumPy 2.0.0rc1.
0.4.0b1 - 2024-03-12
- Updates
ml_dtypes
for compatibility with future NumPy 2.0 release. - Wheels for the release candidate are built against NumPy 2.0.0b1.
0.3.2 - 2024-01-03
- 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
0.3.1 - 2023-09-22
- Added support for int4 casting to wider integers such as int8
- Addes support to cast np.float32 and np.float64 into int4
0.3.0 - 2023-09-19
- Dropped support for Python 3.8, following NEP 29.
- Added support for Python 3.12.
- Removed deprecated name
ml_dtypes.float8_e4m3b11
; useml_dtypes.float8_e4m3b11fnuz
instead.
0.2.0 - 2023-06-06
-
New features:
- added new 4-bit integer types:
ml_dtypes.int4
andml_dtypes.uint4
- added new 4-bit integer types:
-
Deprecations:
ml_dtypes.float8_e4m3b11
has been renamed toml_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.
0.1.0 - 2023-04-11
- Initial release