diff options
| author | Cayetano Santos <csantosb@inventati.org> | 2025-11-01 10:38:51 +0100 |
|---|---|---|
| committer | Romain GARBAGE <romain.garbage@inria.fr> | 2025-11-04 11:26:43 +0100 |
| commit | 000168a3be0b4ebfdc53e8a33912e363fefad92f (patch) | |
| tree | d50ad00c17d4fbe6c853f8dda22d2525750fad85 | |
| parent | 8b790b4fa62835034508c91d686730b658c365ce (diff) | |
python: python-ml-dtypes: Remove.
We have the same (updated) package in Guix.
* guix-science/packages/python.scm (python-ml-dtypes): Delete variable.
Signed-off-by: Romain GARBAGE <romain.garbage@inria.fr>
| -rw-r--r-- | guix-science/packages/python.scm | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/guix-science/packages/python.scm b/guix-science/packages/python.scm index 641715c..c0d6b57 100644 --- a/guix-science/packages/python.scm +++ b/guix-science/packages/python.scm | |||
| @@ -430,59 +430,6 @@ technologies basecaller.") | |||
| 430 | pure Python.") | 430 | pure Python.") |
| 431 | (license license:mpl2.0))) | 431 | (license license:mpl2.0))) |
| 432 | 432 | ||
| 433 | (define-public python-ml-dtypes | ||
| 434 | (package | ||
| 435 | (name "python-ml-dtypes") | ||
| 436 | (version "0.3.1") | ||
| 437 | (source | ||
| 438 | (origin | ||
| 439 | (method url-fetch) | ||
| 440 | (uri (pypi-uri "ml_dtypes" version)) | ||
| 441 | (sha256 | ||
| 442 | (base32 "04f61zkizfgmf2pqlsdgskj1r1gg6l5j1nj2p8v4yk2b36cqyxv0")) | ||
| 443 | (modules '((guix build utils))) | ||
| 444 | (snippet | ||
| 445 | ;; Do not use bundled eigen. | ||
| 446 | '(delete-file-recursively "third_party/eigen")))) | ||
| 447 | (build-system pyproject-build-system) | ||
| 448 | (arguments | ||
| 449 | (list | ||
| 450 | #:tests? #false ;there are none | ||
| 451 | #:phases | ||
| 452 | #~(modify-phases %standard-phases | ||
| 453 | (add-after 'unpack 'use-eigen-package | ||
| 454 | (lambda _ | ||
| 455 | (substitute* "setup.py" | ||
| 456 | (("third_party/eigen") | ||
| 457 | (string-append | ||
| 458 | #$(this-package-input "eigen-for-python-ml-dtypes") | ||
| 459 | "/include/eigen3")))))))) | ||
| 460 | (inputs (list eigen-for-python-ml-dtypes)) | ||
| 461 | (propagated-inputs (list python-numpy)) | ||
| 462 | (native-inputs (list pybind11 python-absl-py python-pylint | ||
| 463 | python-pytest python-pytest-xdist | ||
| 464 | python-setuptools)) | ||
| 465 | (home-page "https://github.com/jax-ml/ml_dtypes") | ||
| 466 | (synopsis "NumPy dtype extensions used in machine learning") | ||
| 467 | (description "This package is a stand-alone implementation of several | ||
| 468 | NumPy @code{dtype} extensions used in machine learning libraries, including: | ||
| 469 | |||
| 470 | @itemize | ||
| 471 | @item @code{bfloat16}: an alternative to the standard @code{float16} format | ||
| 472 | @item @code{float8_*}: several experimental 8-bit floating point | ||
| 473 | representations including: | ||
| 474 | @itemize | ||
| 475 | @item @code{float8_e4m3b11fnuz} | ||
| 476 | @item @code{float8_e4m3fn} | ||
| 477 | @item @code{float8_e4m3fnuz} | ||
| 478 | @item @code{float8_e5m2} | ||
| 479 | @item @code{float8_e5m2fnuz} | ||
| 480 | @end itemize | ||
| 481 | @item @code{int4} and @code{uint4}: low precision integer types. | ||
| 482 | @end itemize | ||
| 483 | ") | ||
| 484 | (license license:asl2.0))) | ||
| 485 | |||
| 486 | (define jaxlib-system-libs | 433 | (define jaxlib-system-libs |
| 487 | (list | 434 | (list |
| 488 | "absl_py" | 435 | "absl_py" |
