This package browser is in early development. Mind the rough edges.

python-ml-dtypes

NumPy dtype extensions used in machine learning

This package 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:

    • float8_e4m3b11fnuz

    • float8_e4m3fn

    • float8_e4m3fnuz

    • float8_e5m2

    • float8_e5m2fnuz

  • int4 and uint4: low precision integer types.

Installation

Install the latest version of python-ml-dtypes as follows:

guix install python-ml-dtypes

Or install a particular version:

guix install python-ml-dtypes@0.2.0

You can also install packages in augmented, pure or containerized environments for development or simply to try them out without polluting your user profile. See the guix shell documentation for more information.

Badge code

You can use the following badge to inform users of python-ml-dtypes about the latest version available in Guix.

Example HTML:

<a href='https://packages.guix.gnu.org/packages/python-ml-dtypes'><img src='https://packages.guix.gnu.org/packages/python-ml-dtypes/badges/latest-version.svg' alt='Version in GNU Guix'></a>

Example Markdown:

[![Version in GNU Guix](https://packages.guix.gnu.org/packages/python-ml-dtypes/badges/latest-version.svg)](https://packages.guix.gnu.org/packages/python-ml-dtypes)

Example Org:

[[https://packages.guix.gnu.org/packages/python-ml-dtypes][https://packages.guix.gnu.org/packages/python-ml-dtypes/badges/latest-version.svg]]