int4 uint2 uint4 See below for specifications of these number formats. Installation Theml_dtypespackage is tested with Python versions 3.9-3.12, and can be installed with the following command: pip install ml_dtypes To test your installation, you can run the following: ...
48 49 class float8_e4m3fnuz; @@ -244,6 +245,20 @@ template <typename T> 244 245 using RequiresIsDerivedFromFloat8Base = 245 246 std::enable_if_t<std::is_base_of_v<float8_base<T>, T>, int>; 246 247 248 + class float8_e3m4 : public float8_base<float8_e3m4> {...
#include "ml_dtypes/include/intn.h" #include "ml_dtypes/include/mxfloat.h" namespace ml_dtypes { 8 changes: 4 additions & 4 deletions 8 ml_dtypes/_src/intn_numpy.h Original file line numberDiff line numberDiff line change @@ -21,13 +21,13 @@ limitations under the License. //...
Added support for int4 casting to wider integers such as int8 ChromeHeartsauthored and The ml_dtypes AuthorscommittedSep 23, 2023 · 13 / 14 bbeedd4 Commits on Sep 19, 2023 Bump version to v0.3.0 jakevdpcommittedSep 20, 2023 · 14 / 15 bdb0204 Commits on Sep 18, 2023 Drop suppo...