CMD + K

ml_dtypes

Community

A stand-alone implementation of several NumPy dtype extensions used in machine learning libraries

Installation

To install this package, run one of the following:

Conda
$conda install anaconda::ml_dtypes

Usage Tracking

0.5.4
0.5.1
0.5.0
0.4.1
0.4.0
5 / 8 versions selected
Downloads (Last 6 months): 0

Description

mldtypes is a stand-alone implementation of several NumPy dtype extensions used in machine learning libraries, including: bfloat16: an alternative to the standard float16 format float8*: several experimental 8-bit floating point representations including: float8e4m3b11fnuz, float8e4m3fn, float8e4m3fnuz, float8e5m2, float8_e5m2fnuz int4 and uint4: low precision integer types.

About

Summary

A stand-alone implementation of several NumPy dtype extensions used in machine learning libraries

Last Updated

Nov 19, 2025 at 15:50

License

Apache-2.0

Supported Platforms

linux-aarch64
macOS-arm64
linux-64
win-64

Unsupported Platforms

linux-ppc64le Last supported version: 0.2.0
linux-s390x Last supported version: 0.5.0
macOS-64 Last supported version: 0.5.1